Marcelo Leão Caffaro wrote:> Hi, i trying to use a new two isp provider funcionality in shorewall but
> i have someone questions:
>
> I have the following scenario:
>
> 200.200.200.1 - eth0 (ISP1)
> 200.200.210.1 - eth1 (ISP2)
> 192.168.0.1 - eth2 (LAN)
> 192.168.10.1 - eth3 (DMZ)
>
> I need the traffic in lan machine use the gateway ISP1 and the dmz
> machines use the gateway ISP2.
>
> My providers file is:
>
>
############################################################################################
>
> #NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY
> OPTIONS COPY
> ISP1 1 1 main eth0 200.200.200.1
> track,balance eth0
> ISP2 2 2 main eth1 200.200.210.1
> track,balance eth1
> #LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE
>
> Is this wrong?
Think what you want, might look like this:
ISP1 1 1 main eth0 200.200.200.1
track,balance eth2
ISP2 2 2 main eth1 200.200.210.1
track,balance eth3
Note: the "copy column" has the interfaces that would have access the
provider''s advanced routing table.
To have a look at each provider''s advanced routing table use this:
ip route ls table <ISP>
replace <ISP> with the correct table from the first column of the
providers file.
ie, for you try:
ip route ls table ISP1
ip route ls table ISP2
>
> tks
>
> Marcelo
>
Good luck,
Jerry
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642