mtu 9000 on OVS IntPort for Proxmox management

mad1993max

Member
Jan 4, 2016
5
0
21
32
Hi i would like to set mtu 9000 on my promxox management port, which i configured as a tap port for a ovs switch on which I enabled mtu 900.
My /etc/network/interfaces looks like this:

Code:
auto eth0
iface eth0 inet manual

auto eth1
iface eth1 inet manual

allow-vmbr0 bond0
iface bond0 inet manual
          ovs_bonds eth0 eth1
          ovs_type OVSBond
          ovs_bridge vmbr0
          ovs_options lacp=active ...
          pre-up ( ifconfig eth0 mtu 9000 && ifconfig eth1 mtu 9000)
          mtu 9000

auto vmbr0
iface vmbr0 inet manual
          ovs_type OVSBridge
          ovs_ports bond0 vport1
          mtu 9000

allow-vmbr1 vport1
iface vport1 inet static
           address 192.168.0.2
           netmask 255.255.255.0
           gateway 192.168.0.1
           ovs_type OVSIntPort
           ovs_bridge vmbr0
           ovs_options tag=1
           mtu 9000

I tried to add the pre-up line also to the vport1 but that it wouldnt come up at startup. Hase someone solved this problem or an idea on how to?
 
ok now it suddenly worked but the downside is it broke the web gui so i reverted back to mtu 1500 and the web ui worked again