Setup one as the default route You will need iproute2 installed Setup a source based rule for the other interface Set the default route in the table pointed to by the rule to use the other interface. I posted an example to this list about 2 weeks ago when the same question was asked. -rwd At 10:31 AM 11/2/00 -0500, Allan McIntosh wrote: >Hey, > Does anyone know if it is possible to have 2 default routes based >on the interface a packet comes in on. Ie: > >Any traffic coming in on eth0 be sent out eth1 and >Any traffic comming in from eth1 be routed out eth0? > >Thanks > >Allan > > >- >: send the line "unsubscribe linux-net" in >the body of a message to majordomo@vger.kernel.org Randall W Dean Director, System Software Mercury Computer Systems 199 Riverneck Road Chelmsford, MA 01824 (978) 256 0052 x1493 FAX: (978) 256 5205 - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org