Most of my Windows VM instances on OVN networks are getting MTU of 1500 and that’s causing problems with a number of things, one e.g.: can’t even get to https://portal.azure.com.
If I manually set the MTU to 1442 in the VM then things work again.
I’ve tried recreating the network and launching a new instance on it but they still get 1500. Here is an example of an OVN network:
I just checked and we seem to have logic to handle that for containers but not so much for VMs, so we should take a look at what’s going on there, whether it’s the property never making it into DHCP or the instance ignoring it for some reason or some conflict between the IPv6 RA and IPv4 DHCP or something.
It looks like the problem I think I have is more complex than I realise and that DHCP service might not be the right place to attack this, after reading:
All I can tell you is that Windows Server 2022 VMs work fine with MTU of 1500 on macvlan but the same instances don’t work too well on OVN unless I manually drop its MTU to 1442.
Yeah, if the MTU is incorrect, you’re definitely going to have some issues.
We’ll make sure that OVN correctly advertises the MTU on both the IPv6 RA and DHCP responses. If it does, then there’s not much else we can do if the OS doesn’t request/respond to that information.