Diagnose packet loss and latency on a Linux path
8 steps · about 2 h 28 min · Intermediate
- Establish repeatable reachability measurements (reference, Mankier, 18 min)
Control count, payload and address family so latency and loss samples can be compared.
- Observe the routed path (reference, Mankier, 16 min)
Look for route variation without assuming every silent hop drops forwarded traffic.
- Interpret multi-hop loss carefully (reference, Mankier, 18 min)
Compare downstream loss and latency patterns so ICMP rate limiting at one router is not misdiagnosed as data loss.
- Check the local neighbour layer (reference, Mankier, 14 min)
Test local address reachability and find neighbour conflicts before blaming the routed path.
- Inspect interface counters and link state (reference, Linux man-pages, 20 min)
Use driver statistics, speed and duplex evidence to spot local errors and drops.
- Recognize local queueing behaviour (reference, Linux man-pages, 20 min)
Inspect qdiscs and counters and understand how congestion or shaping can add delay and drops.
- Connect symptoms to TCP state (reference, Mankier, 18 min)
Inspect connection statistics and compare them with interface and queue evidence from the same interval.
- Run a controlled throughput test (guide, ESnet iperf3 documentation, 24 min)
Compare directions and parallelism with an authorized endpoint, then report measurements, limitations and the likely fault domain.