[Bug 240106] VNET issue with ARP and routing sockets in jails

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 22 Mar 2023 09:44:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240106

--- Comment #29 from Zhenlei Huang <zlei@FreeBSD.org> ---
(In reply to kvs from comment #28)
I think your should open a separate PR, as you have different setup with that
of the original PR by John Westbrook. He has SR-IOV configured.

I managed to repeat with cxl / lagg / bridge / epair (vnet) on 13.2-RC3. Also
tried re / ue .

> tcpdump -i cc0:
> 10:00:17.981050 ARP, Request who-has 10.20.20.254 tell 10.20.20.77, length 42

> tcpdump -i cc1:
> 10:00:17.981041 ARP, Request who-has 10.20.20.254 tell 10.20.20.77, length 28
> 10:00:17.981282 ARP, Reply 10.20.20.254 is-at 02:11:22:33:44:55 (oui Unknown), length 46

You might want to tcpdump on cc0 with `--direction=in` to filter ARP request
send out from cc1 and then come back to cc0 (the switch forwarded it).

The IF_BRIDGE(4) seems to hide some thing to protect itself get confused.

If you can confirm, then please config you switch properly. The two ports cc0
and cc1 connected should be in same link aggregation group.

I'll see if I can teach IF_BRIDGE(4) to emit warnings in case it get ARP
request packet sent from it self.

-- 
You are receiving this mail because:
You are the assignee for the bug.