SDN testing , changing MTU on specified interface not changing TAP MTU

Szymons

Member
Feb 11, 2021
68
5
13
Poland
Hello,

proxmox 6.3-6 with latest updates
Linux 5.4.106-1-pve #1 SMP PVE 5.4.106-1 (Fri, 19 Mar 2021 11:08:47 +0100) x86_64 GNU/Linux
libpve-network-perl is already the newest version (0.4-6).

I want to change mtu on vlan.
My steps :
I am editing /etc/network/interfaces to insert new MTU.
When I am using "ifreload -a" to do this it is changing MTU setting for vlan but not for TAP's on this vlan.
 
Hi, yes.

for the vm interface, (the tap interface), you need to reduce mtu inside your guest os , or it's possible to define "netX: ....,mtu=1" in vm configuration file (/etc/pve/qemu-server/<vmid>).conf. This is not yet available in the gui.(should be available soon)
 
Hello,

Thanks for reply.
"This is not yet available in the gui.(should be available soon)"
Now I am using console with ip link set "tap..." mtu XX .
My point was that also console command ifreload not touching this if we change mtu in /etc/network/interfaces .
 
Hello,

Thanks for reply.
"This is not yet available in the gui.(should be available soon)"
Now I am using console with ip link set "tap..." mtu XX .
My point was that also console command ifreload not touching this if we change mtu in /etc/network/interfaces .
yes, this is expected, tap interfaces are not manage by ifupdown or in /etc/network/interfaces.

proxmox create and plug them at vm startup (and set mtu at vm startup).
so you can't juste "update" mtu on /etc/network/interfaces , you also need to stop/start vms (or live migrate them)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!