An MTU mismatch happens when one device sends packets larger than something along the path can forward. Small packets (pings, DNS, TLS hellos) get through. Large ones (file uploads, full web pages, database sync packets) vanish or crawl. The fix is to find the smallest MTU on the path, then either match the values on both ends or lower the packet size, for example with a TCP MSS clamp. You find the smallest MTU by sending pings that cannot be fragmented, and by walking the path hop by hop with a traceroute.
This guide is for developers, sysadmins and network engineers who see connections that half work. It covers the symptoms, the tests, the fixes and the OSPF variant, and it ties detection time back to monitoring.
TL;DR
- MTU is the largest packet a link will carry. A mismatch means a device sends bigger packets than a hop can pass, and the excess is fragmented or dropped.
- The classic symptom is that ping works, small requests work, and large transfers, secure pages or VPN traffic hang or crawl.
- Path MTU discovery (PMTUD) is supposed to fix this automatically, but it relies on ICMP messages that firewalls often block. That creates an MTU black hole.
- Test with do-not-fragment pings at decreasing sizes, then set the interface MTU, clamp TCP MSS, or enable MTU probing.
- Between OSPF routers, mismatched interface MTUs leave neighbors stuck in ExStart. Match the values on both ends.
Table of Contents
- What an MTU mismatch actually is
- Symptoms that point to MTU
- How path MTU discovery works, and what fragmentation needed means
- MTU black holes: when discovery fails
- How to find the mismatch
- How to fix it
- OSPF neighbors stuck in ExStart
- Catching MTU trouble sooner
- Check your site with Pingfloat
- Our view
- FAQ
- Sources
What an MTU mismatch actually is
MTU stands for maximum transmission unit: the largest packet, in bytes, that an interface will send in one piece. Ethernet defaults to 1500 bytes. Other link types are smaller, and tunnels and VPNs shave more off because they add headers. Microsoft lists 1500 for Ethernet, 1492 for IEEE 802.3/802.2 and 1480 for PPPoE (WAN Miniport), which is why a 1480 MTU usually means a DSL-style PPPoE link rather than a fault.
A mismatch occurs when two points disagree about what the path can carry. The result depends on where the smaller MTU sits:
- At a Layer 3 hop (a router): the router can fragment the packet, or, if the sender set the Don't Fragment (DF) bit, drop it and tell the sender. Cisco's Nexus guidance says a Layer 3 path fragments rather than dropping, while a Layer 2 path does not fragment and drops the packet completely.
- Below the IP layer (a switch, a tunnel, a carrier link): nothing generates the error message. A USENIX study of PMTUD failures explains that when the MTU change happens below IP, no Packet Too Big message is sent and packets may be silently discarded.
IPv6 makes this stricter. Cloudflare notes that IPv6 routers do not fragment, so oversized packets are dropped, and so are IPv4 packets with DF set. If you want a refresher on the addressing side, see our reference on IPv4.
Symptoms that point to MTU
MTU problems rarely look like an outage. They look like flakiness:
- Small requests succeed while large uploads stall. AppNeta's documentation describes FTP uploads taking minutes while downloads take hours or fail, and says MTU conflicts typically cause slow rather than broken connections.
- A secure website opens only partly or not at all. Large TLS server certificates and handshakes are among the first big packets a connection sends.
- VPN or tunnel traffic drops when the overhead is not accounted for. Meraki's troubleshooting guide lists intermittent connectivity when ICMP fragmentation-needed messages are dropped, Auto VPN packets lost when overhead is ignored, and PPPoE uplinks that reduce the MTU to 1,492 bytes.
- Interface counters climb. On Cisco Nexus gear, giant, jumbo and runt counters increment depending on the mismatch scenario.
- A TCP session hangs after the handshake. The handshake packets are tiny, so the connection opens, then freezes when real data flows.
Why does it feel like congestion? In a Layer 2 black hole the switch cannot inspect the DF bit or generate a Layer 3 response, so the server perceives the loss as congestion and keeps retransmitting the same oversized packet. That is why throwing bandwidth at the problem never helps. If you are chasing generic loss, our packet loss troubleshooting guide covers MTR and Pktmon, but check MTU first when only large packets suffer.
How path MTU discovery works, and what fragmentation needed means
Path MTU discovery is how hosts find the smallest MTU on the route without being told. RFC 1191 describes the mechanism:
- The sender sets DF on its datagrams and assumes the first-hop MTU.
- A router that cannot forward a datagram without fragmenting it discards it.
- The router returns ICMP Destination Unreachable, Type 3, Code 4 ("fragmentation needed and DF set"), carrying the next-hop MTU.
- The sender lowers its estimate and resends until delivery succeeds without fragmentation.
Hosts remember the result per path and only probe for a larger value infrequently. The RFC 1191 errata add limits: never go below 68 octets, never raise the estimate because of a Datagram Too Big message, and wait at least 5 minutes (10 recommended) before probing for a larger value.
IPv6 uses the same idea with different messages. AWS documents that an oversized IPv4 packet triggers the Type 3, Code 4 message, while IPv6 has no in-network fragmentation and triggers ICMPv6 Packet Too Big (Type 2). AWS also cautions that jumbo frames need care on internet-bound traffic, since the path beyond your network is rarely jumbo-capable.
The key point: the whole scheme depends on ICMP messages making it back to the sender.
MTU black holes: when discovery fails
Block those ICMP messages and the sender never learns. RFC 2923 calls this a PMTUD black hole: large packets disappear because the ICMP messages never reach the source, and TCP can fail completely under some conditions. The textbook picture is a TCP connection that hangs until timeout, small pings that work, and MTU-sized DF pings that fail.
There are two halves to the problem, according to the USENIX paper: routers that do not send the message (misconfiguration or bugs) and hosts that do not receive it (firewall or middlebox filtering). A router that sends no ICMP today is almost certainly configured that way for security reasons. The same study found many failure modes beyond ICMP filtering, so do not assume a firewall rule is the only culprit.
A third variant is the gray hole, where a hop returns the wrong MTU value. AppNeta describes black-hole hops that send no fragmentation-needed message and gray-hole hops that send an incorrect one.

How to find the mismatch
Step 1: Confirm the symptom
Check whether small traffic works and large traffic does not. If a plain ping succeeds but a file upload or an HTTPS page stalls, you have a candidate. Our write-up on when ICMP misleads explains why a successful default ping proves little: it sends a small packet that fits any path.
Step 2: Probe with do-not-fragment pings
Send pings with DF set and a payload that, plus 28 bytes of IP and ICMP headers, equals the MTU you are testing. For a 1500-byte MTU the payload is 1472.
Windows: ping -f -l 1472 example.com
Linux: ping -M do -s 1472 example.com
macOS: ping -D -s 1472 example.com
If you get replies, the path carries 1500. If you get a fragmentation-needed message or silence, lower the payload in steps (1464, 1452, 1432...) until replies return. The largest payload that works plus 28 is your path MTU. A message that says fragmentation was needed means PMTUD is working at that hop. Silence at large sizes while small sizes pass is the black-hole signature.

Step 3: Locate the hop
Once you know a size fails, find where. A traceroute shows which hop the path stalls at and which router, if any, answers. You can run one from the browser with the Pingfloat traceroute tool, and our guides to reading a traceroute and using it on a slow network show how to interpret the three probes per hop. Compare the hop where replies vanish with the known tunnels, VPN gateways and PPPoE uplinks on the route.
Step 4: Check both ends' configuration
Compare interface MTUs on both sides of the link. Remember encapsulation: PPPoE adds 8 bytes, so Cisco's guidance says the 1500-byte Ethernet MTU becomes 1492, and if host MTUs are not adjusted, transiting routers can drop or fragment full-size packets (TCP MSS 1460) and terminate TCP sessions.
How to fix it
Option 1: Match the MTU
Where you control both ends, set the same MTU on both interfaces. This is the cleanest fix. For consumer and small-office routers, NETGEAR advises leaving MTU at 1500 unless your ISP recommends a change, a secure site will not open or shows only part of a page, or VPN performance is badly degraded. It suggests 1400 as a common troubleshooting value, 1492 for PPPoE and 1436 for PPTP/VPN.
Option 2: Clamp the TCP MSS
MSS (maximum segment size) is the largest TCP payload a host will send. Clamping it on the router keeps TCP segments small enough for the narrowest link. For PPPoE, Cisco recommends ip tcp adjust-mss 1452 in the configuration. This fixes TCP flows without relying on ICMP at all.
Option 3: Handle blocked ICMP
The first fix for a black hole is to stop filtering the messages PMTUD needs. If you cannot, Cloudflare's engineering blog names the most common PMTUD failure as misconfigured firewalls dropping ICMP and gives three workarounds:
- Reduce the client MTU through the MSS option in the SYN.
- Reduce the server-side MTU. IPv6 requires at least 1,280 and IPv4 at least 576, and RFC 4821 suggests 1,024 is probably safe enough.
- Enable smart black-hole detection on Linux with
tcp_mtu_probingand atcp_base_mssof 1024.
The post favors the probing approach over forcing a lower MTU on every connection, because a blanket reduction penalizes every flow. RFC 2923 describes the same idea in protocol terms: after several timeouts TCP should try smaller packets, perhaps without DF, and probe again later.
Verify the fix
Repeat the DF ping at the new size, then repeat the real task that failed: the upload, the HTTPS page, the VPN session. Record the value you settled on and why, so the next engineer does not undo it.
OSPF neighbors stuck in ExStart
One mismatch looks different from the rest. When two OSPF routers form an adjacency, they exchange Database Description (DBD) packets. If the interface MTUs differ, the large DBD packets are rejected, and the neighbor sticks in ExStart or Exchange. Per Fortinet's technical tip, RFC 2328 section 10.6 says a DBD packet is rejected when its Interface MTU field is larger than the receiving interface can accept without fragmentation.
A quick routine, based on Cisco's troubleshooting document:
- Run
show ip ospf neighborto confirm the stuck state. - Use
debug ip packetanddebug ip ospf adjto watch the adjacency attempt. - Match the MTUs on both ends. In rare cases,
ip ospf mtu-ignorebypasses the check.
Vendors differ. Huawei's documentation says its devices check the DD-packet MTU only when ospf mtu-enable is configured, while non-Huawei devices check by default. That default difference is a common cause of a mismatch between mixed-vendor neighbors. Fortinet's equivalent of the ignore command is set mtu-ignore enable on the OSPF interface. Matching the values is the durable fix; ignoring the check only hides the disagreement.
Catching MTU trouble sooner
MTU faults are slow to find because the service still answers a basic check. Three metrics describe how long that delay costs you:
- MTTD (mean time to detect): how long a failure goes unnoticed.
- MTTA (mean time to acknowledge): how long until a person picks up the alert.
- MTTR (mean time to recover or resolve): the time from the failure until service is restored. It contains the other two.
When MTTR rises, compare the three to see which stage grew. MTTD is a monitoring problem, MTTA is a paging problem, and MTTR is a runbook problem. An MTU black hole hurts MTTD most, since a ping-only check reports green while users cannot upload. Monitor the real request your users make, not just reachability, and route alerts so a human sees them quickly. Our guide to downtime alerting setup covers thresholds, routing and testing.
Check your site with Pingfloat
Pingfloat is a free suite of web tools, with no installation or account needed for core functions. For an MTU investigation, the traceroute tool shows where the path breaks, the SSL Checker confirms whether a certificate chain is served correctly when secure pages half-load, and the Website Uptime Monitor watches your site so a path problem shows up as an incident instead of a user complaint.

The full set of tools, including HTTP header inspection and an API, is on the Pingfloat home page.
Our view
Most MTU tickets we would expect to see are not really about MTU. They are about visibility. The link is up, the ping is green, and the one packet size that matters is the one nobody tested.
That is why we build tools that look at a path from outside, in a browser, with no setup. A traceroute, an SSL check and an uptime monitor each answer a different question, and together they narrow a vague complaint like uploads are slow to one hop, one certificate or one time window.
Our advice: test with real sizes, write down the MTU you settle on, and monitor the request your users make. Detection time is the part of an outage you control most directly.
Andreas
FAQ
What does an MTU of 1480 mean?
It is the default MTU Microsoft lists for PPPoE (WAN Miniport) connections. PPPoE adds header overhead, so the usable packet size is smaller than Ethernet's 1500. Some PPPoE links use 1492 instead.
Does changing MTU make a difference?
It does when a device in the path has a lower MTU than the others and forces fragmentation or drops. NETGEAR suggests leaving 1500 alone unless a secure site will not open, a page loads only partly, or VPN performance is severely degraded. In those cases, lower values such as 1400 or 1492 are common tests.
What is the difference between path MTU discovery and an MTU black hole?
Path MTU discovery is the process where routers return ICMP fragmentation-needed messages so the sender can shrink its packets. A black hole is what happens when those messages never arrive, so large packets keep disappearing. Allowing the ICMP messages, clamping MSS or enabling MTU probing resolves it.
What does fragmentation needed mean?
It is ICMP Type 3, Code 4. A router sends it when a packet with the Don't Fragment bit set is too big for the next link, and it includes the MTU the sender should use. If you see it in a capture, discovery is working at that hop.
How is MTTD different from MTTR?
MTTD measures how long a failure goes unnoticed before it is detected. MTTR measures the whole time until service is restored, so it includes detection and acknowledgment. Improving monitoring lowers MTTD, while runbooks and on-call habits lower the rest.
Sources
- Default MTU Sizes for Different Network Topologies, Microsoft Learn
- Cisco Nexus MTU troubleshooting counters
- Inferring and Debugging Path MTU Discovery Failures (USENIX IMC 2005)
- Inferring and Debugging Path MTU Discovery Failures, black hole section
- What is MTU (maximum transmission unit)?, Cloudflare
- Troubleshooting MTU Issues, Meraki documentation
- Maximum Transmission Unit, AppNeta documentation
- RFC 1191: Path MTU Discovery
- RFC 1191 errata
- Network maximum transmission unit (MTU) for your EC2 instance, AWS
- RFC 2923: TCP Problems with Path MTU Discovery
- Path MTU discovery in practice, Cloudflare Blog
- Ethernet MTU and TCP MSS Adjustment Concept for PPPoE, Cisco
- How do I change the MTU size on my NETGEAR router, NETGEAR
- Technical Tip: How is MTU mismatch identified in OSPF, Fortinet
- Troubleshoot OSPF Neighbors Stuck in Exstart/Exchange State, Cisco
- Checking Whether the OSPF Neighbor Status Is Stuck, Huawei
