[Bug 270607] if_bridge: net.link.bridge.inherit_mac doesn't quite work

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Apr 2023 06:51:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270607

Zhenlei Huang <zlei@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zlei@FreeBSD.org

--- Comment #3 from Zhenlei Huang <zlei@FreeBSD.org> ---
(In reply to Bob Bishop from comment #0)
I think that is expected behavior as per if_bridge(4):

> If sysctl(8) node net.link.bridge.inherit_mac has a non-zero value, the
>     **newly** created bridge will inherit the MAC address from its first member
>     instead of choosing a random link-level address. 

You config in rc.conf
> ifconfig_bridge0="addm igb1 addm igb2 10.0.0.65 netmask 255.255.255.0 "
is adding bridge members to an **existing** bridge bridge0.

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