I have a strange issue, that the mtu size of vlans are not set.
My /etc/network/interfaces:
output of ip link show:
Why is the mtu to
enp8s0f0.1111, enp8s0f0.1112, ens2f0.1113 and ens2f1.1114 not applied?
setting it manually with " ip link set dev vmbr1111 mtu 9000" works.
Br
cd
My /etc/network/interfaces:
Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
auto lo
iface lo inet loopback
auto ens3f0
iface ens3f0 inet static
address 10.99.99.61/24
up ip route add 10.99.99.62/32 dev ens3f0
down ip route del 10.99.99.62/32
#Coro link to sto2
auto ens3f1
iface ens3f1 inet static
address 10.99.99.61/24
up ip route add 10.99.99.63/32 dev ens3f1
down ip route del 10.99.99.63/32
#Coro link to sto3
auto ens4f0
iface ens4f0 inet manual
mtu 9000
#Storage link to sto2
auto ens4f1
iface ens4f1 inet manual
mtu 9000
#Storage link to sto2
auto ens4f2
iface ens4f2 inet manual
mtu 9000
#Storage link to sto3
auto ens4f3
iface ens4f3 inet manual
mtu 9000
#Storage link to sto3
auto enp8s0f0
iface enp8s0f0 inet manual
mtu 9000
#Uplink 1
auto enp8s0f1
iface enp8s0f1 inet manual
mtu 9000
#Uplink 2
auto ens2f0
iface ens2f0 inet manual
mtu 9000
#Uplink 3
auto ens2f1
iface ens2f1 inet manual
mtu 9000
#Uplink 4
auto enp8s0f0.1111
iface enp8s0f0.1111 inet manual
mtu 9000
#VLAN 1111 on Uplink1
auto enp8s0f1.1112
iface enp8s0f1.1112 inet manual
mtu 9000
#VLAN 1112 on Uplink2
auto ens2f0.1113
iface ens2f0.1113 inet manual
mtu 9000
#VLAN 1113 on Uplink3
auto ens2f1.1114
iface ens2f1.1114 inet manual
mtu 9000
#VLAN 1114 on Uplink4
auto bond1
iface bond1 inet static
address 10.88.88.61/24
bond-slaves ens4f0 ens4f1
bond-miimon 100
bond-mode balance-rr
mtu 9000
up ip route add 10.88.88.62/32 dev bond1
down ip route del 10.88.88.62/32
#Storage link to sto2
auto bond2
iface bond2 inet static
address 10.88.88.61/24
bond-slaves ens4f2 ens4f3
bond-miimon 100
bond-mode balance-rr
mtu 9000
up ip route add 10.88.88.63/32 dev bond2
down ip route del 10.88.88.63/32
#Storage link to sto3
auto bond0
iface bond0 inet manual
bond-slaves enp8s0f0 enp8s0f1 ens2f0 ens2f1
bond-miimon 100
bond-mode balance-tlb
mtu 9000
#Default Uplink Bond
auto vmbr1111
iface vmbr1111 inet manual
bridge-ports enp8s0f0.1111
bridge-stp off
bridge-fd 0
mtu 9000
#VLAN111 Bridge
auto vmbr1112
iface vmbr1112 inet manual
bridge-ports enp8s0f1.1112
bridge-stp off
bridge-fd 0
mtu 9000
#VLAN112 Bridge
auto vmbr1113
iface vmbr1113 inet manual
bridge-ports ens2f0.1113
bridge-stp off
bridge-fd 0
mtu 9000
#VLAN113 Bridge
auto vmbr1114
iface vmbr1114 inet manual
bridge-ports ens2f1.1114
bridge-stp off
bridge-fd 0
mtu 9000
#VLAN114 Bridge
auto vmbr0
iface vmbr0 inet manual
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
mtu 9000
#Default VM Bridge
auto vmbr0.1708
iface vmbr0.1708 inet static
address 10.17.8.61/24
gateway 10.17.8.1
#PVE Mgmt
output of ip link show:
Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens3f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:15:17:61:84:96 brd ff:ff:ff:ff:ff:ff
altname enp6s0f0
3: ens4f0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond1 state UP mode DEFAULT group default qlen 1000
link/ether 16:3b:48:e3:bf:88 brd ff:ff:ff:ff:ff:ff permaddr 00:19:99:9e:f9:a9
altname enp5s0f0
4: ens3f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:15:17:61:84:97 brd ff:ff:ff:ff:ff:ff
altname enp6s0f1
5: ens4f1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond1 state UP mode DEFAULT group default qlen 1000
link/ether 16:3b:48:e3:bf:88 brd ff:ff:ff:ff:ff:ff permaddr 00:19:99:9e:f9:aa
altname enp5s0f1
6: ens4f2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond2 state UP mode DEFAULT group default qlen 1000
link/ether 76:5b:75:c6:cd:45 brd ff:ff:ff:ff:ff:ff permaddr 00:19:99:9e:f9:ab
altname enp5s0f2
7: ens4f3: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond2 state UP mode DEFAULT group default qlen 1000
link/ether 76:5b:75:c6:cd:45 brd ff:ff:ff:ff:ff:ff permaddr 00:19:99:9e:f9:ac
altname enp5s0f3
8: ens2f0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond0 state UP mode DEFAULT group default qlen 1000
link/ether 90:e2:ba:5e:b7:aa brd ff:ff:ff:ff:ff:ff
altname enp7s0f0
9: ens2f1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond0 state UP mode DEFAULT group default qlen 1000
link/ether 90:e2:ba:5e:b7:ab brd ff:ff:ff:ff:ff:ff
altname enp7s0f1
10: enp8s0f0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond0 state UP mode DEFAULT group default qlen 1000
link/ether 92:15:1d:6e:09:62 brd ff:ff:ff:ff:ff:ff permaddr 00:19:99:83:ea:04
11: enp8s0f1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond0 state UP mode DEFAULT group default qlen 1000
link/ether 00:19:99:83:ea:05 brd ff:ff:ff:ff:ff:ff
25: veth100i0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue master fwbr100i0 state UP mode DEFAULT group default qlen 1000
link/ether fe:00:63:2d:a3:74 brd ff:ff:ff:ff:ff:ff link-netnsid 0
26: fwbr100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether da:44:a0:be:98:50 brd ff:ff:ff:ff:ff:ff
27: fwpr100p0@fwln100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 4e:f5:a9:37:95:96 brd ff:ff:ff:ff:ff:ff
28: fwln100i0@fwpr100p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue master fwbr100i0 state UP mode DEFAULT group default qlen 1000
link/ether 6a:c4:bf:76:83:56 brd ff:ff:ff:ff:ff:ff
289: veth102i0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue master fwbr102i0 state UP mode DEFAULT group default qlen 1000
link/ether fe:08:5d:ae:5f:5a brd ff:ff:ff:ff:ff:ff link-netnsid 1
290: fwbr102i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether fe:e2:12:f9:5e:39 brd ff:ff:ff:ff:ff:ff
291: fwpr102p0@fwln102i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 46:b5:61:19:0c:1f brd ff:ff:ff:ff:ff:ff
292: fwln102i0@fwpr102p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue master fwbr102i0 state UP mode DEFAULT group default qlen 1000
link/ether 92:7b:10:2c:4e:50 brd ff:ff:ff:ff:ff:ff
566: bond1: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 16:3b:48:e3:bf:88 brd ff:ff:ff:ff:ff:ff
567: bond2: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 76:5b:75:c6:cd:45 brd ff:ff:ff:ff:ff:ff
568: enp8s0f0.1111@enp8s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr1111 state UP mode DEFAULT group default qlen 1000
link/ether 92:15:1d:6e:09:62 brd ff:ff:ff:ff:ff:ff
569: vmbr1111: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 00:19:99:83:ea:04 brd ff:ff:ff:ff:ff:ff
570: enp8s0f1.1112@enp8s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr1112 state UP mode DEFAULT group default qlen 1000
link/ether 92:15:1d:6e:09:62 brd ff:ff:ff:ff:ff:ff
571: vmbr1112: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 00:19:99:83:ea:05 brd ff:ff:ff:ff:ff:ff
572: ens2f0.1113@ens2f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr1113 state UP mode DEFAULT group default qlen 1000
link/ether 92:15:1d:6e:09:62 brd ff:ff:ff:ff:ff:ff
573: vmbr1113: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 90:e2:ba:5e:b7:aa brd ff:ff:ff:ff:ff:ff
574: ens2f1.1114@ens2f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr1114 state UP mode DEFAULT group default qlen 1000
link/ether 92:15:1d:6e:09:62 brd ff:ff:ff:ff:ff:ff
575: vmbr1114: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 90:e2:ba:5e:b7:ab brd ff:ff:ff:ff:ff:ff
576: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 9000 qdisc noqueue master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether 92:15:1d:6e:09:62 brd ff:ff:ff:ff:ff:ff
577: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 92:15:1d:6e:09:62 brd ff:ff:ff:ff:ff:ff
578: vmbr0.1708@vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 92:15:1d:6e:09:62 brd ff:ff:ff:ff:ff:ff
Why is the mtu to
enp8s0f0.1111, enp8s0f0.1112, ens2f0.1113 and ens2f1.1114 not applied?
setting it manually with " ip link set dev vmbr1111 mtu 9000" works.
Br
cd