According to http://www.shorewall.net/MultiISP.html, section "What an
entry in the Providers File Does":

"1. Unless loose is specified, an ip rule is generated for each IP
address on the INTERFACE that routes traffic from that address through
the associated routing table."

It works like that in case of using shell compiler, but perl compiler
does not do that - I need to add appropriate rules manually to
route_rules.

Example:

with the following IP assignment:

ISP1 - eth0 - 1.1.1.2
ISP1 - eth0:1 - 1.1.1.3

ISP2 - eth1 - 2.2.2.1
ISP2 - eth1:1 - 2.2.2.2
ISP2 - eth1:2 - 2.2.2.3

shell compiler would create the following route rules:

20000:  from 1.1.1.2 lookup ISP1
20001:  from 1.1.1.3 lookup ISP1
20256:  from 2.2.2.1 lookup ISP2
20257:  from 2.2.2.2 lookup ISP2
20258:  from 2.2.2.3 lookup ISP2

But when using perl compiler those rules are missing.

Please fix it or update the documentation.

Regards.
-- 
Artur




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to