Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Reliability

Direct answer

TCP does not make the network reliable; it detects missing byte progress and retransmits. Cumulative ACKs identify the next expected byte, while SACK can describe additional received ranges beyond a gap.

When to use this

Use this Topic for retransmissions, duplicate ACKs, SACK blocks, RTO events, intermittent loss, asymmetric failures and streams that recover slowly after a missing segment.

First 30 seconds

1. Wireshark tcp.analysis.retransmission — how many, which direction?

2. Fast retransmits (after duplicate ACKs) vs RTO timeouts (long pauses)?

3. ss -ti / netstat -s | findstr /i retrans — retransmission counters.

4. Find where loss happens: interface drops, errors, QoS drops along the path.

5. Fix the loss; TCP only hides it.

Operational verification

segment lost → receiver sends duplicate ACKs or sender times out → sender retransmits → receiver ACKs the repaired range → throughput recovers

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard
Scope / prerequisiteUse this Topic for retransmissions, duplicate ACKs, SACK blocks, RTO events, intermittent loss, asymmetric failures and…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational verification and known-good state Verify boundary

Build a byte-range timeline rather than counting analyzer warnings. Identify the first sequence range whose acknowledgement does not advance, then inspect whether the receiver reports later bytes through duplicate ACKs or SACK. Determine whether the sender retransmits quickly or waits for an RTO, and whether the retransmission itself is acknowledged. In parallel, inspect the exact egress/ingress interfaces, queue drops, physical errors, policing and ECMP member used during the event. A known-good case should show monotonic ACK progress with only occasional recovery; a failure case should preserve the same tuple and workload so retransmission density and timing can be compared meaningfully. This section is authored reference guidance for Reliability in the TCP context.

Step 2 Verification & troubleshooting Narrow the fault

1. Verify IP path and return path.

2. Confirm destination port is listening.

3. Inspect the three-way handshake.

5. Validate application request/response.

Step 3 Failure signatures and troubleshooting branches Narrow the fault

If retransmissions cluster around one direction, separate forward data loss from reverse ACK loss: both can cause sender retransmission. If duplicate ACKs and SACK blocks show the receiver obtained later data, trace the missing range through the forward path. If no ACKs return at all, inspect return routing, stateful policy and endpoint health. If retransmission succeeds but throughput stays poor, examine repeated loss, RTT inflation and congestion behavior rather than declaring closure. If the analyzer reports “spurious retransmission,” verify capture completeness before assuming the endpoint behaved incorrectly. Avoid clearing interfaces or routing protocols unless the missing range correlates to an actual device boundary. This section is authored reference guidance for Reliability in the TCP context.

Step 4 When the problem is really fixed Narrow the fault

Closure requires replaying the original stream and showing that the previous missing-byte pattern is gone or reduced to an explained normal baseline, ACKs advance through the same workload, and the application completes successfully. Correlate any device counter improvement with the same timestamps and path member. A clean packet capture at one point cannot show every hop was loss-free, and one successful retransmission does not show the root cause is fixed. Preserve the distinction between protocol-derived observations, device telemetry and authored troubleshooting guidance when recording Evidence later. This section is authored reference guidance for Reliability in the TCP context.

Step 5 Common mistakes Narrow the fault
  • Assuming TCP hides all loss — retransmissions add latency.
  • Ignoring retransmission counters.
Evidence references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

A retransmission proves that the sender believed progress was missing, not where the packet was lost. “TCP retransmission” in an analyzer is an inference based on capture visibility and timing, not automatic root cause.

Key checks
  • Packet capture: tcpdump -nn -i <if> host <ip> and port <p> or Wireshark filter tcp.stream eq <n>.
  • ss -tni (Linux) / netstat -ano (Windows) — connection state, RTT, retransmits and windows.
  • Test-NetConnection <host> -Port <p> / nc -vz <host> <p> — does the handshake complete?
  • show tcp brief (IOS) — TCP sessions to the device itself.
  • show interfaces <if> | include drops|errors — drops on the path.
ReferenceImportant terms & boundaries4 sections · depth on demand

Key operational limits

  • SYN, SYN-ACK, ACK establish a connection
  • Sequence and acknowledgement numbers track bytes

In depth

How TCP achieves reliability

TCP turns an unreliable IP service into a reliable byte stream by combining several mechanisms. RFC 9293 makes the checksum mandatory: senders must generate it and receivers must check it. The retransmission timeout must be calculated dynamically from measured round-trip times, so TCP adapts to slow and fast paths alike. Sequence numbers and cumulative ACKs tell the sender what is missing, and TIME-WAIT, held for 2×MSL (MSL is taken as 2 minutes), stops old duplicates from corrupting a new connection.

Mechanisms working together

MechanismProtects against
ChecksumCorrupted segments
Sequence numbersReordering and duplicates
Cumulative ACK and SACKLoss going unnoticed
Retransmission timer (RTO)Lost segments and lost ACKs
Fast retransmit after duplicate ACKsWaiting a full timeout for a single loss
TIME-WAITOld segments being accepted by a new connection
ResetsHalf-open connections after a crash

Retransmission behaviour

EventTCP response
Three duplicate ACKsResend the missing segment immediately; reduce the congestion window
RTO expiresResend, double the timeout (exponential backoff), sharply reduce the sending rate
Repeated timeoutsThe application eventually sees a connection error
host$ ss -ti dst 10.30.0.15 | grep -o "rto:[^ ]*\|rtt:[^ ]*\|retrans:[^ ]*\|lost:[^ ]*"
rto:204
rtt:3.1/0.8
retrans:0/57
host$ nstat -az TcpRetransSegs TcpExtTCPLostRetransmit
R1# show interfaces GigabitEthernet0/0/1 | include drops|errors
  Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 18842

What reliability doesn't cover

LimitConsequence
Reliability is end to endLoss still happens in the network and costs throughput
No protection against tamperingThe checksum detects errors, not attacks; use TLS
The application must handle connection errorsTCP gives up after repeated timeouts

Retransmissions are a symptom. Find the loss on the path, such as output drops, errors or a congested queue, rather than tuning TCP.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

TCP reliability comes from retransmission: the sender keeps unacknowledged data and resends it when an acknowledgement does not arrive in time (retransmission timeout) or when duplicate ACKs signal a loss. Congestion control reduces the sending rate after loss.

MechanismTrigger
RTO retransmissionNo ACK before the timer expires
Fast retransmitThree duplicate ACKs
Congestion window reductionLoss detected (CUBIC, BBR differ in reaction)

Even 1% packet loss can cut TCP throughput dramatically on high-latency links, so loss matters more than raw bandwidth for TCP performance.

Mechanics and state ownership

TCP reliability maintains a sender-side record of unacknowledged byte ranges and a receiver view of the next contiguous byte expected. When data arrives in order, cumulative ACKs advance. When a gap appears, later segments can trigger duplicate ACK behavior and SACK blocks can tell the sender which non-contiguous ranges are already present. The sender can retransmit based on duplicate-ACK/fast-recovery logic or after a retransmission timeout when progress is insufficient. Reordering can mimic some loss symptoms, and captures taken after NIC offload or on only one direction can distort packet boundaries. Reliability therefore recovers the byte stream, but it does not tell you which Layer-2/Layer-3 hop discarded or delayed the original transmission. This section is authored reference guidance for Reliability in the TCP context.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 9293

Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals → TCP → Reliability. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc9293.html · confidence 94%
Embedded reference data

Quick lookup tables

Reliability operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

Reliability signalMeaningCommon ambiguityNext proof
Duplicate ACKReceiver not advancing cumulative ACKReordering or ACK duplicationSequence/SACK timeline
SACK blockLater byte range received beyond gapCapture may miss original packetTrace missing range
Fast retransmitSender reacted before RTOAlgorithm-dependent triggerLoss/reordering evidence
RTO retransmitProgress timed outForward or reverse lossBoth directions/path
ACK advances after retryGap repairedRoot cause may remainRepeated workload
Confirmation

Confirm action

Continue?