VxLAN and 1500 MTU

mkapalla

New Member
Feb 16, 2025
1
0
1
Hi everybody,

i have a question regarding the MTU whilst using VxLAN.

My setup is as follows:
I have my servers connected to a mikrotik swtich via 25 GBit link.
The servers are situated on a VLAN using a OVS Bridge and an IntPort. (cant be changed due to other constraints)

Now i have the need for certain VMs to be on the same layer 2 network without assigning VLANs to them directly (at least virtually, some VMs need the ability to do VLAN, etc.) - thats why i enabled VxLAN and added the VMs to the VxLAN. Connectivity so far is fine, only issue is that my maximum achievable MTU is 1426. The issue is that the VMs need a MTU of 1500 for all services to work right.

My thought now is to increase the MTU in my mikrotik switch to something higher (maybe even just to 9000) and then set the MTU of the VxLAN to 1500.

Would that lead to my desired outcome, or are there better ways to achieve this? In my mind this might work just fine.