Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Apr 2023 08:42:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 270607] if_bridge: net.link.bridge.inherit_mac doesn't quite work
Message-ID:  <bug-270607-7501-QNyHOb8f0P@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-270607-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-270607-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270607

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

>> 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.=20


> You config in rc.conf
>> ifconfig_bridge0=3D"addm igb1 addm igb2 10.0.0.65 netmask 255.255.255.0 "

> is adding bridge members to an **existing** bridge bridge0.
The bridge0 has no members and igb1 is its first member and
net.link.bridge.inherit_mac should work.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270607-7501-QNyHOb8f0P>