Consider the following example config in
When issuing
Let's quickly verify that the MTU of the bridge and the interfaces is correct, though:
Okay, then let's remove the mtu setting from
That's unfortunate. Is that a bug in ifupdown2 that needs to be addressed?
/etc/network/interfaces
:
Code:
auto lo
iface lo inet loopback
auto mgmt0
iface mgmt0
auto mgmt1
iface mgmt1
auto north0
iface north0
mtu 9000
auto north1
iface north1
mtu 9000
auto bond0
iface bond0
bond-slaves north0 north1
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer3+4
bond-lacp-rate 1
mtu 9000
# Bridge for north interfaces
auto vmbr0
iface vmbr0
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 301
mtu 9000
When issuing
ifreload -a -s
(which runs a syntax check of /etc/network/interfaces
) I receive the following warning:
Code:
warning: vmbr0: bridge inherits mtu from its ports. There is no need to assign mtu on a bridge
Let's quickly verify that the MTU of the bridge and the interfaces is correct, though:
Code:
root@proxmox:~# ip a show dev bond0 | grep mtu
8: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 9000 qdisc noqueue master vmbr0 state UP group default qlen 1000
root@proxmox:~# ip a show dev vmbr0 | grep mtu
9: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP group default qlen 1000
Okay, then let's remove the mtu setting from
vmbr0
, run ifreload -a -s
again (this time without getting a warning) followed by ifreload -a
and see what happened:
Code:
root@proxmox:~# ip a show dev bond0 | grep mtu
8: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 9000 qdisc noqueue master vmbr0 state UP group default qlen 1000
root@proxmox:~# ip a show dev vmbr0 | grep mtu
9: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
That's unfortunate. Is that a bug in ifupdown2 that needs to be addressed?