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)
Sun, Oct 26, 10:01 PM
Unknown Object (File)
Sat, Oct 25, 11:07 AM
Unknown Object (File)
Thu, Oct 23, 6:40 PM
Unknown Object (File)
Tue, Oct 21, 4:09 AM
Unknown Object (File)
Mon, Oct 20, 4:56 AM
Unknown Object (File)
Sat, Oct 11, 4:38 AM
Unknown Object (File)
Sat, Oct 11, 4:38 AM
Unknown Object (File)
Sat, Oct 11, 4:37 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.