Hello, On Wed, 12 Dec 2001, Stephen wrote: > Here is one example of what I have been trying. Such order of rules and routes is not the recommended one. Use the links below to see how similar setups are handled, there are some rules you must follow. You can try them if you still don't prefer to use fwmarks. What is your preferred kernel? http://www.linuxvirtualserver.org/~julian/nano.txt http://www.linuxvirtualserver.org/~julian/#routes > ip rule add to privatenetwork pref 100 table eth0 > ip rule add from default dev eth2 pref 200 table eth2 > ip rule add from default dev ppp0 pref 500 table ppp0 > ip rule add from default dev eth1 pref 600 table eth1 > ip rule add from privatenetwork pref 5000 table eth0 > ip rule add from pppip pref 5001 table ppp0 > > ip route add to random_external_subnet via eth1gwip dev eth1 > ip route add default from privatenetwork dev eth2 table eth0 > ip route add to random_external_subnet via eth2gwip dev eth2 > ip route add to privatenetwork dev eth0 table eth0 > route add default dev ppp0 > ip route add default dev ppp0 table ppp0 > ip route add default dev eth0 table eth0 > ip route add default via eth1gwip dev eth1 table eth1 > ip route add default via eth2gwip dev eth2 table eth2 > ip route add from eth1ip via eth1gwip dev eth1 table eth1 > ip route add from eth1ip via eth2gwip dev eth2 table eth2 > > > Thanks > Stephen Regards -- Julian Anastasov <ja@xxxxxx>