[Bug 270607] if_bridge: net.link.bridge.inherit_mac doesn't quite work
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Apr 2023 08:42:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270607 --- 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. > 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. The bridge0 has no members and igb1 is its first member and net.link.bridge.inherit_mac should work. -- You are receiving this mail because: You are the assignee for the bug.