Catalog / Networking Troubleshooting Cheat Sheet
Networking Troubleshooting Cheat Sheet
A handy cheat sheet covering essential networking troubleshooting commands, techniques, and concepts for network administrators and IT professionals.
Basic Network Troubleshooting Tools
Ping
Description: |
Tests basic network connectivity by sending ICMP echo requests to a target host. |
Command: |
|
Example: |
|
Troubleshooting Use: |
Verify network connectivity, check for packet loss, and measure round-trip time. |
Common Issues: |
Destination unreachable, request timeout, high latency. |
Solutions: |
Check network configuration, verify DNS resolution, investigate network congestion or hardware issues. |
Traceroute/Tracepath
Description: |
Traces the route taken by packets to reach a destination, displaying each hop along the path. |
Command: |
|
Example: |
|
Troubleshooting Use: |
Identify network bottlenecks, locate points of failure, and map the network path. |
Common Issues: |
Hops timing out, unexpected routing paths, excessive latency at specific hops. |
Solutions: |
Investigate problematic hops, check firewall configurations, and review routing tables. |
Nslookup/Dig
Description: |
Queries DNS servers to obtain domain name or IP address information. |
Command: |
|
Example: |
|
Troubleshooting Use: |
Verify DNS resolution, check DNS records, and troubleshoot DNS-related issues. |
Common Issues: |
Incorrect DNS resolution, DNS server unreachable, incorrect DNS records. |
Solutions: |
Verify DNS server settings, check DNS records, and troubleshoot DNS server connectivity. |
Advanced Network Analysis
Tcpdump/Wireshark
Description: |
Packet capture and analysis tools used to inspect network traffic. |
Command: |
|
Example: |
|
Troubleshooting Use: |
Analyze network traffic, identify protocols, troubleshoot network performance issues, and detect security threats. |
Common Issues: |
Excessive traffic, unexpected protocols, suspicious activity, performance bottlenecks. |
Solutions: |
Filter traffic, analyze packet contents, and identify root causes of network issues. |
Netstat/Ss
Description: |
Displays network connections, routing tables, interface statistics, and masquerade connections. |
Command: |
|
Example: |
|
Troubleshooting Use: |
Identify listening ports, check connection states, and monitor network traffic. |
Common Issues: |
High number of connections, connections in CLOSE_WAIT state, unauthorized listening ports. |
Solutions: |
Investigate suspicious connections, identify resource-intensive processes, and secure listening ports. |
Iperf/Nuttcp
Description: |
Network bandwidth measurement tools used to test network throughput and performance. |
Command: |
|
Example: |
|
Troubleshooting Use: |
Measure network bandwidth, identify network bottlenecks, and evaluate network performance. |
Common Issues: |
Low bandwidth, high latency, packet loss. |
Solutions: |
Check network infrastructure, identify bandwidth-intensive applications, and optimize network configuration. |
Common Network Issues and Solutions
IP Address Conflicts
Issue: Two or more devices are configured with the same IP address. Symptoms: Intermittent connectivity issues, inability to access network resources. Solutions:
|
DNS Resolution Problems
Issue: Inability to resolve domain names to IP addresses. Symptoms: Cannot access websites by name, but can access them by IP address. Solutions:
|
Gateway Issues
Issue: Devices are unable to communicate outside the local network. Symptoms: Cannot access the internet, cannot ping external IP addresses. Solutions:
|
Wireless Network Troubleshooting
Signal Strength and Interference
Issue: Weak wireless signal or interference affecting network performance. Symptoms: Slow connection speeds, intermittent disconnections, high latency. Solutions:
|
Authentication Problems
Issue: Inability to connect to the wireless network due to incorrect credentials or authentication failures. Symptoms: Incorrect password error, authentication timeout. Solutions:
|
DHCP Issues
Issue: Devices are unable to obtain an IP address from the DHCP server. Symptoms: APIPA address (169.254.x.x), no internet access. Solutions:
|