Calculate VXLAN 1450 MTU on a 1500-byte IPv4 underlay
Count the IPv4, UDP, VXLAN and inner Ethernet headers that leave a 1450-byte IP MTU for VXLAN workloads.
Try these inputsWorked calculation
- IPv4 uses 20 bytes and UDP uses eight. VXLAN adds its own eight-byte header.
- The encapsulated Ethernet frame has a 14-byte base header and no inner FCS in this model. Subtract 20 + 8 + 8 + 14 = 50 bytes.
- The workload IP MTU is 1,450. For inner IPv4 TCP, subtract 40 more bytes for a 1,410-byte MSS.
Results
- Inner IP MTU
- 1,450 B
- TCP MSS
- 1,410 B
- Budgeted overhead
- 50 B
Tunnel packet byte budget
- Outer IPv4 · 20 B
- UDP · 8 B
- VXLAN header · 8 B
- Inner Ethernet · 14 B
- Encapsulation
- VXLAN
- Starting MTU
- 1,500 B
- Inner TCP/IP base headers
- 40 B
| Layer | Bytes |
|---|---|
| Outer IPv4 | 20 |
| UDP | 8 |
| VXLAN header | 8 |
| Inner Ethernet | 14 |
| Inner IP packet | 1450 |
Questions
How large must this IPv4 VXLAN underlay be to carry a 1500-byte inner IP packet?
Allow at least 1,550 bytes of underlay IP MTU for the 50-byte overhead in this example.
Does a VLAN tag carried inside this VXLAN frame change the calculation?
Each carried inner 802.1Q tag adds four bytes. Enter those bytes under additional overhead.