[DragonFlyBSD - Bug #2959] Duplicate packets on network interface running v4.6.1.1.g6e9a0-RELEASE

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Oct 20 02:03:20 PDT 2016


Issue #2959 has been updated by stateless.


Hi,

I have not checked the sysctl knob yet as I am not at home.  I will check it later tonight and report back.

tcpdump on bnx0 on dfly:

49.514650 00:30:18:c8:6b:0d > 34:64:a9:9a:5f:1c, ethertype IPv4 (0x0800), length 98: 10.0.0.6 > 10.0.2.2: ICMP echo request, id 60725, seq 257, length 64
49.514677 34:64:a9:9a:5f:1c > 00:30:18:c8:6b:0d, ethertype IPv4 (0x0800), length 98: 10.0.2.2 > 10.0.0.6: ICMP echo reply, id 60725, seq 257, length 64
49.514678 34:64:a9:9a:5f:1c > 00:30:18:c8:6b:0d, ethertype IPv4 (0x0800), length 98: 10.0.2.2 > 10.0.0.6: ICMP echo reply, id 60725, seq 257, length 64

34:64:a9:9a:5f:1c is the mac address of bnx0 on dfly. 00:30:18:c8:6b:0d is the mac address of the em2 interface on the router.

tcpdump on bnx1 on dfly:

46.085638 50:7b:9d:8e:d8:0c > 00:30:18:c8:6b:0b, ethertype IPv4 (0x0800), length 98: 10.0.0.6 > 10.0.2.2: ICMP echo request, id 38896, seq 4, length 64
46.085775 00:30:18:c8:6b:0b > 50:7b:9d:8e:d8:0c, ethertype IPv4 (0x0800), length 98: 10.0.2.2 > 10.0.0.6: ICMP echo reply, id 38896, seq 4, length 64
46.085935 00:30:18:c8:6b:0b > 50:7b:9d:8e:d8:0c, ethertype IPv4 (0x0800), length 98: 10.0.2.2 > 10.0.0.6: ICMP echo reply, id 38896, seq 4, length 64

50:7b:9d:8e:d8:0c is the mac address of my laptop and 00:30:18:c8:6b:0b is the mac address of the em1 interface on the router.


----------------------------------------
Bug #2959: Duplicate packets on network interface running v4.6.1.1.g6e9a0-RELEASE
http://bugs.dragonflybsd.org/issues/2959#change-13007

* Author: stateless
* Status: New
* Priority: Normal
* Assignee: 
* Category: Networking
* Target version: 
----------------------------------------
Hi,

I have an OpenBSD router and a DragonFly BSD machine.

The router configuration is as follows:

em1 is the first LAN interface.
em2 is the second LAN interface.
em7 is the span port.
bridge0 contains em1 and em7.

The DragonFly BSD machine is configured as follows:

bnx0 connects to em2 directly and uses DHCP to get an address.  This is how I communicate with the machine.
bnx1 connects to em7, the span port, and it is configured as -arp promisc up (no ip address on the interface).

Now I connect my laptop to em1 on my router.  I ping the DragonFly BSD box on the address that is assigned on bnx0.
Two ICMP echo requests arrive on the DragonFly BSD box, one on bnx0 and one on bnx1.  This is expected.
However, I also get _two_ ICMP echo replies back from bnx0.  This doesn't seem correct.

I tried Linux and OpenBSD in place of the DragonFly BSD box and they do not behave like this.  They send only one
ICMP echo reply.

Is anything I am missing?



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list