When a sender gets no timely acknowledgment for data it already sent, it sends that data again. That is a TCP retransmission, and it is how TCP keeps network communication reliable across links that drop, delay, or reorder packets. A TCP retransmission happens when the sender either receives three duplicate ACKs (fast retransmit) or its retransmission timer expires (timeout-based retransmission); you fix it by proving whether the trigger was real packet loss, reordering, or a capture artifact, then correcting that specific cause.

A handful of retransmissions on a busy link is normal. A steady stream of them means something on the path, the host, or the capture itself deserves your attention. The hard part is that a Wireshark flag looks the same whether a switch dropped a frame or two packets simply arrived out of order.
PacketTools approaches this the way production engineers do: start with path checks, confirm with counters and captures, then change one thing and measure again. By the end you will be able to read duplicate ACKs, separate loss from reordering, and verify a fix with the same workload that exposed the problem, which is the core of sound network troubleshooting.
How Does TCP Recover Unacknowledged Data?
TCP recovers missing data with two triggers and one helper: duplicate ACKs drive fast retransmit, an adaptive timer catches anything feedback misses, and selective acknowledgment tells the sender exactly which byte ranges are gone. All three sit on top of sequence numbers carried in every TCP header.
Retransmission, the resending of damaged or lost packets, is one of the basic mechanisms that packet-switched protocols use to provide reliable communication. Transmission Control Protocol builds its reliable data transfer at the transport layer of TCP/IP; user datagram protocol (UDP) does not retransmit at all, which is why applications such as DNS choose carefully between TCP or UDP for DNS depending on message size.
How Sequence Numbers and Cumulative Acknowledgments Track Delivery
After the three-way handshake sets up a TCP connection, each side numbers every byte it sends. A TCP segment carries a sequence number for its first byte, and a checksum protects data integrity in transit.
The receiver answers with a cumulative acknowledgment: the ACK number is the next byte it expects. If it has bytes 1 through 4,380 in order, it sends ACK 4381, no matter how many segments delivered them.
This design, dating back to RFC 793, is simple and robust. It also means the receiver cannot say “I have bytes 5,841 onward” without extra help. When a gap appears, all it can do is keep repeating the same ACK number.
When Do Duplicate ACKs Trigger Fast Retransmit?
Those repeated ACK numbers are duplicate acknowledgments. Each out-of-order segment that arrives after a gap produces another duplicate ACK pointing at the missing byte.
Classic TCP Reno treats three duplicate ACKs as a loss signal. The sender resends the missing segment immediately, without waiting for its timer. That is fast retransmit (also called fast retransmission).
Here is the sequence when segment 2 of 5 is lost:
- Segment 1 arrives; receiver ACKs asking for segment 2.
- Segment 3 arrives; receiver repeats the request for segment 2 (dup ACK #1).
- Segment 4 arrives; dup ACK #2.
- Segment 5 arrives; dup ACK #3, and the sender retransmits segment 2.
- Once segment 2 lands, the receiver jumps straight to asking for segment 6.
Fast retransmit needs enough later traffic to generate the duplicates. A short request that loses its last segment never produces three duplicate ACKs, so it falls back to the timer.
How Does the Retransmission Timeout Adapt to RTT?
The TCP retransmission timeout (RTO) is computed per connection from measured round-trip time (RTT). RFC 6298 tracks a smoothed RTT and an RTT variation, then sets RTO to the smoothed RTT plus four times the variation, with a one-second minimum in the standard. Before any RTT sample exists, the initial RTO is one second.
Each expiry doubles the RTO (exponential backoff). Real stacks deviate from the RFC floor: Linux has long used a 200 ms minimum RTO.
Windows documents its own behavior: the timer starts at three seconds when a connection is established, doubles per retry, and TcpMaxDataRetransmissions defaults to 5 attempts before the connection aborts.
Timeouts hurt far more than fast retransmits. Every RTO is dead time the application feels as a freeze, and the sender restarts cautiously afterward.
How Does SACK Help Recover Multiple Missing Segments?
Selective acknowledgment (SACK), defined in RFC 2018 and negotiated during the handshake, lets the receiver list the blocks it already holds. A duplicate ACK can say “still need 2921, but I have 4381 to 8761.”
With that map, the sender resends only the holes. When two or three segments vanish from the same window, SACK-based recovery (RFC 6675) can repair them in one round trip, where plain cumulative ACKs would reveal one hole per round trip or push the connection into an RTO.
In captures, look for the SLE and SRE values in the TCP options. If SACK is absent on both SYNs, a middlebox may be stripping options, and multi-segment losses will recover more slowly.
What Causes Repeated Retransmissions?

Repeated TCP retransmissions come from four families of problems: queues overflowing under network congestion, physical or radio impairment, end hosts that cannot keep up, and path problems such as MTU mismatch or filtering. Each family leaves a different fingerprint in round-trip time, direction, and timing of the affected data packets.
Network Congestion, Queue Drops, and Delayed ACK Delivery
Congestion is the most common cause on internet paths. A router or switch with a full buffer drops whatever arrives next, usually tail-first.
The giveaway is rising RTT followed by a burst of fast retransmissions. Queues fill, delay climbs, then the buffer overflows. That pattern is the classic signature of bufferbloat, and it correlates with heavy phases such as backups or large downloads.
Short bursts count too. A buffer that fills for tens of milliseconds drops packets while a five-minute utilization graph looks calm. Check interface output drops or discards rising while average utilization stays low.
Delayed or lost ACKs on the return path produce a different symptom: spurious retransmissions. The data arrived, but the ACK came back late enough that the sender gave up waiting.
Wireless Interference, Faulty Links, and Duplex Mismatch
Wi-Fi retries at Layer 2 before TCP ever notices. TCP retransmissions appear only when the radio gives up, so by the time you see them, the 802.11 layer has already been struggling. Wireless interference shows up as wildly swinging RTT values and bursts in both directions. Running a network jitter test from the affected client quickly confirms that instability.
Wired faults are quieter. A marginal transceiver, dirty fiber, or a bad patch lead corrupts frames, the receiving port discards them on FCS failure, and TCP resends. The port stays up the entire time.
Duplex mismatch is the old classic: one end full duplex, the other half. Symptoms:
- Retransmissions spike when traffic flows both ways at once
- One direction stays mostly clean
- Late collisions on the half-duplex side, CRC errors on the full-duplex side
NIC Drops, Host Overload, and Virtual Network Bottlenecks
Sometimes the network delivered every packet and the receiving host dropped it. A NIC receive ring overflows when the CPU cannot drain it fast enough, which happens during bulk transfers on busy servers.
Clues: retransmissions only toward one host, no RTT climb before the loss, and RX drop counters in ethtool -S eth0 on Linux or “Packets Received Discarded” in Windows Performance Monitor.
Virtualized hosts add more places to lose packets: vNIC queues, the virtual switch, and an oversubscribed hypervisor CPU. Packet loss from VMs falling behind on incoming traffic is a recognized source in Google Cloud’s guidance on tuning TCP retransmission behaviour.
Separately, check for TCP ZeroWindow. A receiver advertising a zero window is stalling the sender without any loss, and it looks identical from the user’s seat.
MTU Mismatch, Path MTU Discovery Failures, and Filtering
An MTU mismatch produces one of the most recognizable patterns. The handshake succeeds because SYN packets are small. The first full-size segment, often 1,460 bytes of payload, then retransmits over and over with no ACK.
The cause is a PMTU black hole: a link along the path has a smaller MTU, the Don’t Fragment bit is set, and a firewall blocks the ICMP “Fragmentation Needed” message that would tell the sender to shrink. Tunnels, VPNs, and PPPoE links are frequent offenders, so knowing your MTU across the path narrows this fast.
Other filtering produces retransmissions too. Stateful firewalls and IPS devices under load drop sessions silently, and asymmetric routing causes a stateful device to see only half a conversation and discard the rest.
How Can You Distinguish Loss from Reordering in Wireshark?

You separate real loss from reordering by finding the same byte range in two captures: if the sender trace shows the original segment and the receiver trace never does, the network lost it. If the original shows up at the receiver late, it was reordered. Wireshark analysis flags point you to the right frames, but the two-point comparison proves the cause.
Capture the Affected Flow with Wireshark or tcpdump
Start the packet capture before the connection opens, so you see the handshake. Wireshark needs the SYN exchange to learn the initial RTT and SACK options.
On a Linux server, a focused tcpdump keeps files small:
tcpdump -ni eth0 -s 0 -w sender.pcap 'host 198.51.100.10 and tcp port 443'
Capture at both ends whenever you can. One capture tells you something went wrong; two captures tell you where. Note the capture statistics when you stop: “packets dropped by kernel” above zero means your file is incomplete.
Filter Retransmissions and Duplicate ACKs Within One TCP Stream
Isolate one conversation first with tcp.stream eq N, then layer analysis filters on top:
| Filter | What it shows |
|---|---|
tcp.analysis.retransmission |
Segments resent after the next expected sequence passed them |
tcp.analysis.fast_retransmission |
Resends following duplicate ACKs |
tcp.analysis.duplicate_ack |
Repeated acknowledgment numbers from the receiver |
tcp.analysis.out_of_order |
Older sequence numbers arriving shortly after newer ones |
tcp.analysis.spurious_retransmission |
Data resent after it was already ACKed |
Wireshark labels a fast retransmission when it has seen at least two duplicate ACKs in the reverse direction and the last acknowledgment arrived less than 20 ms earlier. Out-of-order wins over plain retransmission when the segment arrives within the initial RTT, or 3 ms if no handshake was captured.
Read Annotated Traces of Actual Loss and Packet Reordering
The two traces below are illustrative, built to show the patterns. Sequence numbers are relative.
Actual loss, seen at the sender:
#41 Seq=14481 Len=1448 original send
#42 Seq=15929 Len=1448
#43 Seq=17377 Len=1448
#44 ACK=14481 receiver still wants 14481
#45 ACK=14481 [Dup ACK #1] SACK 15929-17377
#46 ACK=14481 [Dup ACK #2] SACK 15929-18825
#47 Seq=14481 Len=1448 [TCP Fast Retransmission]
#48 ACK=18825 gap filled, ACK jumps forward
Check the receiver capture for Seq=14481 before frame #47’s timestamp. If it is absent, the segment died between the two capture points. Pair that with a rising drop counter on a switch port in between and you have proof.
Reordering, seen at the receiver:
#88 Seq=30409 Len=1448
#89 Seq=28961 Len=1448 [TCP Out-Of-Order] arrives 0.4 ms later
#90 ACK=31857
The “missing” segment arrived within a fraction of a millisecond. If the delay stretches long enough to produce duplicate ACKs, the sender retransmits data that was never lost. Load-balanced links, LAG hashing changes, and some wireless drivers cause this. Reordering inflates retransmission counts while every queue reports zero drops, so check drop counters before blaming congestion.
Recognize Capture Drops, Offload Effects, and Misleading Analysis Flags
Some flags describe your capture, not your network:
- “TCP Previous segment not captured” with no later retransmission usually means the capture missed a frame. The ACKs keep advancing because the receiver got it.
- “TCP ACKed unseen segment” is the same story from the other side: the endpoint acknowledged data your sniffer never recorded.
- Offloads (TSO, GSO, GRO) make a host-side capture show 64 KB “segments” that never existed on the wire. Capture on a SPAN port or tap, or disable offloads on a lab interface only.
- Capture location changes labels. Wireshark processes packets in file order, so a sender-side and receiver-side capture of the same flow produce different retransmission counts. Never add them together.
When Do Retransmissions Become a Performance Problem?
Retransmissions become a problem when they push recovery into timeouts or keep the congestion window small enough to cap throughput for the workload you care about. Rules of thumb put a healthy wired connection under 0.1% retransmitted segments, with users noticing around 1%. Treat those as starting points; your own baseline counts for more.
Why Recovery Affects Throughput and Application Latency
Every loss costs time. A fast retransmit costs roughly one extra round trip. An RTO costs the full timer, often hundreds of milliseconds to over a second, during which the application receives nothing.
Interactive traffic suffers most. SSH, RDP, and database calls wait on each missing byte, because TCP delivers in order; one lost segment holds back everything queued behind it. That head-of-line blocking adds directly to the internet latency users feel, even when bandwidth graphs look fine.
How Loss Changes the Congestion Window and Recovery Behavior
TCP congestion control reacts to each loss signal by sending less.
- Slow start grows the TCP congestion window exponentially from a small initial value.
- Congestion avoidance grows it about one segment per RTT once past the slow-start threshold.
- Fast recovery (TCP Reno) halves the window after a fast retransmit and keeps data flowing.
- After an RTO, the window collapses to one segment and slow start begins again.
On a long-RTT path, rebuilding a halved window takes many round trips, so even modest loss rates crush throughput on high-bandwidth, long-distance links.
Measure Counter Deltas and Compare Against a Workload Baseline
Cumulative counters since boot tell you little. Take deltas over a known interval.
On Linux, nstat -az TcpRetransSegs TcpOutSegs before and after a test gives retransmitted versus total segments. ss -tin shows per-connection retrans, rto, and rtt. On Windows, netstat -s lists “Segments Retransmitted” under TCP statistics.
Run the same transfer at a quiet hour and a busy one. A rate that climbs from 0.2% to 1.4% only at peak points toward congestion; a constant rate points toward a fault.
How Do You Fix the Confirmed Cause and Verify Recovery?
Fix only what your evidence identified, then rerun the identical workload and compare retransmission deltas, RTT, and throughput against your baseline. That loop of check, change, and remeasure keeps you from tuning TCP to hide a hardware or path fault.
Use PacketTools Ping and Traceroute for Initial Path Checks
PacketTools’ free Ping Test and Traceroute run in the browser with no sign-in, and they do not log your IPs or test data. Use them for a quick outside-in view: loss or latency spikes at a specific hop, or a path that differs from what you expect.
Keep their limits in mind. ICMP probes never see a TCP connection’s congestion window or timers, so a clean ping does not clear a retransmitting flow. Learning to trace a route hop by hop helps you spot where delay starts, and on Windows, Test-NetConnection confirms a TCP port answers from the affected host.
Correlate Interface Counters and Controlled iperf3 Tests
Line up retransmission timestamps with interface counters on every device in the path: input errors, CRC/FCS, output drops, discards.
Then reproduce with iperf3:
iperf3 -c server -t 30 # client to server
iperf3 -c server -t 30 -R # reverse direction
iperf3 -c server -t 30 --bidir # both at once
iperf3 reports retransmits per interval. Retransmits that appear only with --bidir suggest duplex mismatch; retransmits that climb with -P 8 parallel streams suggest a congested queue.
Correct Link, Wireless, MTU, and Queueing Problems
Match the fix to the cause you proved:
- Duplex mismatch: set both ends to auto-negotiate, or hardcode both identically.
- CRC errors: replace optics, clean fiber, swap the patch lead.
- Wireless interference: change channel, move to 5 GHz, or wire critical clients.
- MTU mismatch: allow ICMP “Fragmentation Needed,” or clamp TCP MSS on the tunnel interface.
- Network congestion: apply quality of service (QoS) to protect sensitive traffic, enable fq_codel or CAKE on the bottleneck, or add capacity.
- NIC drops: enlarge ring buffers, enable RSS, update drivers and firmware.
Repeat the Same Workload Before Changing TCP Settings
Rerun the exact test, same direction, duration, and time of day, and capture again at both points. Confirm the drop counter stopped climbing and the retransmission delta fell.
Adjust TCP retransmission timeout values or registry settings only after the path is clean. Longer timers mask loss; shorter ones cause spurious retransmissions on jittery links.
Fix the Evidence-Backed Cause, Not the Retransmission Flag
A retransmission flag is a symptom. Real packet loss, out-of-order packets, receiver stalls, and gaps in your own packet capture all produce TCP retransmissions or labels that look like them.
Prove the cause by matching one byte range across sender and receiver captures, checking drop and error counters along the path, and measuring deltas against a baseline. Then fix that cause, rerun the identical iperf3 or application test, and accept the fix only when the retransmission delta and the drop counter both fall back to baseline.

Leave a Reply