1.5 MTU problems

  • Thread starter Thread starter coffe
  • Start date Start date
C

coffe

Guest
IS setting up our new servers is now trying to solve how to use jumboframes on backbone network.
my interfaces:

# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

iface eth2 inet manual
mtu 9000
iface eth3 inet manual
mtu 9000
auto bond0
iface bond0 inet manual
slaves eth2 eth3
bond_miimon 100
bond_mode 802.3ad
mtu 9000
auto vmbr0
iface vmbr0 inet static
address 192.168.17.29
netmask 255.255.255.0
gateway 192.168.17.1
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 192.168.99.29
netmask 255.255.255.0
bridge_ports bond0
bridge_stp off
bridge_fd 0
mtu 9000


But, after boot, all interfaces are have mtu = 1500.
 
IS setting up our new servers is now trying to solve how to use jumboframes on backbone network.
my interfaces:

# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

iface eth2 inet manual
mtu 9000
iface eth3 inet manual
mtu 9000
auto bond0
iface bond0 inet manual
slaves eth2 eth3
bond_miimon 100
bond_mode 802.3ad
mtu 9000
auto vmbr0
iface vmbr0 inet static
address 192.168.17.29
netmask 255.255.255.0
gateway 192.168.17.1
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 192.168.99.29
netmask 255.255.255.0
bridge_ports bond0
bridge_stp off
bridge_fd 0
mtu 9000


But, after boot, all interfaces are have mtu = 1500.
Hi,
for me work this (but without bonding):
Code:
auto eth1
iface eth1 inet static
        address 172.20.2.11
        netmask 255.255.255.0
        mtu 9000

ifconfig eth1
eth1      Link encap:Ethernet  Hardware Adresse 00:15:17:d3:54:0b  
          inet Adresse:172.20.2.11  Bcast:172.20.2.255  Maske:255.255.255.0
          inet6-Adresse: fe80::215:17ff:fed3:540b/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:9000  Metrik:1
          RX packets:28974245 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43778451 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX bytes:73671184205 (68.6 GiB)  TX bytes:327209778495 (304.7 GiB)
          Speicher:fbde0000-fbe00000

Udo
 
The only way I can get it to work with bonding is to edit the /etc/rc.local file and add it there. Here is what I added to mine.

/sbin/ifconfig eth0 mtu 9000
/sbin/ifconfig eth1 mtu 9000
/sbin/ifconfig bond0 mtu 9000
 
auto vmbr1
iface vmbr1 inet static
address 192.168.99.29
netmask 255.255.255.0
bridge_ports bond0
bridge_stp off
bridge_fd 0
post-up /sbin/ifconfig vmbr1 mtu 9000