Hasty Briefsbeta

Bilingual

Using New Bridges of FreeBSD 15

2 days ago
  • #FreeBSD
  • #Networking
  • #VLAN
  • FreeBSD 15 introduces a new bridging implementation with native VLAN support.
  • The new bridging behaves like a hardware switch by soft-deprecating layer 3 addresses on member interfaces.
  • A sysctl, net.link.bridge.member_ifaddrs, controls this behavior and will be removed in FreeBSD 16.0-RELEASE.
  • The new implementation optimizes packet processing and allows a single bridge for all VLANs, improving performance.
  • Old bridging required separate bridges for each VLAN, leading to messy configurations.
  • New bridging simplifies VLAN management by allowing tagged and untagged VLANs on a single bridge.
  • VNET jails previously relied on an unofficial script (jib) for epair device creation, which is now outdated.
  • A new script was created to handle stable epair device names and VLAN tagging for VNET jails.
  • Bhyve VMs currently lack native support for the new bridging, requiring manual tap interface management.
  • Future updates may provide better solutions for Bhyve VM networking with the new bridging.