IP and Connectivity Tools
ping: 'ping 8.8.8.8' — ICMP RTT test. 'ping -t 8.8.8.8' (Windows, continuous). 'ping -c 100 8.8.8.8' (Linux, 100 packets for loss calculation). Use extended ping for loss measurement. traceroute (Windows: tracert): path discovery. 'tracert 8.8.8.8' (Windows), 'traceroute 8.8.8.8' (Linux). MTR: 'mtr 8.8.8.8' — continuous traceroute with per-hop loss and latency statistics.
nslookup / dig: 'nslookup google.com', 'dig google.com MX'. pathping: Windows tool combining ping and traceroute — shows per-hop packet loss statistics over multiple rounds. Useful for intermittent loss identification.
netstat: 'netstat -an' (all connections, numeric). 'netstat -rn' (routing table). 'netstat -s' (protocol statistics). 'netstat -e' (Ethernet statistics — packet counts, errors). ss: modern Linux replacement for netstat. arp: 'arp -a' (display ARP cache). 'arp -d IP' (delete ARP entry). route: 'route print' (Windows, routing table). 'route add' (add static route).
Scanning and Analysis Tools
nmap: network scanner — discovers hosts, open ports, OS fingerprinting, service versions. 'nmap -sV 192.168.1.0/24' scans a subnet for services. Used for network inventory and vulnerability assessment pre-scans. Requires authorization — unauthorized scanning is illegal.
iperf3: throughput testing. 'iperf3 -s' (server). 'iperf3 -c server-ip -t 30' (client, 30-second test). Measures maximum TCP/UDP throughput between endpoints. Wireshark: GUI packet capture and analysis. Decodes protocols, follows TCP streams, provides statistics. 'tcp.port == 443' display filter.
Curl / wget: test web server connectivity at HTTP/HTTPS layer. 'curl -v https://server' shows full HTTP request/response including TLS details. Useful for troubleshooting web server and certificate issues without a browser.