Look through http://www.lartc.org for source based routing. As long as the two interfaces have different IP addresses you can do it... Hope this helps, On Mon, Mar 21, 2005 at 07:57:34AM -0800, Steve Iribarne wrote: > Hello All. > > I have two interface to the external world. eth0 and eth1. > > eth0 and eth1 are on different subnets. > > Both interfaces go out to the world. > > I only advertise ssh, snmp and ftp services out eth1. > > I have "other" network traffic coming in eth0. > > My question is, how do I get the default route "stuff" to work correctly > for both interfaces? > > For example: > > ------------------------ > Telnet Client ------ router A --- | my eth1 interface > | > | > Socket Client ------ router B --- | my eth0 interface > --------------------------- > > > Any help would be much appreciated. > > -stv > > > - > : send the line "unsubscribe linux-net" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Martijn van Oosterhout <kleptog@xxxxxxxxx> http://svana.org/kleptog/ > Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a > tool for doing 5% of the work and then sitting around waiting for someone > else to do the other 95% so you can sue them.
Attachment:
pgpZoMBaA8y1c.pgp
Description: PGP signature