Network Debugging CLI

traceroute, mtr.

Overview

The network debugging CLI toolbox covers every layer of the stack: traceroute and mtr for path discovery, ss for connection state, dig for DNS resolution, tcpdump for wire-level packet capture, curl for HTTP and TLS handshake investigation. Each tool answers a specific question, and the discipline is in matching the symptom to the right tool rather than reaching for the same one (usually tcpdump) and hoping for the best.

The approach

The practical approach is to start with the symptom (slow request, no connection, DNS failure, wrong response), pick the layer where the symptom lives (network path, connection, name resolution, wire, HTTP), use the right tool for that layer, and drill down through layers when the answer is not at the first level. Reaching for tcpdump first wastes time; reaching for it after eliminating higher layers narrows the investigation.

Why this compounds

Network debugging fluency compounds across investigations. Each command teaches a layer of the stack; each correct tool choice produces faster root cause; the team builds a network model that pays off on every incident.

Network debugging CLI fluency is an operational discipline that pays off across years. Nova AI Ops integrates with network telemetry, surfaces investigation patterns, and supports the team’s investigation discipline.