| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

LinuxMultipleNIC

Page history last edited by PBworks 17 years, 10 months ago

Multiple Interfaces on Same Ethernet Broadcast Network

 

Due to the default ARP behavior on Linux, it is not possible to have one system on two IP networks in the same Ethernet broadcast domain (non-partitioned switch) behave as expected. All Ethernet interfaces will respond to IP traffic for any IP address assigned to the system.

 

This results in unbalanced receive traffic.

 

If you have multiple interfaces in a server, and if your kernel's version is higher than 2.4.5, turn on ARP filtering by entering:

 

echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter

 

This setting is not saved across reboots. The configuration change can be made permanent by adding this line to the file /etc/sysctl.conf:

 

net.ipv4.conf.all.arp_filter = 1

 

Of course you may also install the interfaces in separate broadcast domains (either in different switches or in a switch partitioned to VLANs).

Comments (0)

You don't have permission to comment on this page.