ARP Flux

Written by Terrence Martin

Thursday, 29 June 2006
Dealing with linux ARP flux when running multiple ethernet interfaces on the same physical and logical network.

Linux has a feature where if you have multiple network interfaces on the same wire and on the same IP network that arp will always reply with the MAC address of the first interface, even though that interface is not assigned the IP.

For example if you had 4 interfaces with the following IP and netmasks

If you were to send data to IP address you would expect the data to go to the ethernet interface that has been assigned However in linux this does not happen by default. What happens by default is that interface with the IP address gives out its MAC address to all ARP queries for all of the IP addresses, not just its own. This cuts your actual bandwidth from 4x interface speed to 1x interface speed even though you have 4 interfaces.

Place the following in /etc/sysctl.conf to address this issue assing as many interfaces as you have.

# Deal with arp flux

-- BruceThayre - 2009/06/11

Topic revision: r1 - 2009/06/11 - 00:07:07 - BruceThayre
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback