[Bug 292760] [bridge] MTU of bridge inteface limits MTU of bridge-based vlans in despite of vlanmtu flag

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Jan 2026 14:56:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292760

            Bug ID: 292760
           Summary: [bridge] MTU of bridge inteface limits MTU of
                    bridge-based vlans in despite of vlanmtu flag
           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: vova@zote.me

# uname -a
FreeBSD ha.sunrise 15.0-RELEASE FreeBSD 15.0-RELEASE
releng/15.0-n280995-7aedc8de6446 GENERIC amd64


  # ifconfig bridge1 create mtu 1500 up
  # ifconfig bridge1.1 create up
  # ifconfig bridge1.1
  bridge1.1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1496
        options=0
        ether 58:9c:fc:10:e2:e3
        groups: vlan
        vlan: 1 vlanproto: 802.1q vlanpcp: 0 parent interface: bridge1
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

notice MTU less then 1500 on VLAN interface

and I cannot raise it - 

  # ifconfig bridge1.1 mtu 1500
  ifconfig: ioctl SIOCSIFMTU (set mtu): Invalid argument

while on normal interface, it works differently:

  # ifconfig igb1 up mtu 1500 vlanmtu
  # ifconfig igb1.20 create
  # ifconfig igb1.20
  igb1.20: flags=1008842<BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0
mtu 1500
  #


also, probably, vlanmntu should be default on bridge

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