Update data plane MTUs manually

In a deployment that has a data plane with a VLAN network over a Linux bond, you can manually update the maximum transmission unit (MTU) of the interfaces, for example to add 8 extra units for encapsulation overhead.

Procedure

  1. Find the Linux Bridge:
    # bridge link show
    
    7: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 9000 master br-compute state forwarding priority 32 cost 100 
  2. Show the bond interfaces. :
    # ip link show master <bond0>
    
    3: enp2s0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9008 qdisc fq_codel master bond0 state UP mode DEFAULT group default qlen 1000
        link/ether 52:54:00:49:29:bb brd ff:ff:ff:ff:ff:ff
    6: enp5s0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc fq_codel master bond0 state UP mode DEFAULT group default qlen 1000
        link/ether 52:54:00:49:29:bb brd ff:ff:ff:ff:ff:ff permaddr 52:54:00:7d:6c:a4
    
    Replace <bond0> with the name of the bond from the previous step.
  3. Ensure that you manually update the MTU of the interfaces in the following order:
    1. Bond interfaces.
    2. Linux Bridge bond.
    3. VLAN interface on top of the Linux Bridge.
    
    # ip link set dev <enp2s0> mtu 9008
    # ip link set dev <enp5s0> mtu 9008
    # ip link set dev <bond0> mtu 9008 
    # ip link set dev <vlan1605> mtu 9008
    
    Replace <enp2s0>, <enp5s0>, <bond0>  with the values from the previous steps and replace <vlan1605> with the name of the VLAN interface for data plane.
  4. Repeat these steps on all the nodes that have a data plane interface, such as compute, controller, and network nodes. Increasing the MTU does not affect traffic.