Microsoft Docs

Network Troubleshooting Guide

This guide provides a systematic approach to diagnosing and resolving common network issues. We'll cover a range of problems, from basic connectivity to complex performance bottlenecks.

Common Symptoms and Initial Checks

Before diving deep, it's essential to identify the symptoms and perform quick, basic checks.

1. No Connectivity

2. Slow Network Performance

3. Intermittent Connectivity

Diagnostic Tools and Techniques

Leverage these powerful tools to pinpoint the root cause of your network problems.

1. Ping

The ping command is fundamental for checking reachability and latency between two hosts.

ping google.com
ping 192.168.1.1

2. Traceroute (or Tracert)

traceroute (Linux/macOS) or tracert (Windows) maps the path packets take to a destination, showing each hop and its latency. This is invaluable for identifying where a connection is failing or slowing down.

traceroute google.com
tracert 8.8.8.8

3. Nslookup (or Dig)

nslookup (Windows/Linux/macOS) or dig (Linux/macOS) queries Domain Name System (DNS) servers to resolve hostnames to IP addresses. Problems here can prevent you from reaching websites by name.

nslookup microsoft.com
dig google.com

4. Netstat

netstat displays network connections, routing tables, interface statistics, and more. It helps identify which ports are open and which processes are listening.

netstat -an
netstat -p tcp -a -n

5. Wireshark

Wireshark is a powerful network protocol analyzer. It captures and displays network traffic in detail, allowing for deep packet inspection. This is typically for advanced troubleshooting.

Tip: Start with basic tools like ping and traceroute before resorting to packet captures. Wireshark can generate a lot of data.

Troubleshooting Specific Scenarios

DNS Resolution Issues

If you can ping IP addresses but not hostnames, it's likely a DNS problem.

Firewall Blocking

Firewalls (both on your device and network) can block legitimate traffic.

Network Adapter Issues

Problems with your network adapter can manifest in various ways.

Advanced Network Configuration

For more complex environments, understanding routing, subnets, and protocols is crucial.

Remember: Document your network topology, configurations, and any changes made. This is invaluable for future troubleshooting.