ping 8.8.8.8 -f -l 1472ping -M do -s 1472 8.8.8.8ping -D -s 1472 8.8.8.8About the MTU Calculator
The Maximum Transmission Unit is the largest packet a link can carry. Standard Ethernet allows 1500 bytes, but every tunnel or encapsulation layer you add — PPPoE, GRE, IPsec, VXLAN, MPLS — steals part of that budget. If devices keep sending 1500-byte packets into a tunnel that can only carry 1400, the result is fragmentation or silently dropped packets, which shows up as web pages half-loading, VPN file copies stalling and VoIP working while HTTPS fails.
This calculator subtracts the overhead of each selected encapsulation from your base MTU and shows the effective MTU plus the TCP MSS you should clamp to (MSS = MTU minus 40 bytes for IPv4 or 60 bytes for IPv6 headers). It also generates ready-to-paste don’t-fragment ping commands so you can verify the real path MTU empirically. Note that IPsec overhead varies with cipher and mode — the value used here is a typical worst case for AES-CBC with SHA-1 in tunnel mode.
How to Use This Tool
Common Use Cases
- "VPN connects but some sites won't load." The signature MTU ticket: small packets (ping, DNS) work, large ones (HTTPS pages, file transfers) hang. Calculate the tunnel's real MTU and clamp MSS.
- NBN and PPPoE links. PPPoE steals 8 bytes, making the effective MTU 1492 — the most common overlooked overhead on Australian broadband connections.
- Site-to-site IPsec tunnels. Stack GRE-over-IPsec overheads correctly instead of guessing, and stop the intermittent application timeouts that follow.
- Overlay networks. VXLAN adds 50 bytes; get the underlay MTU right (or jumbo frames configured) before the overlay misbehaves under load.
- Path MTU verification. Predict what
ping -f -l(Windows) orping -M do -s(Linux) should show, then confirm the theory on the wire.
Typical Symptoms of MTU Problems
- Some sites load, others hang. Small packets pass, full-size packets are dropped — classic PMTUD black hole.
- VPN connects but transfers stall. The tunnel reduced effective MTU and large TCP segments no longer fit.
- Email works, attachments fail. Small control traffic fits; bulk data hits the reduced MTU.
- Fix: clamp TCP MSS on the router (e.g.
ip tcp adjust-mss) or lower the interface MTU.