[Bug 290141] if_bridge erroneously providing error
Date: Sat, 11 Oct 2025 06:32:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290141
Bug ID: 290141
Summary: if_bridge erroneously providing error
Product: Base System
Version: 15.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: pprocacci@gmail.com
Scenario here is:
Create a bridge without `vlanfilter'.
# ifconfig bridge1
bridge1: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric
0 mtu 1500
options=10<VLAN_HWTAGGING>
ether 58:9c:fc:10:df:aa
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
bridge flags=0<>
member: epair2a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
port 30 priority 128 path cost 2000 vlan protocol 802.1q
untagged 1843
member: epair1a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
port 14 priority 128 path cost 2000 vlan protocol 802.1q
groups: bridge
nd6 options=9<PERFORMNUD,IFDISABLED>
I added epair2a w/ `untagged 1843' to the bridge erroneously as shown above.
Went to remove the tag which yielded the following error:
# ifconfig bridge1 -ifuntagged epair2a 1843
ifconfig: ERROR: setting interface address without mask is no longer supported.
Though the tag removal was still successful:
# ifconfig bridge1
bridge1: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric
0 mtu 1500
options=10<VLAN_HWTAGGING>
ether 58:9c:fc:10:df:aa
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
bridge flags=0<>
member: epair2a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
port 30 priority 128 path cost 2000 vlan protocol 802.1q
member: epair1a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
port 14 priority 128 path cost 2000 vlan protocol 802.1q
groups: bridge
nd6 options=9<PERFORMNUD,IFDISABLED>
--
You are receiving this mail because:
You are the assignee for the bug.