linux bridges take the smallest mtu of their slave, so if you set the mtu on the nic, the bridge should automatically get this mtuyou need openvswitch for that (linux bridges don't support mtu > 1500).
I have the following bonded LACP setup.
auto bond2
iface bond2 inet static
address 172.16.4.252
netmask 24
bond-slaves enp130s0f0 enp130s0f1
bond-miimon 100
bond-mode 802.3ad
pre-up ip link set enp130s0f0 mtu 9000 && ip link set enp130s0f1 mtu 9000 && ip link set bond2 mtu 9000
#Backup Network
Setting the MTU per the above post does not work when I use pre-up but does work when I use post-up like below. Are there any issue doing it one way vs the other?
post-up ip link set enp130s0f0 mtu 9000 && ip link set enp130s0f1 mtu 9000 && ip link set bond2 mtu 9000
Thanks,
Eric
iface enp130s0f0 in manual
......
mtu 9000
iface bond2 inet static
....
mtu 9000
Hi,
I don't known why users want to use pre-up,postup....
you can simply use
Code:iface enp130s0f0 in manual ...... mtu 9000 iface bond2 inet static .... mtu 9000
...
iface eno1 inet manual
mtu 9000
auto vmbr0
iface vmbr0 inet static
mtu 9000
...
I second this.....I use the mtu 9000 after every interface and it works great.