> I have two interfaces that share same subnet, I call eth0 184.108.40.206
> and eth1 220.127.116.11. I have forwarding turned on, proxy arp is not
> neighter are redirects.
> When I flush local neighbor table in other machine I use to observe the
> response and ping the router I get response like:
> 23:38:25.278848 > arp who-has 18.104.22.168 tell 22.214.171.124 (0:50:da:82:ae:9f)
> 23:38:25.278988 < arp reply 126.96.36.199 is-at 0:1:2:dc:d2:64 (0:50:da:82:ae:9f)
> 23:38:25.279009 < arp reply 188.8.131.52 is-at 0:1:2:dc:d2:6c (0:50:da:82:ae:9f)
> The second one is the valid one, but both interfaces seem to answer to the
> broadcasted packet with their own ARP addresses.
This is the default Linux behaviour. It can be turned off by running the
following command as root:
echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter
This ensures that interfaces will only respond to arp requests for IP addresses
which are configured as belonging to that particular interface.
-- Chris Friesen | MailStop: 043/33/F10 Nortel Networks | work: (613) 765-0557 3500 Carling Avenue | fax: (613) 765-2986 Nepean, ON K2H 8E9 Canada | email: firstname.lastname@example.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/