>
> You need arp-filtering:
>
> # Set up arp-filter magic. This, with source-based
> routing allows us
> # to have multiple NICs on the same subnet, on the same
> machine, connected
> # to the same switch...
> if [ -f /proc/sys/net/ipv4/conf/all/arp_filter ];
> then
> echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter
> else
> echo "ERROR: kernel does not support arp_filter. Don't
> put more than"
> echo " one interface on the same subnet on the
> same machine."
> echo ""
> fi
>
I tried this, and now I'm getting only one ARP response. However, I get the
same MAC address for ARP broadcasts for either IP address. Does ARP
filtering turn off all but the first interface when processing ARP packets?
Can I get each interface to answer ARP packets only for its specific IP
address?
Thanks,
-ian
|