Network Troubleshooting 24% Lesson 8 of 9

Lesson 5.5.1 — Software Troubleshooting Tools

Avatar Of Asad IjazAsad Ijaz ·Sep 21, 2026 ·5 min read
89% through domain
Illustration Of A Toolbelt Holding Several Distinct Diagnostic Tool Icons

Domain 5.0 | Network Troubleshooting — 24% of exam

Learning Objectives

By the end of this lesson, you will be able to:

  • Explain what ping and traceroute each reveal about connectivity and path
  • Describe how nslookup and dig isolate DNS-specific problems
  • Explain how netstat reveals active connections and listening ports
  • Describe how ipconfig/ifconfig and arp support local configuration and address resolution troubleshooting
  • Explain packet capture as a deep diagnostic tool for problems other tools can’t fully explain

Key Terms – Software Troubleshooting Tools

TermDefinition
pingA basic reachability test using ICMP echo requests to confirm whether a host responds
tracerouteA tool that reveals the hop-by-hop path packets take to a destination
nslookup / digTools for directly querying DNS servers to isolate name resolution problems
netstatA tool showing active network connections and listening ports on a host
Packet CaptureRecording actual network traffic for detailed, byte-level analysis

Explanation

From Categories of Problems to the Tools That Diagnose Them

Every lesson in this module has covered a category of problem. This lesson and the next cover the actual tools used to test a theory — Step 3 of the troubleshooting methodology covered at the start of this module. Software tools, covered here, generally require no special equipment beyond a computer already on the network; the hardware tools in the next lesson require dedicated physical devices.

ping and traceroute: Testing Reachability and Path

ping sends ICMP echo requests to a target and waits for a response, providing a simple, direct answer to “is this host reachable at all?” It’s usually the very first test run in almost any connectivity troubleshooting scenario, precisely because it’s fast and tells you immediately whether basic reachability exists — but it tells you nothing about how traffic got there, or where a problem lies if it doesn’t.

traceroute (or tracert on Windows) answers that follow-up question, revealing the hop-by-hop path packets take to reach a destination, along with the response time at each hop along the way. This makes it genuinely useful for identifying exactly where along a path a problem is occurring — a traceroute that gets partway through a path and then stops responding points directly at the specific hop where things break down.

Diagram Comparing Ping'S Simple Reachability Check Against Traceroute'S Hop-By-Hop Path Breakdown With Response Times
How Ping Confirms Basic Reachability While Traceroute Reveals The Hop-By-Hop Path

Running traceroute in both directions between two endpoints is also exactly how asymmetric routing, covered earlier in this module, actually gets confirmed in practice — comparing the hop sequence in each direction directly reveals whether the paths genuinely differ.

nslookup and dig: Diagnosing DNS Issues

nslookup (available on Windows and other platforms) and dig (common on Linux and macOS) let an administrator directly query a specific DNS server for a specific record, rather than relying on whatever resolution a normal application would perform automatically. This is exactly the tool needed to isolate whether a problem is genuinely DNS-related or something else entirely — if a direct DNS query for a hostname returns the wrong (or no) answer, the problem is clearly in name resolution; if it returns the correct answer but the application still can’t connect, the problem lies somewhere further along, past DNS entirely.

netstat: Viewing Active Connections

netstat displays a host’s active network connections and listening ports, which is useful in two genuinely different ways: confirming that a service is actually listening on the port it’s supposed to be (a service that isn’t listening at all explains a connection failure immediately), and identifying unexpected or suspicious connections that shouldn’t be there — a genuinely useful cross-check against the kind of unauthorized activity covered in this course’s security module.

Diagram Showing A Host'S Active Network Connections In Different States Including Listening, Established, And Time-Wait
How Netstat Reveals A Host’S Active Connections And Listening Ports

ipconfig/ifconfig and arp: Local Configuration and Address Resolution

ipconfig (Windows) and ifconfig (Linux/macOS, though increasingly replaced by ip addr on modern Linux) display a device’s own current network configuration — its assigned IP address, subnet mask, and default gateway. This is literally the tool used to actually see an APIPA address or an incorrect gateway, covered earlier in this module, confirming exactly what a device believes its own configuration to be.

arp displays and manages a device’s local ARP cache — the table mapping IP addresses to MAC addresses on the local segment. Checking the ARP cache is exactly how ARP poisoning, covered earlier in this course’s security module, actually gets confirmed in practice — an unexpected or duplicate MAC address associated with a known IP (like the default gateway) in the ARP cache is a direct, actionable piece of evidence.

Packet Capture: The Deep Diagnostic Tool

Packet capture, covered in more depth back in the advanced monitoring lesson, records the actual contents of network traffic rather than summarized statistics or simple reachability results. This is the tool of last resort when the other tools in this lesson haven’t fully explained what’s happening — a malformed handshake, an unexpected protocol behavior, or the exact contents of a suspicious connection all require the level of detail only a full packet capture can actually provide.

Recognition-Level Verification Concepts

A few patterns are worth recognizing on sight:

  • A quick reachability check with no path detail describes ping; a hop-by-hop path breakdown describes traceroute.
  • A direct query returning the wrong DNS answer for a hostname points to a genuine DNS problem; a correct DNS answer with a connection failure afterward points elsewhere.
  • A tool listing which ports a host is actively listening on, or what connections are currently established, describes netstat.
  • A tool showing a device’s own IP configuration describes ipconfig/ifconfig; a tool showing IP-to-MAC mappings on the local segment describes arp.

Common Exam Traps

  • Ping confirms reachability but reveals nothing about the path. Don’t assume a successful ping rules out a routing or path-specific problem entirely — it only confirms the endpoint itself responded.
  • Traceroute stopping at a specific hop points to that hop as the likely problem location, but a hop simply not responding to traceroute’s probes (while still forwarding traffic normally) is also a real, common possibility worth ruling out.
  • nslookup/dig isolate DNS specifically — don’t reach for packet capture or other deeper tools before first confirming or ruling out DNS with a quick, direct query.
  • netstat is useful for both routine troubleshooting and basic security checks — don’t think of it as a single-purpose tool.
  • ARP cache issues are local-segment-specific. Checking the ARP cache is only meaningful for diagnosing problems on the same local network segment as the device being checked, not for anything beyond it.

Lesson 5.5.1 Practice Quiz — Software Troubleshooting Tools

17 questions covering ping, traceroute, nslookup/dig, netstat, ipconfig/ifconfig, arp, and packet capture.

N10-009 · Domain 5.5
Question 1Plain
What does ping test?
Ping tests basic reachability using ICMP echo requests, without revealing anything about the path taken.
Question 2Plain
What does traceroute reveal?
Traceroute reveals the hop-by-hop path to a destination, along with response times at each hop.
Question 3Plain
What does arp display?
Arp displays a device's local ARP cache, mapping IP addresses to MAC addresses on the local segment.
Question 4Choose Two
Which two statements correctly distinguish ping from traceroute? (Choose two.)
Ping confirms reachability without path detail; traceroute reveals the actual hop-by-hop path — swapping these roles is a common mix-up.
Question 5Choose Two
Which two statements about nslookup and dig are correct? (Choose two.)
nslookup and dig query DNS directly, isolating whether name resolution specifically is the source of a problem — they don't perform packet capture or replace ping's basic reachability role.
Question 6Choose Two
Which two statements about netstat are correct? (Choose two.)
Netstat shows active connections and listening ports specifically — DNS records and the ARP cache are shown by entirely different tools.
Question 7Scenario
Before doing any deeper troubleshooting, an administrator wants a quick confirmation that a remote host is reachable at all. What tool should they use first?
Ping is exactly the quick, first-line reachability test used before deeper troubleshooting.
Question 8Scenario
An administrator needs to determine exactly which hop along a path is failing to respond. What tool is best suited?
Traceroute is specifically designed to reveal the hop-by-hop path and identify exactly where a problem is occurring.
Question 9Scenario
An application can't connect to a service, and an administrator wants to rule out DNS as the cause before investigating further. What tool should they use?
Directly querying DNS with nslookup or dig is exactly how to isolate or rule out DNS as the cause before looking elsewhere.
Question 10Scenario
A client can't connect to a service on a server, and the administrator wants to confirm whether that service is actually listening on the expected port. What tool should they use on the server?
Netstat confirms whether a service is actually listening on its expected port, directly on the server itself.
Question 11Scenario
A security team suspects ARP poisoning and wants to check whether the default gateway's MAC address has changed unexpectedly. What tool should they use?
Checking the local ARP cache with arp is exactly how a changed or unexpected gateway MAC address is discovered.
Question 12Exhibit
Based on this ping result, what does it indicate?
Pinging 10.0.5.20 with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)
100% packet loss with all requests timing out indicates the host is unreachable.
Question 13Exhibit
Based on this traceroute output, where does the path appear to break down?
Tracing route to 203.0.113.50: 1 2 ms R1 (192.168.1.1) 2 8 ms R2 (10.10.10.1) 3 * Request timed out 4 * Request timed out 5 * Request timed out
The path responds normally through hop 2 (R2) and then stops responding entirely from hop 3 onward, pointing to a breakdown right after R2.
Question 14Exhibit
Based on this nslookup output, what is the likely issue?
> nslookup app.example.com Server: 8.8.8.8 Address: 8.8.8.8#53 Name: app.example.com Address: 198.51.100.99 (expected: 203.0.113.10)
The domain resolving to an address different from what's expected is a clear DNS resolution issue, directly confirmed via nslookup.
Question 15Exhibit
Based on this netstat output, what does it show?
> netstat -an | findstr :8080 (no results returned) Expected: Web application listening on port 8080
No results for port 8080 confirms the expected service isn't actually listening there, directly explaining a connection failure.
Question 16Exhibit
Based on this arp output, what does it suggest?
> arp -a Interface: 192.168.1.50 Internet Address Physical Address Type 192.168.1.1 DE:AD:BE:EF:00:99 dynamic (Known legitimate gateway MAC: AA:BB:CC:11:22:33)
The gateway's IP mapped to an unrecognized MAC address, different from the known legitimate one, is exactly the evidence arp is used to uncover in a suspected ARP poisoning case.
Question 17Exhibit
Basic tools (ping, traceroute, nslookup, netstat) all check out fine, but an application still intermittently fails with no clear explanation. What tool should be used next for deeper diagnosis?
Troubleshooting Status: Ping: SUCCESS Traceroute: Normal path, no unusual hops nslookup: Correct DNS resolution netstat: Service confirmed listening Application: Still intermittently failing
When all the standard tools check out but the problem persists, packet capture is exactly the deeper diagnostic tool that can reveal what's actually happening at the traffic level.
📝

Summary

ping confirms basic reachability without revealing path detail; traceroute reveals the hop-by-hop path and where along it a problem occurs.

nslookup and dig let an administrator directly query DNS, isolating whether a problem is genuinely DNS-related before looking elsewhere.

netstat shows active connections and listening ports, useful for confirming service availability and spotting suspicious activity.

ipconfig/ifconfig display a device's own network configuration; arp displays local IP-to-MAC mappings, directly useful for confirming ARP poisoning.

Packet capture provides the deepest level of detail, recording actual traffic contents when other tools haven't fully explained a problem.

Avatar Of Asad Ijaz

Lead Networking Architect and Editor at NetworkUstad. BS in Computer Networks and Security, CCNP and CCNA certified, with 11+ years of experience in enterprise network design, implementation, and troubleshooting. Writes practical tutorials on routing, IPv4 management, network automation, and security fundamentals.