netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IP-Packets over wrong Ethernet device
@ 2014-06-20  8:05 "Conchúr Navid"
  2014-06-20  8:22 ` Aw: " "Conchúr Navid"
  0 siblings, 1 reply; 3+ messages in thread
From: "Conchúr Navid" @ 2014-06-20  8:05 UTC (permalink / raw)
  To: netdev

Hi,

I have a setup with two links between two devices. One link is used only for management and the second on is a lossy link which is used to send test data. The management link is in the network 192.168.1.x/24 and the second link (lossy) is in 192.168.200.x/24.

Now is see from time to time that data for the network 192.168.200.x/24 is so lossy that it is sent over the link which actually only should handle the data for 192.168.1.x/24. This behavior ruins my test results and I am unsure why it actually happens

Forwarding is not enabled

$ sysctl -a|grep forw
net.ipv4.conf.all.forwarding = 0
net.ipv4.conf.all.mc_forwarding = 0
net.ipv4.conf.default.forwarding = 0
net.ipv4.conf.default.mc_forwarding = 0
net.ipv4.conf.eth1.forwarding = 0
net.ipv4.conf.eth1.mc_forwarding = 0
net.ipv4.conf.eth2.forwarding = 0
net.ipv4.conf.eth2.mc_forwarding = 0
net.ipv4.conf.eth3.forwarding = 0
net.ipv4.conf.eth3.mc_forwarding = 0
net.ipv4.conf.eth4.forwarding = 0
net.ipv4.conf.eth4.mc_forwarding = 0
net.ipv4.conf.eth5.forwarding = 0
net.ipv4.conf.eth5.mc_forwarding = 0
net.ipv4.conf.lo.forwarding = 0
net.ipv4.conf.lo.mc_forwarding = 0
net.ipv4.conf.wlan2.forwarding = 0
net.ipv4.conf.wlan2.mc_forwarding = 0
net.ipv4.ip_forward = 0
net.ipv6.conf.all.forwarding = 0
net.ipv6.conf.all.mc_forwarding = 0
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.default.mc_forwarding = 0
net.ipv6.conf.eth1.forwarding = 0
net.ipv6.conf.eth1.mc_forwarding = 0
net.ipv6.conf.eth2.forwarding = 0
net.ipv6.conf.eth2.mc_forwarding = 0
net.ipv6.conf.eth3.forwarding = 0
net.ipv6.conf.eth3.mc_forwarding = 0
net.ipv6.conf.eth4.forwarding = 0
net.ipv6.conf.eth4.mc_forwarding = 0
net.ipv6.conf.eth5.forwarding = 0
net.ipv6.conf.eth5.mc_forwarding = 0
net.ipv6.conf.lo.forwarding = 0
net.ipv6.conf.lo.mc_forwarding = 0
net.ipv6.conf.wlan2.forwarding = 0
net.ipv6.conf.wlan2.mc_forwarding = 0


Does anyone has an idea why this can be happening in Linux?

And I've verified that the data is really going incorrectly through the ethernet device of the 192.168.1.x/24 network (management) by capturing tcpdump data on it. The sender of the data then also has the wrong mac address in the ARP table for some time (for unknown reasons). Instead of the mac address of the 192.168.200.x/24 ethernet device, it has the mac address of the 192.168.200.x/24. It will switch back later to the correct MAC of the 192.168.200.x/24 network and sending works correctly again as expected.

A dump on the management network ethernet interface (192.168.1.x/24) shows me that there was really an ARP request of the sender for 192.168.200.x/24 on this interface which was replied by the receiver on that interface. Is there a way to disable this reply on the "wrong" interface without using ARP-tables?

Thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-03  5:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-20  8:05 IP-Packets over wrong Ethernet device "Conchúr Navid"
2014-06-20  8:22 ` Aw: " "Conchúr Navid"
2014-07-03  5:39   ` zhuyj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).