"Randall W. Dean" wrote: > make this work, you need to use source routing. With this, it works like a > charm. > > So, for a concrete example: > > eth0 is 99.99.99.99 router 99.99.99.100 > eth1 is 199.199.199.199 router 199.199.199.200 > > My default route is set to 99.99.99.100 > > Install iproute2 > Edit /etc/iproute2/rt_tables and add a line like "200 other" > > ip rule add from 199.199.199.199 lookup other > ip route add default via 199.199.199.200 table other > > That's all it takes. A rule now exists to send out through eth1 any > packets that originate from 199.199.199.199 which is what any connection to > that interface will have for a response ip address. What I would be more interested in is a case where both NICs are on the same subnet. Would this work in that case as well? Chris -- Chris Friesen | MailStop: 043/33/F10 Nortel Networks | work: (613) 765-0557 3500 Carling Avenue | fax: (613) 765-2986 Nepean, ON K2H 8E9 Canada | email: cfriesen@nortelnetworks.com - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org