Comment 2 for bug 1979874

Revision history for this message
Mat Clarke (matclarke-clarkesnet) wrote :

I don't believe this is a DHCP issues as I have 3 other ubuntu 22.04 servers that use static IP's and if the parent interface of the bridge has a 9000 MTU then the 1500 MTU is ignored on the bridge. I've made the request changes and the output is below.

'network:
  version: 2
  renderer: networkd
  ethernets:
    enp2s0:
      optional: true
      mtu: 9000
      dhcp4: false
      dhcp6: false
    enp3s0:
      optional: true
      mtu: 9000
      dhcp4: false
      dhcp6: false
  bonds:
    bond0:
      interfaces: [enp2s0,enp3s0]
      dhcp4: false
      dhcp6: false
      mtu: 9000
      parameters:
        mode: 802.3ad
        lacp-rate: fast
        transmit-hash-policy: layer2
        mii-monitor-interval: 100
  vlans:
    vlan102:
      link-local: []
      accept-ra: no
      id: 102
      link: bond0
      mtu: 1500
    vlan114:
      link-local: []
      accept-ra: no
      id: 114
      link: bond0
      mtu: 9000
  bridges:
    bridge-lan:
      macaddress: 62:21:10:24:86:e7
      interfaces: [bond0]
      dhcp4: true
      dhcp6: true
      dhcp4-overrides:
        use-mtu: false
      dhcp6-overrides:
        use-mtu: false
      mtu: 1500
      parameters:
        stp: false
        forward-delay: 0
    bridge102:
      interfaces: [vlan102]
      mtu: 1500
      dhcp4: false
      dhcp6: false
      link-local: []
      accept-ra: no
      parameters:
        stp: false
    bridge114:
      interfaces: [vlan114]
      mtu: 9000
      dhcp4: true
      dhcp6: false
      link-local: []
      accept-ra: no
      parameters:
        stp: false'

'# ip a l bridge-lan
6: bridge-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP group default qlen 1000
    link/ether 62:21:10:24:86:e7 brd ff:ff:ff:ff:ff:ff
    inet 172.28.185.201/24 metric 100 brd 172.28.185.255 scope global dynamic bridge-lan
       valid_lft 7037sec preferred_lft 7037sec
    inet6 2a02:8010:6538:10:6021:10ff:fe24:86e7/64 scope global dynamic mngtmpaddr noprefixroute
       valid_lft 86235sec preferred_lft 14235sec
    inet6 fe80::6021:10ff:fe24:86e7/64 scope link
       valid_lft forever preferred_lft forever'