How to Diagnose and Fix MTU Problems

To diagnose a possible MTU problem, compare small and large packets on the affected path and check for messages that report a size limit. Fixing a confirmed MTU problem may require correcting an interface or tunnel setting or allowing error messages about packet size to reach the sender. Small requests that succeed while larger transfers stall can point to an MTU problem, especially after you add a VPN or tunnel.
The maximum transmission unit, or MTU, is the largest IP packet a link can carry in one piece. The path MTU is the smallest link MTU along the route to a destination. Size-related stalls are a clue, not proof of an MTU fault; servers, firewalls, and application errors can look similar.
Confirm a Size-Related Pattern
Record the destination address, protocol, time, and exact behavior. Check whether your application connects successfully but stalls as it transfers more data, or whether small transfers work while large uploads or downloads fail. Repeat the transfer to an endpoint you are authorized to test, keeping the destination and connection settings unchanged. If every request fails, check basic connectivity and name resolution before tuning MTU.
Check whether the affected connection uses IPv4 or IPv6. Do not mix measurements from the two families: a hostname may resolve to both, and the paths can differ. Also record whether a VPN or another tunnel is active. Encapsulation adds headers around the original packet, which can reduce the space available for that packet even when the physical network interface has not changed.
Probe IPv4 Packet Sizes Carefully
On Windows, open Command Prompt and use ping /4 /f /l 1200 server.example.com as a template. Replace server.example.com with the actual hostname or IPv4 address of your test endpoint; the example hostname is not a working test service. The /4 option selects IPv4, /f prevents fragmentation of the outgoing Echo request, and /l sets its data length in bytes.
Start with a modest payload such as the example's 1,200 bytes. If the starting size fails, try a smaller request to check whether this target answers at all. If replies arrive, increase the payload while staying within the sending interface's MTU after accounting for headers. When a size fails, test between the largest successful size and the smallest failing size to narrow the boundary. Repeat sizes near that boundary to check consistency; use a few deliberate probes rather than a continuous stream.
Do not interpret a timeout alone as proof of an MTU limit. The target or an intermediate device may ignore or filter Echo requests, and packet loss can have other causes. A fragmentation-needed response is stronger size-specific evidence, but a local size error may identify only the sending interface's limit. If Echo replies are unavailable, ask the service or network operator to examine diagnostic data for the actual failing connection.
Convert the Payload to an IP Packet Size
The /l number is not the complete IPv4 packet size. For an Echo request with no IPv4 options, add the 20-byte IPv4 header and the 8-byte ICMP header to the data length. A 1,472-byte data field therefore produces a 1,500-byte IP packet under those conditions. Ethernet frame headers are separate and are not added to the IP MTU value.
For a hypothetical test, suppose a 1,372-byte data field repeatedly succeeds and 1,373 bytes produces a fragmentation-needed response. Adding 28 bytes makes 1,400 bytes a candidate boundary for those IPv4 probes, provided the route and header format stay the same. A larger packet that merely times out does not establish that exact boundary. A tunnel's outer headers need separate accounting; do not add them to an inner MTU setting that already represents the packet carried inside the tunnel.
Check for IPv6 Packet Too Big Messages
Windows can select IPv6 with /6, but the /f switch applies only to IPv4. An IPv6 router drops an oversized transit packet and sends an ICMPv6 Packet Too Big message; the sender uses valid feedback to reduce its packet size. If that feedback is blocked, a connection may start successfully and then stall during data transfer.
For IPv6 Echo traffic without extension headers, the basic IPv6 header is 40 bytes and the ICMPv6 header is 8 bytes. A 1,452-byte Echo data field therefore makes a 1,500-byte IPv6 packet before any tunnel encapsulation. However, an IPv6 sender can fragment packets even though transit routers cannot, so a large ping reply alone does not prove that a packet of that size crossed the path in one piece.
Ask the network operator to correlate Packet Too Big messages with the affected connection and check whether the sender reduces packet sizes. A packet capture can also distinguish whole packets from fragments. Do not apply an IPv4 ping calculation or setting to IPv6, and do not configure an IPv6 link below its 1,280-byte minimum MTU.
Correct the Cause or Test a Temporary Setting
If error messages about packet size are being blocked, the network administrator should adjust the relevant filtering rules so that valid IPv4 fragmentation-needed or IPv6 Packet Too Big messages reach the sender. Allowing Echo replies alone does not ensure that those error messages can get through. If a tunnel's configured MTU exceeds what its underlying path can carry, correct the tunnel setting using the overhead and limits for that tunnel type. Do not disable the firewall or lower the MTU on every interface to a guessed value.
Temporarily lowering the MTU on your device can help diagnose the problem when your measurements support the change, but the change may only work around a fault elsewhere. On Windows, run netsh interface ipv4 show subinterfaces to inspect current IPv4 MTUs. Identify the interface that carries the affected traffic and record its exact name and original value. On a managed device, have the administrator make the change.
For example, only if Ethernet is the correct interface name and your evidence supports a 1,400-byte IPv4 MTU, an administrator can run netsh interface ipv4 set subinterface interface="Ethernet" mtu=1400 store=active in Command Prompt opened with Run as administrator. Substitute the actual interface name and supported value. The active setting lasts until Windows restarts; it does not save a permanent configuration. Run the show command again to verify the applied value.
To restore the original setting immediately, repeat the set command with the recorded MTU, the same interface name, and the store=active option. Then run the show command to verify that the original MTU is back in use. For a VPN or another operating system, use the product's supported MTU procedure because the relevant interface and controls differ. A change should remain temporary until the original application works reliably and the network operator has confirmed the intended configuration.
Retest the Original Transfer
After changing the relevant setting, repeat the small and large probes and restart the transfer that was failing. Record the IP family, exact target, payload size, packet-size calculation, response, and before-and-after configuration. If the application still stalls, successful probes do not confirm a fix: the application's packets and route may differ from those used by the probes. Restore the original setting if the controlled change does not improve the real symptom.
If transfers improve in only one direction or to one destination, give the network operator those details. If the application still fails despite consistent probe results, also investigate the server, the transport protocol's behavior, and any proxy handling the connection. An MTU value established for one tested connection should not be treated as a universal setting for the whole network.







