[ILUG] Routing.

Martin Feeney martin at tuatha.org
Wed Jan 16 11:25:21 GMT 2002


On Tue, 15 Jan 2002 18:32:09 Dave Wilson wrote:

> I'm more familiar with cisco than linux routing, but: since the reply is
> actually a new IP packet, then regardless of its source address [a.b.c.1
> or
> d.e.f.1] it will be sent to the default route. I'm not aware of any way
> in
> Linux to route based on source address.

Turn on CONFIG_IP_ADVANCED_ROUTER in the kernel and install iproute2 if you
want to do source-based routing.

However, it shouldn't matter to the client that the reverse route is 
different(it doesn't under NT4, win2k and linux 2.4.17 anyway) as long as 
the replies come back in via the same interface (on the client) and from 
the address it's supposed to come from.

Is your firewall blocking packets from a.b.c.1 from going out via the 
d.e.f.x interface?

Get your firewall to log all packets it drops with a helpful log prefix and
see if that sheds some light on the situation.

Martin.




More information about the ILUG mailing list