Diagnose packet loss and latency on a Linux path

8 steps · about 2 h 28 min · Intermediate

  1. Establish repeatable reachability measurements (reference, Mankier, 18 min)

    Control count, payload and address family so latency and loss samples can be compared.

  2. Observe the routed path (reference, Mankier, 16 min)

    Look for route variation without assuming every silent hop drops forwarded traffic.

  3. 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.

  4. Check the local neighbour layer (reference, Mankier, 14 min)

    Test local address reachability and find neighbour conflicts before blaming the routed path.

  5. 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.

  6. 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.

  7. Connect symptoms to TCP state (reference, Mankier, 18 min)

    Inspect connection statistics and compare them with interface and queue evidence from the same interval.

  8. 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.