[clug] A Routing problem

Stephen Hodgman steve at namsys.com.au
Wed Oct 20 09:38:52 GMT 2004

I have a question regarding routing.  I have a linux system with three 
interfaces say eth0, eth1 & eth2

On eth0 is network (say)
I want traffic entering eth1, destined for to be routed 
to eth0 - always
I want traffic entering from eth2 destined for to be 
routed to eth2 - always
The reason is that there is a route either way but I only want one 
device to route directly.

Can this be done?  It seems to require routing tables based on source 
I would appreciate knowing how this can be done.

Steve Hodgman
Ph: +61 2 6285 3460
Fax: +61 2 6285 3459
Mobile:	+61 407 182 355
steve at namsys.com.au
This message and its attachments contain confidential information and may also contain legally privileged information. This message is intended solely for the named addressee. If you are not the addressee indicated in this message or have received this message in error, you may not copy or deliver any part of this message or its attachments to anyone or use any part of this message or its attachments. Instead, you should permanently delete this message and its attachments (and all copies) from your system and kindly notify the sender by reply e-mail. Any content of this message and its attachments that does not relate to the official business of Namadgi Systems must be taken not to have been sent or endorsed by the company or its management.

More information about the linux mailing list