Set MTU for tap interface

Hi there,

I'd like the created tap interfaces to have the same MTU as the bridge (9000). How best to set this up? I've tried amending the network script on a per-vm basis, but it gets recreated every time I restart a VM.

Obviously by using the default MTU (1500), the bridge MTU is lowered too. The VMs are a mix of Ubuntu and Windows Server (both 2003 and 2008 R2).

Rgds,

Marc

Status: 
Closed (fixed)

Comments

Currently there is no way to change this - and in fact, the tap interfaces are created by KVM, not by Cloudmin code.

What problems do the MTU mismatch cause?

The larger MTU gives a faster throughput when transferring large amounts of data (eg databases, server images) between servers. Would be nice to have this available to VMs too. Are the network scripts created by KVM? Because they differ to the default (/etc/qemu-ifup).

I'm referring to the ones created in the "Base directory for virtual systems" , which are usually called hostname-eth0.sh.

Do you also have an MTU set on the interfaces within the VM? I assume that would also be needed to take advantage of the larger bridge and tap device MTUs.

Setting the tap MTU to match the bridge automatically sounds like a good idea though. I'll have Cloudmin do this in the next release.

I would have to do that once the tap interface MTU was set. I'll keep an eye out for the next release.

Cheers,

Marc

Automatically closed -- issue fixed for 2 weeks with no activity.