Page MenuHomeFreeBSD

bridge: Set member_ifaddrs=1 by default
ClosedPublic

Authored by ivy on Sep 2 2025, 10:05 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 22, 6:50 PM
Unknown Object (File)
Thu, May 14, 7:46 PM
Unknown Object (File)
Thu, May 14, 9:30 AM
Unknown Object (File)
Thu, May 14, 1:45 AM
Unknown Object (File)
Thu, May 14, 1:45 AM
Unknown Object (File)
Wed, May 13, 8:41 PM
Unknown Object (File)
Mon, May 11, 11:32 AM
Unknown Object (File)
Apr 17 2026, 6:33 PM

Details

Summary

We aren't ready to release with this set to 0: there's no solution for
running DHCP on a bridge from a devd hook, there are missing edge cases
like network boot with the boot interface in a bridge, and third-party
tools (e.g., vm-bhyve) still direct users to use the incorrect
configuration and/or don't support the correct configuration.

Keep the default value as 0 in main, but set it to 1 for stable/15 so
users and developers have advance warning to migrate.

This is a direct commit to stable/15.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ivy requested review of this revision.Sep 2 2025, 10:05 AM

Please commit this to main, it’s not appropriate to leave that broken

markj added a subscriber: markj.

Please commit this to main, it’s not appropriate to leave that broken

I tend to agree. Even on main this change is pretty disruptive. For now I just set this sysctl manually since it's not very easy to work around some of the fallout related to DHCP.

This revision is now accepted and ready to land.Sep 2 2025, 4:56 PM

based on feedback, i will land this in main unless anyone objects. however, it depends on D52335 which no one has reviewed yet.

This revision was automatically updated to reflect the committed changes.