Editing Talk:Multiple network interfaces and ARP flux

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 54: Line 54:
 
Paolo
 
Paolo
  
I've tried:
+
Goodmorning,
net.ipv4.conf.all.arp_filter=0
+
 
net.ipv4.conf.all.arp_ignore=1
+
I have a similar problem.
net.ipv4.conf.all.arp_announce=2
+
 
net.ipv4.conf.default.rp_filter=2
+
I have following architecture:
net.ipv4.conf.all.rp_filter=2
+
2 PC (PC A and PC B).
and it seems to work for me. Daryl Radivojevic
+
PC A has 2 Ethernet interfaces (A_eth0 and A_eth1).
 +
PC B has 2 Ethernet interfaces (B_eth0 and B_eth1).
 +
 
 +
A_eth0 is connected through a wire with B_eth0 (in the middle there is a Switch: SWT_0)
 +
A_eth1 is connected through a wire with B_eth1 (in the middle there is a Switch: SWT_1)
 +
 
 +
IP addresses used:
 +
A_eth0: 192.168.30.1
 +
A_eth1: 192.168.30.2
 +
B_eth0: 192.168.30.3
 +
B_eth1: 192.168.30.4
 +
 
 +
netmask: 255.255.255.0
 +
 
 +
SWT_0 and SWT_1 are 2 different switch (in order to realize a physical separation).
 +
 
 +
Operating system on both machine: LINUX UBUNTU 9.04
 +
 
 +
Aim of my test:
 +
- realize communication between A_eth0 and B_eth0
 +
- realize communication between A_eth1 and B_eth1
 +
- A_eth0 and B_eth1 HAVEN'T TO communicate
 +
- A_eth1 and B_eth0 HAVEN'T TO communicate
 +
Problem I have:
 +
- IF I remove wire connection between A_eth0 and B_eth0 THEN B_eth0 is achieved by PC A (passing through the wrong interface B_eth1)
 +
In this case a non-desired communication between A_eth0 and B_eth1 is established.
 +
- IF I remove wire connection between A_eth1 and B_eth1 THEN B_eth1 is achieved by PC A (passing through the wrong interface B_eth0)
 +
In this case a non-desired communication between A_eth1 and B_eth0 is established.
 +
 
 +
I have realized following steps on both machines:
 +
sysctl -w net.ipv4.conf.all.arp_filter=1
 +
sysctl -w net.ipv4.conf.all.arp_announce=2
 +
sysctl -w net.ipv4.conf.all.arp_ignore=1
 +
 
 +
/etc/init.d/networking restart
 +
 
 +
or
 +
sysctl -w net.ipv4.conf.all.arp_filter=0
 +
sysctl -w net.ipv4.conf.all.arp_announce=2
 +
sysctl -w net.ipv4.conf.all.arp_ignore=1
 +
 
 +
/etc/init.d/networking restart
 +
 
 +
In any cases the problem is not solved.
 +
 
 +
Thanks for your attention.
 +
Regards
 +
Paolo

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)