From: Ciaran Deignan (ciaran.deignan_at_netcelo.com)
Date: Wed Nov 07 2001 - 07:52:23 EST
> Can't you do what you want by simply using two default routes? Then the
> reply packets should be sent out whichever interface they came in on
> (routed by virtue of their source IP address).
while you can define two routes to any destination, the networking
stack only ever takes the first one it finds.
I've never found any feature to route according to the source IP
address, and I've looked. I did read the advanced-routing how-to,
but the answer isn't there.
I don't think iptables/netfilter is the place to do this, since
they "just" do filtering. The packet still gets handed to the
nomal routing infrastructure. I've never identified the
person/group leading the basic IP implementation...
Oh well,
Ciaran
-- +-----------------------------------------------------------------------+ Ciaran Deignan Tel: (France) 04 38 49 87 27 NetCelo, Managed Internet VPN http://www.netcelo.com/mailto: Ciaran.Deignan_at_netcelo.com +-----------------------------------------------------------------------+
This archive was generated by hypermail 2.1.4 : Mon Aug 19 2002 - 12:01:00 EDT