Network Troubleshooting Guide: Diagnose and Fix Common Issues

· 12 min read

📑 Table of Contents

Network problems are among the most frustrating technical issues because they affect everything. A slow or broken network means no email, no web browsing, no cloud apps, no video calls — essentially, no work. Yet most network issues follow predictable patterns and can be diagnosed systematically.

This guide gives you a structured troubleshooting framework that works for home networks, office environments, and server infrastructure. Whether you're dealing with intermittent connectivity, slow speeds, or complete outages, following these steps will help you identify and resolve the issue efficiently.

The OSI Troubleshooting Approach

The OSI (Open Systems Interconnection) model provides a logical framework for network troubleshooting. Rather than randomly testing different components, work systematically from the bottom up — physical layer first, application layer last. This approach ensures you don't waste time troubleshooting DNS when the real problem is a loose cable.

Here's how the OSI layers map to practical troubleshooting steps:

Layer What to Check Common Issues Tools
1. Physical Cables, ports, LEDs, hardware Loose cables, damaged ports, dead hardware Visual inspection, cable tester
2. Data Link MAC addresses, switch ports, VLANs VLAN misconfiguration, switch loops, duplex mismatch Switch management interface, arp
3. Network IP addresses, routing, subnets Wrong IP, bad gateway, routing issues ping, ipconfig/ifconfig, route
4. Transport Ports, firewalls, TCP/UDP Blocked ports, firewall rules, connection timeouts telnet, nc, nmap
7. Application DNS, HTTP, app configuration DNS failure, misconfigured services, certificate issues nslookup, dig, curl

Pro tip: When troubleshooting, document each test you perform and its result. This creates a clear trail of what you've checked and helps identify patterns if the issue recurs.

Step 1: Verify Physical Connectivity

Before running any commands, check the basics. Physical layer issues account for a surprising number of network problems, and they're the fastest to verify.

For Wired Connections

Start with these visual and physical checks:

For WiFi Connections

Wireless troubleshooting requires different checks:

Quick tip: WiFi operates on 2.4GHz and 5GHz bands. The 2.4GHz band has better range but more interference, while 5GHz offers faster speeds over shorter distances. Try switching bands if your router supports both.

Step 2: Check IP Configuration

Once you've verified physical connectivity, confirm your device has a valid IP address and network configuration. An incorrect IP configuration is one of the most common causes of network problems.

Checking Your IP Address

On Windows, open Command Prompt and run:

ipconfig /all

On macOS or Linux, use:

ifconfig

Or the newer command:

ip addr show

What to Look For

Your IP configuration should show:

Fixing IP Configuration Issues

If your configuration looks wrong, try renewing your IP address:

On Windows:

ipconfig /release
ipconfig /renew

On macOS:

sudo ipconfig set en0 DHCP

On Linux:

sudo dhclient -r
sudo dhclient

If you're still getting a 169.254.x.x address after renewal, the problem is likely with your DHCP server (usually your router). Check that DHCP is enabled in your router settings, or try assigning a static IP address manually.

Pro tip: Use our IP Subnet Calculator to verify that your IP address, subnet mask, and gateway are all in the correct range for your network.

Step 3: Test Local Connectivity

With a valid IP configuration confirmed, test whether you can communicate with other devices on your local network. This isolates whether the problem is within your local network or with external connectivity.

Ping Your Gateway

The first test is pinging your default gateway (router):

ping 192.168.1.1

Replace the IP with your actual gateway address. You should see replies with response times typically under 10ms:

Reply from 192.168.1.1: bytes=32 time=2ms TTL=64

If pings fail or show high latency (over 100ms), you have a local network problem. This could indicate:

Test Internet Connectivity

Next, ping a reliable external server to test internet connectivity:

ping 8.8.8.8

This pings Google's public DNS server. If this works but you can't browse websites, the issue is likely DNS-related (covered in the next section).

If pings to your gateway work but external pings fail, the problem is with your internet connection or router's WAN configuration. Check your router's status page for WAN connectivity issues.

Understanding Ping Results

Result Meaning Next Steps
Request timed out No response received Check firewall, verify target is reachable
Destination host unreachable No route to target Check routing, gateway configuration
High latency (>100ms) Network congestion or poor connection Check for bandwidth-heavy applications, WiFi interference
Packet loss (>5%) Unstable connection Check cables, WiFi signal, network congestion

Quick tip: Run continuous pings with ping -t (Windows) or just ping (macOS/Linux) to monitor connection stability over time. Press Ctrl+C to stop and see statistics.

Step 4: DNS Troubleshooting

DNS (Domain Name System) translates human-readable domain names like google.com into IP addresses. DNS problems are extremely common and often mistaken for general connectivity issues.

Identifying DNS Problems

If you can ping IP addresses (like 8.8.8.8) but can't access websites by name, you have a DNS issue. Test DNS resolution with:

nslookup google.com

Or use the more detailed dig command (macOS/Linux):

dig google.com

A successful DNS lookup returns the IP address. If you see errors like "server can't find" or timeouts, DNS resolution is failing.

Common DNS Fixes

Flush your DNS cache:

On Windows:

ipconfig /flushdns

On macOS:

sudo dscacheutil -flushcache
sudo killall -HUP mDNSResponder

On Linux:

sudo systemd-resolve --flush-caches

Change your DNS servers:

If your ISP's DNS servers are slow or unreliable, switch to public DNS servers:

You can change DNS servers in your network adapter settings or router configuration. Our DNS Lookup Tool lets you test DNS resolution from multiple servers to compare performance.

Testing DNS Performance

Use our DNS Speed Test to measure query response times from different DNS providers. Faster DNS servers improve browsing speed, especially when visiting new websites.

Pro tip: DNS issues can also cause problems with email, VPNs, and other services that rely on domain name resolution. If multiple services fail simultaneously, DNS is often the culprit.

Step 5: Trace the Route

When you can reach some destinations but not others, or experience intermittent connectivity, tracing the network path helps identify where packets are being dropped or delayed.

Using Traceroute

Traceroute shows each hop (router) your packets pass through to reach a destination:

On Windows:

tracert google.com

On macOS/Linux:

traceroute google.com

The output shows each router along the path with response times. Look for:

Interpreting Traceroute Results

A typical traceroute shows:

1    2ms    1ms    1ms    192.168.1.1
2    15ms   12ms   14ms   10.0.0.1
3    18ms   16ms   17ms   72.14.215.85
4    20ms   19ms   21ms   142.250.224.46

The first hop is your router, followed by your ISP's network, then backbone routers, and finally the destination. Response times should gradually increase but remain relatively stable.

If you see a sudden jump from 20ms to 200ms at a specific hop, that indicates congestion or a slow link. If the problem is within your ISP's network (first few hops), contact your ISP. If it's further along the path, the issue is likely with upstream providers.

Quick tip: Use our Visual Traceroute Tool to see a geographic map of your network path and identify where delays occur.

Step 6: Check Firewalls and Ports

Firewalls and port filtering can block specific services while allowing general internet access. If you can browse websites but can't use email, VPN, or other services, firewall rules are likely the cause.

Testing Port Connectivity

Test if a specific port is open and accepting connections:

Using telnet (Windows/macOS/Linux):

telnet example.com 80

If the connection succeeds, you'll see a blank screen or connection message. If it fails, you'll see "Connection refused" or a timeout.

Using netcat (macOS/Linux):

nc -zv example.com 80

This tests port 80 (HTTP). Common ports to test include:

Checking Firewall Rules

On Windows, check Windows Firewall:

netsh advfirewall show allprofiles

On macOS, check the firewall in System Preferences > Security & Privacy > Firewall.

On Linux, check iptables or firewalld:

sudo iptables -L -n
sudo firewall-cmd --list-all

Look for rules that might be blocking your traffic. Temporarily disabling the firewall can help determine if it's the cause (but remember to re-enable it afterward).

Corporate and Network Firewalls

If you're on a corporate network, additional firewalls may exist at the network perimeter. These often block:

Contact your IT department if you need access to blocked services. Use our Port Checker Tool to quickly test if specific ports are accessible from your network.

Pro tip: Many services use non-standard ports for security. If a service isn't working, check its documentation for the correct port number before assuming it's blocked.

Step 7: Performance Diagnostics

When connectivity works but performance is poor, you need to measure bandwidth, latency, and packet loss to identify the bottleneck.

Bandwidth Testing

Test your actual internet speed versus what you're paying for. Use our Network Speed Test or other speed test services. Run tests at different times of day to identify patterns.

Compare your results to your ISP's advertised speeds. Some degradation is normal, but if you're getting less than 80% of advertised speeds consistently, contact your ISP.

Latency and Jitter

Latency (ping time) affects real-time applications like video calls and gaming. Run extended ping tests to measure:

ping -n 100 8.8.8.8

Look at the statistics:

Identifying Bandwidth Hogs

On Windows, use Resource Monitor to see which applications are using network bandwidth:

resmon.exe

On macOS, use Activity Monitor (Network tab).

On Linux, use tools like iftop or nethogs:

sudo iftop -i eth0

Common bandwidth consumers include:

Quality of Service (QoS)

If multiple devices compete for bandwidth, configure QoS in your router to prioritize important traffic. Most modern routers allow you to prioritize:

Quick tip: WiFi performance degrades significantly with distance and obstacles. For bandwidth-intensive tasks, use wired Ethernet connections whenever possible.

Advanced Troubleshooting Techniques

When basic troubleshooting doesn't resolve the issue, these advanced techniques can help identify complex problems.

Packet Capture Analysis

Wireshark captures and analyzes network packets, showing exactly what's happening on the wire. This is invaluable for diagnosing:

Start a capture, reproduce the problem, then stop and analyze the captured packets. Look for TCP retransmissions, RST packets, or unusual traffic patterns.

MTU Path Discovery

Maximum Transmission Unit (MTU) mismatches can cause mysterious connectivity issues where some sites work and others don't. Test MTU with ping:

On Windows:

ping -f -l 1472 google.com

On macOS/Linux:

ping -D -s 1472 google.com

If this fails, reduce the packet size until it succeeds. The working size plus 28 bytes (IP and ICMP headers) is your path MTU. Standard Ethernet MTU is 1500 bytes.

ARP Cache Issues

ARP (Address Resolution Protocol) maps IP addresses to MAC addresses. A corrupted ARP cache can cause connectivity issues on the local network.

View your ARP cache:

arp -a

Clear the ARP cache:

On Windows:

arp -d

On macOS/Linux:

sudo ip -s -s neigh flush all

Checking for Duplicate IPs

Duplicate IP addresses cause intermittent connectivity as devices fight for the same address. Check your system logs for "IP address conflict" messages.

On Windows, Event Viewer shows these under System logs. On Linux, check /var/log/syslog or journalctl.

To resolve, either use DHCP exclusively or maintain a proper static IP allocation spreadsheet to avoid conflicts.

Pro tip: When troubleshooting complex issues, create a network diagram showing all devices, their IPs, and how they connect. This visual reference often reveals configuration mistakes.

Quick Reference: Common Problems and Solutions

Here's a quick lookup table for the most frequent network issues and their solutions:

Problem Symptoms Common Causes Solution
No internet connection Can't access any websites or services ISP outage, router issue, unpaid bill Check router status lights, restart modem/router, contact ISP
Intermittent connectivity Connection drops randomly WiFi interference, overheating hardware, ISP issues Check WiFi channel congestion, ensure proper ventilation, monitor connection stability
Slow speeds Pages load slowly, downloads take forever Bandwidth congestion, WiFi interference, ISP throttling Check for bandwidth-heavy apps, test wired connection, run speed test
Can't access specific sites Some sites work, others don't DNS issues, firewall blocking, site is down Flush DNS cache, try different DNS servers, check if site is down for everyone
High latency/lag Delays in video calls, gaming Network congestion, poor WiFi signal, ISP routing Use wired connection, check for background downloads, test at different times
Limited connectivity Connected but no internet access DHCP failure, gateway unreachable, authentication issue Renew IP address, check gateway connectivity, verify WiFi password

Essential Network Troubleshooting Tools

Having the right tools makes network troubleshooting faster and more effective. Here are the essential tools every IT professional and power user should know:

Built-in Command Line Tools

Web-Based Tools

Our suite of network tools provides browser-based alternatives with enhanced features:

Advanced Tools

For deeper analysis, consider these professional tools:

Quick tip: Bookmark our Network Tools page for quick access to all troubleshooting utilities in one place.

Frequently Asked Questions

Why does my internet work on some devices but not others?