~/netref / Diagnostic Tools & ICMP
##

Diagnostic Tools & ICMP

The toolkit for finding where a network breaks, plus the ICMP types ping and traceroute rely on.

// tools
pingICMP echo — reachability & RTT
traceroute / tracertHop-by-hop path via TTL
nslookup / digDNS queries & records
ipconfig / ip / ifconfigInterface configuration
arp -aView ARP / MAC cache
netstat / ssSockets & listening ports
tcpdump / WiresharkPacket capture & analysis
nmapPort & host scanning
iperfThroughput testing
// ICMP types
0Echo Reply
3Destination Unreachable
5Redirect
8Echo Request
11Time Exceeded (TTL=0)
// extended toolkit
iperf3Throughput / bandwidth testing
mtrContinuous traceroute + loss per hop
nmapPort & service discovery
netcat (nc)Raw TCP/UDP connections & listeners
arp / ip neighView or clear the ARP cache
ss / netstatSockets & listening ports

// troubleshooting method (7 steps)

1Identify the problem
2Establish a theory of probable cause
3Test the theory
4Plan of action / escalate
5Implement the solution
6Verify full functionality
7Document findings