Hello.
I've been trying to get up jumbo frames properly but I'm encountering some weird issues. This is how my interfaces look
When the system boots, the bonded-interfaces and vlan's get the correct 9000 MTU set.
ifconfig bond0
bond0 Link encap:Ethernet HWaddr 90:e2:ba:00:c0:68
inet6 addr: fe80::92e2:baff:fe00:c068/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:9000 Metric:1
RX packets:49551029 errors:0 dropped:0 overruns:0 frame:0
TX packets:25607530 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:72285652635 (67.3 GiB) TX bytes:3394780364 (3.1 GiB)
ifconfig vlan10
vlan10 Link encap:Ethernet HWaddr 90:e2:ba:00:c0:68
inet6 addr: fe80::92e2:baff:fe00:c068/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:9000 Metric:1
RX packets:52921984 errors:0 dropped:0 overruns:0 frame:0
TX packets:26563297 errors:0 dropped:7 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:78008506003 (72.6 GiB) TX bytes:1809951476 (1.6 GiB)
But the vmbr0 does not. I cannot manually set jumbo frames with ifconfig vmbr0 mtu 9000, but I can set 1500 and lower MTU with the same command.
root@proxmox:~# ifconfig vmbr0 mtu 9000
SIOCSIFMTU: Invalid argument
but this works:
root@proxmox:~# ifconfig vmbr0 mtu 500
Is it not allowed to set > 1500 MTU on vmbr0? Or am I missing something obvious in my config?
I've been trying to get up jumbo frames properly but I'm encountering some weird issues. This is how my interfaces look
Code:
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
iface eth2 inet manual
auto bond0
iface bond0 inet manual
slaves eth1 eth2
bond_miimon 100
bond_mode 802.3ad
auto vlan10
iface vlan10 inet manual
vlan_raw_device bond0
pre-up ifconfig bond0 mtu 9000
auto vlan2
iface vlan2 inet manual
vlan_raw_device bond0
auto vmbr0
iface vmbr0 inet static
address 10.0.1.3
netmask 255.255.255.0
gateway 10.0.1.1
bridge_ports vlan10
bridge_stp off
bridge_fd 0
auto vmbr2
iface vmbr2 inet manual
bridge_ports vlan2
bridge_stp off
bridge_fd 0
When the system boots, the bonded-interfaces and vlan's get the correct 9000 MTU set.
ifconfig bond0
bond0 Link encap:Ethernet HWaddr 90:e2:ba:00:c0:68
inet6 addr: fe80::92e2:baff:fe00:c068/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:9000 Metric:1
RX packets:49551029 errors:0 dropped:0 overruns:0 frame:0
TX packets:25607530 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:72285652635 (67.3 GiB) TX bytes:3394780364 (3.1 GiB)
ifconfig vlan10
vlan10 Link encap:Ethernet HWaddr 90:e2:ba:00:c0:68
inet6 addr: fe80::92e2:baff:fe00:c068/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:9000 Metric:1
RX packets:52921984 errors:0 dropped:0 overruns:0 frame:0
TX packets:26563297 errors:0 dropped:7 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:78008506003 (72.6 GiB) TX bytes:1809951476 (1.6 GiB)
But the vmbr0 does not. I cannot manually set jumbo frames with ifconfig vmbr0 mtu 9000, but I can set 1500 and lower MTU with the same command.
root@proxmox:~# ifconfig vmbr0 mtu 9000
SIOCSIFMTU: Invalid argument
but this works:
root@proxmox:~# ifconfig vmbr0 mtu 500
Is it not allowed to set > 1500 MTU on vmbr0? Or am I missing something obvious in my config?