Hey there,
after testing the behavior a bit, there are probably two bugs I noticed.
One "bug" is resolved with an
1. A ovs_bonds Interface have the mtu of 1500 - despite setting it to 9000 (ovs_mtu 9000).
Both bonding devices have a set MTU of 9000 and are properly set after a reboot.
Expected behavior:
bond0 should have an MTU of 9000 right after booting up.
2. One ovs vlan port (vlan099) has a set mtu of 9000.
Several other ovs vlan ports are having an mtu of 9000 except of a few, despite of the actual default of 1500.
Expected behavior:
Every ovs vlan port (except with a set mtu) should have a MTU of 1500.
Using
The second bug is different though. After that every single ovs vlan port is set to MTU 9000.
This is ok - since they all use vmbr9, which is set to MTU 9000 too, but then the default of 1500 is not consistent.
Greetings
Alex
edit: Testing system is pve-manager/7.1-10/6ddebafe - it is nearly completely up2date. The bugs should be in ifconfig2 or ovs or some Proxmox script.
after testing the behavior a bit, there are probably two bugs I noticed.
One "bug" is resolved with an
ifreload
or with ifup -a
.1. A ovs_bonds Interface have the mtu of 1500 - despite setting it to 9000 (ovs_mtu 9000).
netstat -i
(only bond0 and vmbr9)
Code:
Kernel Interface table
Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
bond0 1500 0 0 0 0 8 0 0 0 BMRU
[…]
vmbr9 9000 261 0 0 0 8 0 0 0 BMRU
Both bonding devices have a set MTU of 9000 and are properly set after a reboot.
/etc/network/interfaces
(only bond0)
Code:
auto bond0
iface bond0 inet manual
ovs_bonds enp194s0 enp197s0f1
ovs_type OVSBond
ovs_bridge vmbr9
ovs_mtu 9000
ovs_options vlan_mode=native-untagged tag=999 bond_mode=active-backup
Expected behavior:
bond0 should have an MTU of 9000 right after booting up.
2. One ovs vlan port (vlan099) has a set mtu of 9000.
Several other ovs vlan ports are having an mtu of 9000 except of a few, despite of the actual default of 1500.
netstat -i
(only vlans)
Code:
Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
vlan010_ 9000 3950 0 0 0 5706 0 0 0 BMRU
[… all with MTU 9000 …]
vlan099_ 9000 2 0 0 0 8 0 0 0 BMRU
vlan100_ 1500 25 0 0 0 8 0 0 0 BMRU
vlan101_ 1500 0 0 0 0 9 0 0 0 BMRU
vlan999_ 1500 15 0 0 0 9 0 0 0 BMRU
Expected behavior:
Every ovs vlan port (except with a set mtu) should have a MTU of 1500.
Using
ifup -a
resolves the first bug, bond0 is set up with a MTU of 9000.The second bug is different though. After that every single ovs vlan port is set to MTU 9000.
This is ok - since they all use vmbr9, which is set to MTU 9000 too, but then the default of 1500 is not consistent.
Greetings
Alex
edit: Testing system is pve-manager/7.1-10/6ddebafe - it is nearly completely up2date. The bugs should be in ifconfig2 or ovs or some Proxmox script.
Last edited: