Page MenuHomeFreeBSD

bridge: Set member_ifaddrs=1 by default
ClosedPublic

Authored by ivy on Sep 2 2025, 10:05 AM.
Tags
None
Referenced Files
F165124159: D52336.id161365.diff
Thu, Aug 6, 6:28 AM
F165098731: D52336.id161530.diff
Thu, Aug 6, 12:52 AM
Unknown Object (File)
Wed, Aug 5, 12:52 PM
Unknown Object (File)
Wed, Aug 5, 2:20 AM
Unknown Object (File)
Thu, Jul 30, 12:09 PM
Unknown Object (File)
Tue, Jul 28, 11:35 AM
Unknown Object (File)
Sun, Jul 26, 10:24 AM
Unknown Object (File)
Sun, Jul 26, 6:53 AM

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.