On Mon, 2004-04-26 at 22:17, Ian Melnick wrote: > Hello all, > And if I can't, how can I ensure that traffic coming in via one > interface leaves via that same interface, via its defined gateway? I need > to eliminate this issue where one interface ends up being dominant even > when it's on a completely different network.
You need iproute and something like - ip route add default via a_gate_way dev your_device table your_table ip rule add from nic_ip_address table your_table That should sort incoming connections. I use fw_marks and ip rules to select the routing table for outgoing connections then. -- Andrew Porter

