Free tech learning for everyone, from basics to pro

Transport Network DesignNetworking SecurityAdvanced

Designing MTU end to end: jumbo frames, overlays, tunnels and avoiding black holes

In short: Every tunnel, overlay and tag adds header bytes. If the network MTU is not raised to make room, or the inner MTU lowered, large packets are fragmented or dropped. Plan MTU end to end: use jumbo frames in the data centre and underlays carrying VXLAN, clamp TCP MSS on tunnels, allow ICMP so path MTU discovery works, and test with do-not-fragment pings.

What MTU is

The maximum transmission unit is the largest IP packet a link can carry without fragmenting it. Standard Ethernet MTU is 1500 bytes. When a packet is larger than the next link's MTU, a router must fragment it (IPv4, if allowed) or drop it and send an ICMP message back (IPv6 always, IPv4 when the DF bit is set). Fragmentation hurts performance; drops without ICMP feedback cause mysterious hangs.

Headers that eat into the MTUOuter IP + UDP + VXLAN50 bytesGRE24 bytesIPsec ESP (tunnel mode)about 50 to 73 bytesMPLS labels4 bytes each802.1Q tag4 bytes
Figure 1. Every tunnel or tag adds bytes. Plan the MTU so the original packet still fits.

Where MTU problems come from

  • VXLAN adds 50 bytes (outer Ethernet is not counted in IP MTU, but outer IP 20 + UDP 8 + VXLAN 8 + inner Ethernet 14). A 1500-byte inner packet needs a 1550-byte underlay MTU.
  • GRE adds 24 bytes; IPsec adds roughly 50 to 73 depending on mode and algorithms; GRE over IPsec adds both.
  • PPPoE broadband takes 8 bytes, leaving 1492.
  • MPLS labels add 4 bytes each; provider networks usually allow for them.

Design approaches

  • Raise the underlay MTU where you control every hop: data centre fabrics and campus underlays for SD-Access or VXLAN usually run 9100 to 9216 bytes on all links, so 1500-byte user packets fit inside overlays with room to spare.
  • Lower the overlay MTU where you do not control the path, such as tunnels over the internet: set the tunnel IP MTU to 1400 and clamp TCP MSS to 1360 so TCP never sends packets that are too big (ip tcp adjust-mss 1360).
  • Jumbo frames for hosts (MTU 9000) suit storage, backup and vMotion networks, but every device in that path, including routed interfaces between VLANs, must support them. Mixing jumbo and standard hosts in one VLAN causes problems.

Be consistent: an MTU mismatch between two OSPF neighbours stops the adjacency at ExStart/Exchange, a classic sign.

Path MTU discovery and black holes

Hosts set the DF (don't fragment) bit and rely on ICMP "fragmentation needed" (IPv4) or "Packet Too Big" (IPv6) messages to learn the path MTU. If a firewall drops these ICMP messages, the sender never learns, large packets disappear, and connections hang after the handshake: a PMTU black hole. Always allow these ICMP types, and use MSS clamping on tunnels as a safety net.

Testing

Windows:  ping -f -l 1472 10.20.0.10     (1472 + 28 bytes of headers = 1500)
Linux:    ping -M do -s 1472 10.20.0.10
Jumbo:    ping -M do -s 8972 10.30.0.12   (8972 + 28 = 9000)
Cisco:    ping 10.20.0.10 size 1500 df-bit

Reduce the size until it succeeds to find the real path MTU. Test before go-live on every new tunnel and fabric.

Real-world example: the VPN that stalled on large emails

After a branch moved to an IPsec VPN over broadband, users could browse and send short emails, but large attachments stalled forever. Do-not-fragment pings showed the path only carried 1418 bytes. The head office firewall blocked ICMP, so PMTU discovery failed. Setting ip tcp adjust-mss 1360 on the tunnel and allowing ICMP type 3 code 4 fixed it the same day.

Practice

How many bytes does VXLAN add, and what underlay MTU does a 1500-byte inner packet need?
About 50 bytes, so the underlay needs at least 1550 bytes (usually set to 9100 or more).
What is a PMTU black hole?
Large packets are dropped and the ICMP messages that would tell the sender to use smaller packets are blocked, so connections hang.
What does TCP MSS clamping do on a tunnel?
It rewrites the maximum segment size in TCP handshakes so hosts send packets small enough to fit through the tunnel.

Key takeaways

  • Tunnels, overlays and tags add header bytes that reduce usable MTU.
  • Raise underlay MTU where you control the path; lower tunnel MTU and clamp MSS where you do not.
  • Keep MTU consistent; mismatches break OSPF and cause hangs.
  • Allow ICMP for path MTU discovery and test with do-not-fragment pings.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: