Hi,
I am a user from China, and my English is very poor, so I used a translator. Please understand. I would like to clarify the MTU and PMTUD behavior of RouterOS when using VXLAN over WireGuard.
My setup is roughly:
Text
Host / Bridge
-> VXLAN interface, MTU 1500
-> WireGuard interface, MTU 1420
-> physical WAN
In this case, if an inner host sends a 1500-byte packet through the VXLAN interface, the VXLAN encapsulated packet becomes larger than the WireGuard interface MTU. For example, with VXLAN over IPv4, the encapsulated packet is approximately:
Text
1500 + 50 = 1550 bytes
But the WireGuard interface MTU is only 1420.
My questions are:
When RouterOS tries to send this VXLAN-encapsulated packet through the WireGuard interface and finds that it exceeds the WireGuard MTU, what exactly happens?
Will RouterOS generate an ICMP Fragmentation Needed / Packet Too Big message back to the original inner sender inside the VXLAN/bridge network?
Or will RouterOS only drop the packet at the VXLAN/WireGuard encapsulation stage without notifying the inner sender?
Is RouterOS VXLAN over WireGuard expected to support PMTUD for the inner traffic in this situation, assuming ICMP is not filtered anywhere?
Can I rely on PMTUD to automatically adapt the inner MTU when the physical/WireGuard path MTU changes, or should I always manually set the VXLAN MTU to something like:
Text
WireGuard MTU 1420 - VXLAN over IPv4 overhead 50 = VXLAN MTU 1370
For example:
Text
WireGuard MTU: 1420
VXLAN MTU over IPv4: 1370
VXLAN MTU over IPv6: 1350
I understand that Linux VXLAN bridge behavior may generate ICMP PMTU errors toward the inner sender in some cases, but I could not find a clear statement in the RouterOS documentation about whether RouterOS does the same for VXLAN over WireGuard.
Could MikroTik staff or anyone with confirmed RouterOS behavior clarify this?
Thanks.