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 inputs

Worked calculation

  1. IPv4 uses 20 bytes and UDP uses eight. VXLAN adds its own eight-byte header.
  2. The encapsulated Ethernet frame has a 14-byte base header and no inner FCS in this model. Subtract 20 + 8 + 8 + 14 = 50 bytes.
  3. The workload IP MTU is 1,450. For inner IPv4 TCP, subtract 40 more bytes for a 1,410-byte MSS.

Inputs

IP versions
Use No if the input already reflects the PPPoE interface MTU.

Calculated in your browser

Results

Inner IP MTU
1,450 B
TCP MSS
1,410 B
Budgeted overhead
50 B

Tunnel packet byte budget

Tunnel packet byte budgetThe top bar compares encapsulation overhead with the usable packet. The bottom bar expands the overhead to show its parts in bytes.Underlay budget · 1,500 BInner IPOverhead1,450 B inner IPOverhead detail50 BOuter IPv4: 20 B20UDP: 8 B8VXLAN header: 8 B8Inner Ethernet: 14 B14
  • Outer IPv4 · 20 B
  • UDP · 8 B
  • VXLAN header · 8 B
  • Inner Ethernet · 14 B
The top bar compares encapsulation overhead with the usable packet. The bottom bar expands the overhead to show its parts in bytes.
Encapsulation
VXLAN
Starting MTU
1,500 B
Inner TCP/IP base headers
40 B
Byte budget
LayerBytes
Outer IPv420
UDP8
VXLAN header8
Inner Ethernet14
Inner IP packet1450

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.

References