Command-Line Network Tools
ipconfig: displays IP configuration. 'ipconfig' — shows IP, subnet mask, default gateway. 'ipconfig /all' — shows full config including MAC address, DHCP server, DNS servers, lease dates. 'ipconfig /release' — releases DHCP lease. 'ipconfig /renew' — requests new DHCP lease. 'ipconfig /flushdns' — clears local DNS cache (resolves stale DNS records causing wrong site loading).
ping: tests connectivity using ICMP. 'ping 8.8.8.8' — tests internet connectivity by IP. 'ping google.com' — tests DNS AND connectivity. 'ping 127.0.0.1' — tests local TCP/IP stack (should always succeed). 'ping [default gateway IP]' — tests local network connectivity. 'ping -t [IP]' (Windows) — continuous ping. Interpret results: Request timed out = ICMP blocked or host unreachable. Destination host unreachable = no route. TTL expired = routing loop or far destination.
tracert (Windows) / traceroute (Linux): shows the path packets take, hop by hop. Each hop shows the intermediate router IP and round-trip time. Useful for identifying where in the path traffic is failing or slowing down. '*' asterisks: hop is not responding to ICMP (router configured to drop ICMP TTL-expired) — doesn't mean the hop is broken.
nslookup: queries DNS servers. 'nslookup google.com' — resolves name to IP using default DNS server. 'nslookup google.com 8.8.8.8' — queries a specific DNS server. 'nslookup' in interactive mode — type 'server 8.8.8.8' to change DNS, 'set type=MX' for MX records. Useful for comparing results from different DNS servers.
netstat: displays network connections. 'netstat -an' — all connections with numeric addresses. 'netstat -b' — shows which program owns each connection. 'netstat -r' or 'route print' — displays routing table. 'netstat -s' — protocol statistics. Useful for: checking which application is listening on a port, seeing all established connections.
Additional Tools and Physical Tools
net commands: 'net view' — lists computers visible on the network. 'net use' — manage network drive connections. 'net user' — manage local user accounts. 'net start/stop [service]' — start or stop Windows services (e.g., 'net stop spooler' for print spooler).
pathping: Windows tool that combines ping and traceroute. Sends packets to each hop over an extended period and calculates per-hop packet loss statistics. More informative than a single traceroute for identifying intermittent packet loss at a specific hop.
Wi-Fi analyzer: mobile app or software tool that scans wireless networks — shows available SSIDs, signal strength, channel, frequency band. Useful for: identifying channel conflicts, finding strong signal coverage zones, diagnosing poor Wi-Fi signal. Android: Wi-Fi Analyzer app. Windows: built-in (netsh wlan show networks mode=bssid) or third-party apps.
Cable tester: physical tool that verifies continuity, wiring (T568A/T568B), and detects shorts/opens in Ethernet cables. Essential for verifying newly terminated cables. Toner/probe (fox and hound): injects a tone signal on one end of a cable; a probe held near the cable at the other end audibly identifies which cable in a bundle is being traced — essential for cable identification in walls and cable trays.