Network troubleshooting tools are utilities and software that help you detect, isolate, and fix network problems such as lost connectivity, high latency, DNS failures, and packet loss. They fall into two groups: built-in command-line tools like ping and traceroute, and monitoring software that automates detection and diagnosis across many devices.
This guide covers ping, traceroute, pathping and MTR, nslookup and dig, ipconfig, netstat, ARP and route, port tests, and router and switch commands.
Why network troubleshooting tools are important
Network faults rarely announce their cause.. A report like "the network is slow" could mean a bad cable, a misconfigured route, a failing DNS server, or a firewall rule. Troubleshooting tools replace the guesswork with evidence, and that matters for several reasons:
- Faster root-cause identification: Tools show whether a device is reachable, where packets are delayed or dropped, and which layer is failing, so you fix the cause and not the symptom.
- Less downtime and lower cost: Every minute of outage means lost productivity, missed SLAs, and unhappy customers. Finding the fault sooner shortens all of it.
- Proactive detection: Monitoring tools flag rising latency or packet loss before users notice, so you can act before a slowdown becomes an outage.
- Clear proof of where the problem is: Data shows whether the fault is inside your network, at your ISP, or in the application, which ends the "it's not the network" back-and-forth between teams.
Network troubleshooting tools at a glance
| Tool | What it tells you | Windows | Linux / macOS |
|---|---|---|---|
| Ping | Whether a host is reachable, and round-trip time | ping | ping |
| Traceroute | The path packets take and where delay or loss starts | tracert | traceroute |
| Pathping / MTR | Per-hop latency and packet loss over time | pathping | mtr |
| Nslookup / dig | Whether DNS resolves a name to the right IP | nslookup | nslookup, dig |
| IP configuration | The device's IP, subnet mask, gateway, DNS servers | ipconfig /all | ifconfig, ip addr |
| Netstat / ss | Active connections, listening ports, interface stats | netstat -ano | netstat, ss |
| ARP | IP-to-MAC mappings on the local segment | arp -a | arp -a, ip neigh |
| Route | The device's routing table | route print | route, ip route |
| Telnet / Netcat | Whether a specific TCP port is open and reachable | telnet, Test-NetConnection | nc, telnet |
| tcpdump / Wireshark | The actual packets on the wire | Wireshark | tcpdump, Wireshark |
| iPerf | Maximum throughput between two endpoints | iperf3 -c <server-IP> | iperf3 -c <server-IP> |
| Nmap | Which hosts are up and which ports are open | nmap <target> | nmap <target> |
Tip: Troubleshoot from the bottom up. Check the local configuration first, then connectivity, then name resolution, then the application port.
Which network troubleshooting tool should you use first?
Start with the symptom, not the tool. The table below shows the usual first and second tool for common problems.
| Symptom | Start with | Then try | What you are checking |
|---|---|---|---|
| Cannot reach a host or server | ping | traceroute | Is it reachable, and where does the path break? |
| Site loads by IP address but not by name | nslookup / dig | ipconfig /all | Is DNS resolving, and are the right DNS servers set? |
| Slow or choppy connection | ping, then pathping / mtr | iPerf | Latency, packet loss per hop, and available throughput |
| Intermittent drops | mtr (run for several minutes) | Wireshark | Loss that appears and disappears; retransmissions |
| Application or service not responding | telnet / nc / Test-NetConnection | netstat / ss | Is the port open, and is the service listening? |
| No connection at all on one device | ipconfig / ifconfig | arp, route | Valid IP, correct gateway, and a default route |
| IP address conflict | arp -a | nmap | Two MAC addresses claiming one IP |
| Unexplained traffic or odd behaviour | Wireshark / tcpdump | netstat | What is actually crossing the wire, and which process owns it |
Rule of thumb: Ping tells you if there is a problem, traceroute tells you where, and packet capture tells you why.
Command-line network troubleshooting tools
These tools ship with Windows, Linux, and macOS, so they are the first thing most engineers reach for. Each one answers a different question.
Ping
Ping is usually the first command to run when something looks wrong. It sends ICMP echo requests to a device and times each reply, which shows whether the device is reachable, what the round-trip time is, and whether there is any packet loss. Try your default gateway first, then a public IP like 8.8.8.8, then a hostname. Wherever it first fails shows whether the problem is on your LAN, with your ISP, or in DNS.
How to run it and read the result
- Syntax:ping 8.8.8.8 (add -c 4 on Linux/macOS to stop after four packets)
- Reading the output: 0% loss with steady times is healthy. Sustained loss above 1-2%, or times that swing widely, suggests congestion or a faulty link.
- Limitation: Many firewalls block ICMP, so a failed ping does not always mean the host is down. Confirm with a port test.
Tracert / traceroute
Traceroute shows the route packets take to a destination, listing each router (hop) along the way and how long it takes to respond. It sends packets with an increasing Time To Live (TTL) value, and each router that drops an expired packet reveals itself in the results. Run it after ping confirms a problem to see whether the delay or failure starts inside your network, at your ISP, or near the destination.
How to run it and read the result
- Syntax: tracert example.com (Windows) or traceroute example.com (Linux/macOS). On some Linux systems you may need to install traceroute first.
- Reading the output: Look for the first hop where latency jumps and stays high, or where replies stop (* * *) and never recover.
- Limitation: Some routers ignore or deprioritise probe packets, so one silent hop mid-path is not automatically a fault.
Pathping and MTR
Pathping (Windows) and MTR (Linux/macOS) combine ping and traceroute in one tool. They first discover the hops along the route, then ping each hop repeatedly and report packet loss and latency per hop over time. This makes them a better fit for intermittent problems, such as video calls that degrade every few minutes, which a single traceroute snapshot can miss.
How to run it and read the result
- Syntax: pathping example.com or mtr -r -c 50 example.com. MTR isn’t preinstalled on most systems. On macOS it’s usually installed with Homebrew, and on Linux through your package manager.
- Reading the output: Look for the first hop where packet loss starts and continues through the hops after it.
- Limitation: Loss at a single middle hop that clears up further along the path is usually ICMP rate-limiting, not a real fault. Pathping can also take a few minutes to finish.
Nslookup and dig
Nslookup queries a DNS server to translate a hostname into an IP address and displays the result. If users report that the internet is down but can still reach an IP address, DNS may be the issue. Query your configured DNS server first, then a public resolver to determine whether the problem lies with your DNS server or the record itself. On Linux and macOS, dig provides more detailed DNS query results.
How to run it and read the result
Syntax: Run nslookup example.com 8.8.8.8 or dig @8.8.8.8 example.com. The value after @ specifies the DNS server to query. Leave it out to use the system's default DNS server.
Reading the output: If the public resolver returns an answer but your internal DNS server does not, the issue may lie with your DNS server. An incorrect IP address may indicate a stale cache or an incorrect DNS record.
Limitation: These tools test DNS resolution only. They do not verify whether the application is responding or the network path is healthy.
Ipconfig and ifconfig
ipconfig (Windows), ifconfig (macOS), and ip addr (Linux) display a device's network configuration, including its IP address, subnet mask, default gateway, and DNS servers. When a single machine loses connectivity, start with these commands. Incorrect or missing network settings can often explain the issue before you need to investigate the wider network.
How to run it and read the result
- Syntax: Run ipconfig /all on Windows, ifconfig on macOS, or ip addr on Linux. On Windows, use ipconfig /release followed by ipconfig /renew to request a fresh DHCP lease.
- Reading the output: An IP address beginning with 169.254 indicates that the device couldn't obtain an address from the DHCP server. A missing default gateway means the device cannot route traffic outside its local subnet.
- Limitation: These commands show the device's local network configuration but don't confirm whether the network connection is actually working.
Netstat and ss
Netstat and its faster Linux alternative, ss, display a host's active network connections, listening ports, and network statistics. Use these commands to verify whether a service is listening on its expected port, identify connected remote hosts, or find the process occupying a particular port.
How to run it and read the result
- Syntax: Run netstat -ano on Windows (includes process IDs) or ss -tulnp on Linux (run with sudo to view process names).
- Reading the output: Check whether the expected port appears as LISTENING (Windows) or LISTEN (Linux). A large number of connections stuck in the SYN_SENT state (SYN-SENT in ss) may indicate that the remote server is unreachable or that a firewall is blocking the connection.
- Limitation: These commands show the local host's connection state but don't reveal whether the network path to other devices is healthy.
ARP and route
ARP (Address Resolution Protocol) maps IP addresses to MAC addresses within a local network segment, while the route command displays the routing table that determines where packets are sent. Use ARP when a device cannot reach its gateway or you suspect an IP address conflict. Use route when local devices are reachable but remote networks are not.
How to run it and read the result
- Syntax: Run arp -a and route print on Windows, or ip route on Linux.
- Reading the output: If the gateway has no corresponding MAC address entry in the ARP table, it may indicate a Layer 2 connectivity issue. A missing default route (0.0.0.0/0) means the device has no configured route for destinations outside its local network.
- Limitation: ARP works only within the local broadcast domain, so it cannot be used to troubleshoot devices on remote networks.
Port tests: Test-NetConnection, netcat, telnet
A server may respond to ping even when a firewall blocks the port an application needs. Port testing tools attempt a TCP connection to a specific port, helping you verify whether the connection to a service is open. Use them when a website or application is inaccessible even though the server responds to network requests.
How to run it and read the result
- Syntax: Run Test-NetConnection example.com -Port 443 in PowerShell or nc -vz -w 3 example.com 443 on Linux/macOS. The -w 3 option sets a 3-second timeout.
- Reading the output: A successful connection means the port is reachable. A timeout may indicate a firewall or routing issue, while "connection refused" means the host responded but no service is listening on that port.
- Limitation: An open port doesn't guarantee that the application behind it is functioning correctly. Telnet is also not installed by default on recent Windows versions.
Network device commands (routers and switches)
Host-level commands reveal only one side of a connection. To investigate issues within the network, use the router or switch's CLI to inspect interfaces, routing tables, MAC addresses, and device logs. Command syntax varies by vendor, but the following are common Cisco-style examples.
| Question | Example command |
|---|---|
| Are interfaces up, and are there errors? | show interfaces, show ip interface brief |
| What routes does the device know? | show ip route |
| What MAC addresses has the switch learned? | show mac address-table |
| What ARP entries exist? | show arp |
| Which neighbours are connected? | show cdp neighbors, show lldp neighbors |
| What events are recorded in the device logs? | show logging |
Watch for rising input errors, CRC errors, or interface flaps. They often point to a bad cable, duplex mismatch, or failing port.
Advanced tools
When basic commands show that something is wrong but not why, go deeper:
- Wireshark and tcpdump (packet capture): Capture and analyse network traffic at the interface level. Use them to identify packet retransmissions, TCP resets, failed handshakes, and unexpected protocols. Wireshark provides a graphical, free, open-source interface, while tcpdump offers similar packet-capture capabilities through the command line and is commonly used on servers.
- Nmap (network discovery and port scanning): Discover active hosts and open ports across a network. Use it to check device reachability, verify firewall rules, and identify unknown devices. Only scan networks you are authorised to test.
- iPerf (throughput testing): Measure the available bandwidth between two endpoints, with one configured as the server and the other as the client. This helps determine whether slow network performance is caused by link capacity or another issue.
- Speed and latency testers: Browser-based speed tests provide a quick snapshot of internet-facing performance. However, they measure the connection to an external test server and don't reflect the health or performance of your internal network.
When command-line tools are not enough
Command-line tools are free and always available, but they have three limits as a network grows:
- Manual effort: You must run commands on individual devices and interpret the results yourself. This becomes difficult to manage across hundreds of devices.
- Reactive troubleshooting: You receive no alerts until you actively check for issues, meaning users may notice an outage before your IT team does.
- No historical context: A ping captures network status at a given moment. Without stored data, identifying patterns or investigating intermittent issues becomes difficult.
- No correlation: Commands show one device's view. They can't tell you that 40 alarms come from one upstream failure.
That is where network monitoring and troubleshooting software comes in. It runs the same checks for you, keeps the history, and alerts you when something changes.
Types of network troubleshooting software
Network troubleshooting software covers several categories of tools. Most teams use a combination of them, depending on their monitoring and troubleshooting needs.
| Software type | Best for | Examples |
|---|---|---|
| Packet analyzers | Deep, one-off investigations | Wireshark, tcpdump |
| Network performance monitoring | Day-to-day visibility, alerts, root cause | ManageEngine OpManager, PRTG, SolarWinds NPM |
| Flow analyzers | Bandwidth and congestion problems | NetFlow Analyzer, Kentik |
| Configuration management | Faults caused by config changes | Network configuration managers (for example, ManageEngine Network Configuration Manager) |
| Log and firewall analysis | Blocked traffic and firewall rule problems | ManageEngine Firewall Analyzer, EventLog Analyzer, Splunk, Graylog |
How ManageEngine OpManager helps with network troubleshooting
ManageEngine OpManager monitors routers, switches, firewalls, servers, and VMs from one console, so you can act on a fault where you see it.
- Built-in diagnostic tools: Run ICMP ping, SNMP ping, and proxy ping, plus traceroute, directly from a device's page to check reachability and find where a path breaks.
- Terminal and remote access: Open Telnet or SSH sessions to run CLI commands such as ping, traceroute, and netstat without leaving the console, and connect to Windows devices by remote desktop.
- Packet loss and latency monitoring: Continuous monitoring with thresholds and alerts, so you see degradation before it becomes an outage. See packet loss monitoring.
- Root-cause analysis: Identify the device or link behind a fault, not just its symptoms with root cause analysis.
- IT workflow automation: Build drag-and-drop workflows that run first-level troubleshooting steps automatically when an alarm fires, and keep execution logs for audit. This reduces mean time to repair (MTTR). See IT workflow automation.
Troubleshooting network issues step by step
Tools work best inside a repeatable process: define the problem, test from the bottom layer up, isolate the fault, change one thing at a time, then verify and document the fix. Our guide to troubleshooting network issues walks through each step.
FAQs on network troubleshooting tools
What are network troubleshooting tools?
Utilities and software that help you identify, isolate, and fix network problems. They include command-line tools such as ping, traceroute, and nslookup, packet analyzers such as Wireshark, and monitoring platforms that watch devices continuously and alert you to faults.