search for: table_eth1

Displaying 1 result from an estimated 1 matches for "table_eth1".

2006 Apr 08
4
source routing does not work with extra ip addresses
...3 aa:bb:cc:dd:ee:ff pub ip route add 1.2.3.3 via 10.0.0.2 iptables -t nat -A PREROUTING -i eth1 -d 1.2.3.3 -j DNAT --to 10.0.0.2 When pinging 1.2.3.3, the packets get in through eth1 (ok), but the replies are following the default route through eth0 (wrong) Even a ip rule add from 1.2.3.3 lookup table_eth1 doesn''t change this behaviour. It is working ok when I add the address 1.2.3.3 directly to eth1: ip a a 1.2.3.3 dev eth1 Why is this? R. -- ___________________________________________________________________ It is better to remain silent and be thought a fool, than to speak aloud and...