[Bug 270478] Duplicated ARP reply sent from if_bridge member

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Mar 2023 12:51:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270478

--- Comment #2 from Zhenlei Huang <zlei@FreeBSD.org> ---
(In reply to Mina Galić from comment #1)
> this setup seems odd.
A short text diagram should show that clear.

                          +-----------------------+
   +---------+            | +---------+           |
   |         |            | |         |           |
   | epair0a -------------| | epair0b |  bridge0  |
   |         |            | |         |           |
   +---------+            | +---------+           |
  192.168.2.1/24          +-----------------------+
                                192.168.2.2/24     


> why is `ifconfig $epa inet 192.168.2.1/24` necessary?

$epa is in host side, assign a ip address to trigger a ARP request.

> only the bridge should need an IP, and i don't see that assignment

The bridge and $epb is in jail side.

> jexec $j ifconfig $b addm $epb
> jexec $j ifconfig $epb up
> jexec $j ifconfig $b inet 192.168.2.2/24

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