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.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!