Re: How to set the MTU size of VM interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 12, 2018 at 4:46 AM, netsurfed <zhuohaofan@xxxxxxx> wrote:
Dear all:
I start a VM with MTU size 1450, and login VM to check the mtu size, but this setting didn't work. 


[snip]
 
However, the actual mtu size of VM is still 1500, as following:
root@ubuntu-zhf:~# ip addr

[snip]
 
I use ovs to create vxlan networks and add VMs to the ovs bridge. Because of the limitations of vxlan, I need to set the mtu of vm to 1450.
How to set the MTU of VM?  Thanks.


You have to set it inside guest OS. So I presume still in /etc/network/interfaces file for Ubuntu (see also "man interfaces")
See also this thread opened by me some days ago and Dominik's answer related to new features and OVN internal dhcp server (if relevant in your scenario) 

HIH,
Gianluca
 
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux