'no ip route cache' linux equivalent (ignore: wrong forum)
Is there a linux equivalent to cisco's 'no ip route cache' command?
I think I need this because I use sourcerouting with multiple default gateways.
I use the following config:
ip rule add from 22.214.171.124 table 1
ip route add 126.96.36.199 via 188.8.131.52 dev eth2
ip route add 184.108.40.206 via 220.127.116.11 dev eth2
ip route add default via 18.104.22.168 dev eth1
ip route add default via 22.214.171.124 table 1 dev eth0
remark: 126.96.36.199 and 188.8.131.52 belong to the same multihomed machine.
This works: I can ping & use tcp sessions to both ipnumbers. However, sometimes tcpdump sees packages sent using the wrong interface.
I think this is caused by the ip route cache for machines on the internet connecting to both ipnumbers. If this is the case, I'd like to turn it off. It might be a bug in tcpdump or libpcap aswell.
Your comments are welcome.
Last edited by gondo; 10-02-2008 at 04:04 PM.
Reason: wrong forum