<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jul 12, 2018 at 4:46 AM, netsurfed <span dir="ltr"><<a href="mailto:zhuohaofan@126.com" target="_blank">zhuohaofan@126.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Dear all:</div><div>I start a VM with MTU size 1450, and login VM to check the mtu size, but this setting didn't work. </div><div><br></div></div></blockquote><div><br></div><div>[snip]</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div></div><div>However, the actual mtu size of VM is still 1500, as following:</div><div><pre style="width:1076.34px">root@ubuntu-zhf:~# ip addr</pre></div></div></blockquote><div><br></div><div>[snip]</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div><pre style="width:1076.34px">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.<br></pre></div><div>How to set the MTU of VM?  <span style="font-family:arial;white-space:pre-wrap">Thanks.</span></div></div></blockquote><div><br></div><div><br></div><div><div style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">You have to set it inside guest OS. So I presume still in /etc/network/interfaces file for Ubuntu (see also "man interfaces")</div><div style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">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) </div><div style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><a href="https://lists.ovirt.org/archives/list/users@ovirt.org/thread/PDIZL2GL343GFWV5L6KA4KCPARJ4HWCE/">https://lists.ovirt.org/archives/list/users@ovirt.org/thread/PDIZL2GL343GFWV5L6KA4KCPARJ4HWCE/</a><br></div><div style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">HIH,</div><div style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Gianluca</div> </div></div></div></div>