Chineseyes n00b
Joined: 22 Oct 2003 Posts: 49
|
Posted: Wed Nov 03, 2004 6:52 pm Post subject: ARP flux iproute2 |
|
|
hello I have two nics hooked up to my machine on the same subnet and I want to make sure my routing table is acceptable
moo root # ip route
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.2
192.168.0.0/24 dev eth1 proto kernel scope link src 192.168.0.7
127.0.0.0/8 via 127.0.0.1 dev lo scope link
default via 192.168.0.1 dev eth1
default via 192.168.0.1 dev eth0
accoring to what I know about ip route this should be acceptable as logn as you run these commands also
echo 1 > /proc/sys/net/ipv4/conf/eth1/arp_filter
echo 1 > /proc/sys/net/ipv4/conf/eth0/arp_filter
echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter
sysctl -w net.ipv4.conf.all.arp_filter=1
sysctl -w net.ipv4.conf.all.arp_ignore=0
I would appreciate if someone could tell me if this is correct or if I am missing something as I am new to iproute and the whole use of arp flux |
|