[LARTC] 2 gateways - routing based in source address
Pablo Fernandes Yahoo
fernandes_pablo at yahoo.com.br
Tue May 29 18:47:01 CEST 2007
Hi,
First of all, thank you for your help.
And how can i put all the traffic comming from anywhere with destination
port 80 or 443 to go out by the gateway 192.168.1.254, while all the rest
going out by 192.168.0.254 ?
Im trying here different ways with ToS but it isn't working. Thank you for
any Tip.
Regards
>Hi Pablo,
>
>You have to configure your box linux similar to:
>
>ip rule add from 10.20.0.0/24 to 0.0.0.0/0 table 100
>ip route add default via 192.168.0.254 table 100
>
>ip rule add from 10.30.0.0/24 to 0.0.0.0/0 table 200
>ip route add default via 192.168.1.254 table 200
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ds9a.nl/pipermail/lartc/attachments/20070529/5fb58144/attachment.html
More information about the LARTC
mailing list