Use it when a connection is slow with retransmissions, or opens and then stalls on the first large transfer.
TCP Retransmission, PMTUD & MSS Reference
1. Which segments are retransmitted — only the large ones, or any?
2. Only large → ping -M do -s 1472 <ip>; lower the size until it passes.
3. Smaller path MTU found → clamp the MSS at the tunnel, permit the ICMP messages.
4. Any size, scattered → interface error counters along the path.
5. At busy times only → congestion: output drops and queues.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
ss -ti dst 192.0.2.10Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational verification Verify boundary
ss -ti dst 192.0.2.10
netstat -s | grep -i retrans
ping -M do -s 1472 192.0.2.10
tcpdump -ni eth0 host 192.0.2.10 and 'icmp[icmptype] == 3'
ss -ti shows retransmission counts, round-trip time and the path MTU the kernel has learned for a live connection. netstat -s gives system-wide totals. The ping with "don't fragment" set and 1472 bytes of data tests a full 1500-byte packet; lower the size until it succeeds to find the path MTU. The capture shows ICMP unreachable messages, including "fragmentation needed", if they arrive.
In Wireshark: tcp.analysis.retransmission, tcp.analysis.fast_retransmission and tcp.analysis.duplicate_ack mark the events; check the length of the retransmitted segments.
Known-good: few retransmissions, recovered quickly, and full-size packets pass end to end — or the MSS is clamped to what does.
Step 2 Failure isolation workflow Narrow the fault
- Connection opens, then stalls on the first large transfer. MTU black hole: clamp the MSS on the tunnel or permit the ICMP messages.
- Works over one path and not over another. Only one path includes the small-MTU link.
- Steady, low-level retransmissions everywhere. A lossy link; look at interface error counters along the path.
- Retransmissions at busy times only. Congestion; look at output drops and queueing.
- Long pauses of a second or more. Timeout retransmissions — loss at the tail of a burst, or everything lost for a moment.
- Duplicate acknowledgments without retransmission. Reordering, not loss.
- Retransmissions seen at the sender but the receiver's capture shows the originals arriving. The acknowledgments are lost on the way back.
- A capture on the sending host shows oversize segments. Segmentation offload; capture elsewhere before drawing conclusions about size.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
ss -ti dst <ip>— retransmissions, round-trip time and learned path MTU.netstat -s | grep -i retrans— system totals.ping -M do -s 1472 <ip>— does a full 1500-byte packet pass unfragmented?- Wireshark:
tcp.analysis.retransmission,tcp.analysis.duplicate_ack.
ReferenceWhat it is1 section · depth on demand
Mechanics & mental model
A retransmission is TCP sending data again because it was not acknowledged. It is how TCP recovers from loss, and seeing some is normal. This topic covers the two kinds of retransmission, and the most common systematic cause of them: packets too large for the path — where MSS and path MTU discovery come in.
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
Retransmissions say "something was lost" but not what or why. The pattern does: scattered losses mean a lossy or congested path, whereas a connection in which every full-size segment is retransmitted and small ones pass is an MTU problem. Recognising the second saves chasing packet loss that is not there.
ReferenceHow it works1 section · depth on demand
How it works
Two ways TCP notices loss.
| Kind | Trigger | Speed |
|---|---|---|
| Fast retransmit | Three duplicate acknowledgments: later segments arrive, so the receiver keeps asking for the missing one | Within about one round trip |
| Timeout (RTO) | No acknowledgment at all within the retransmission timer | Slow: typically 200 ms to 1 s at first, doubling with each further attempt |
Fast retransmit needs later data to arrive. Loss at the very end of a transfer, or of everything, can only be recovered by timeout — which is why such loss is so noticeable. Either kind also makes the sender reduce its rate.
Segment size and the path. Each end announces a maximum segment size (MSS) based on its own interface: 1460 bytes on Ethernet. That says nothing about smaller links in between — a tunnel, a PPPoE line.
Path MTU discovery deals with those. TCP sends its packets with the "don't fragment" bit. A router that cannot forward one drops it and returns an ICMP message — "fragmentation needed" in IPv4, "packet too big" in IPv6 — stating the size that fits. The sender then uses smaller segments.
The black hole. If that ICMP message is filtered, the sender never learns. The handshake and small requests work, because they are small. The first full-size segment disappears, is retransmitted at the same size, disappears again, and the connection hangs.
MSS clamping avoids depending on ICMP. A router at the start of the small-MTU link rewrites the MSS in passing SYN packets — ip tcp adjust-mss 1360 on a tunnel with MTU 1400 — so that neither end ever sends a segment too large.
Reading the pattern.
| Observation | Likely cause |
|---|---|
| Only full-size segments are retransmitted; small ones are acknowledged | MTU black hole |
| Scattered single retransmissions, recovered by fast retransmit | Occasional loss |
| Bursts of retransmissions, round-trip time rising beforehand | Congestion |
| Retransmissions although the original is seen arriving | The acknowledgments are being lost, or the timer is too eager |
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Retransmission, path MTU and MSS working together
Large transfers that stall after a successful handshake are a classic MTU problem, and they look like retransmissions. RFC 8201 describes why for IPv6, and the same mechanism applies to IPv4 with DF set. The sender starts by assuming the first-hop MTU. A router that can't forward a packet sends Packet Too Big with the smaller MTU, and the sender lowers its estimate. If those ICMP messages are blocked, packets above the real path MTU vanish. The RFC calls the result a black-hole connection: the TCP handshake succeeds, then the connection hangs.
How the three mechanisms interact
| Mechanism | What it does | Failure mode |
|---|---|---|
| MSS option | Each side announces the largest segment it will receive | Doesn't account for tunnels in the path |
| PMTUD | ICMP feedback lowers the packet size | Blocked ICMP creates black holes |
| Retransmission | Resends unacknowledged data after the RTO | Retransmitting the same oversized segment never helps |
PMTUD rules (RFC 8201)
| Rule | Reason |
|---|---|
| Never lower the estimate below the minimum IPv6 MTU (1280) | Forged messages can't shrink packets to a useless size |
| Never raise the estimate because of a Packet Too Big message | Only probing can increase it |
| Probe for a larger PMTU no sooner than 5 minutes after a decrease (10 recommended) | Avoid repeated loss |
| Consider PLPMTUD (RFC 4821) | Works without ICMP |
host$ ping -M do -s 1472 -c 2 10.30.0.15
ping: local error: message too long, mtu=1400
host$ ping -M do -s 1372 -c 2 10.30.0.15
host$ ip route get 10.30.0.15 | grep -o "mtu [0-9]*"
host$ ss -ti dst 10.30.0.15 | grep -o "pmtu:[0-9]*\|mss:[0-9]*\|retrans:[^ ]*"
R1(config)# interface Tunnel10
R1(config-if)# ip mtu 1400
R1(config-if)# ip tcp adjust-mss 1360
R1(config-if)# ipv6 tcp adjust-mss 1340
The fix order
1. Allow ICMP "fragmentation needed" (IPv4 type 3 code 4) and ICMPv6 Packet Too Big (type 2) through firewalls.
2. Clamp the MSS on tunnel interfaces: the tunnel MTU minus 40 bytes for IPv4, minus 60 for IPv6.
3. Check that the interface MTU on both ends of each link matches.
Retransmission counters that climb only for large transfers, while small requests work, point to MTU rather than to congestion.
Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → TCP Retransmission, PMTUD & MSS Reference. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc9293.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Operational notes
Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.
TCP Loss & PMTUD
Retransmission vs MTU evidence.
30-second lookup
- Open Packet Field Explorer for field-level metadata.
- Use Packet Decoders for bit/flag values where relevant.
- Use Paste Output / Structured Parser for CLI evidence.
- Use Packet Filters to prove the wire boundary.
Evidence rule
A decoded field proves what is present in that packet/output at that moment. Continue through the verification chain before concluding end-to-end behavior.