[Bug 287163] if_bridge: network problems under load

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 31 May 2025 21:34:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287163

punkt.de Hosting Team <mops@punkt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mops@punkt.de

--- Comment #7 from punkt.de Hosting Team <mops@punkt.de> ---
(In reply to Martin Birgmeier from comment #6)

This setup is just to prepare for attaching bhyve tapX devices, to get bridged
networking with bhyve. They are created and destroyed dynamically when bhyve
clients are run.

---

Yes, but at the current state of the network subsystem and if_bridge(4) in
particular the operator is expected to create all interfaces and bridges in
advance and the dynamically attach VMs or jails to these.

Dynamically creating bridge interfaces was never supported if either

- the bridge member interface providing the connectivity to the outside world
had an IP address configured
- the bridge member interface had any VLANs configured with it as the parent

I see that Lexi is investing a lot of work into reworking this part of the
stack. And I am curious where this will lead. Great work!

I am merely stating that in FreeBSD 13 and 14 the known and documented state
is:

- a bridge member must not have an IP address
- a bridge member must not be a parent to any VLAN interfaces

So technically speaking there is no bug here. Just a misconfiguration.

Kind regards,
Patrick

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