Question

Difficulty: MediumUtilizing Command-Line Network Troubleshooting Utilities

A network administrator is conducting a comprehensive network analysis on a workstation experiencing connectivity and resolution issues. Match each command-line utility command on the left with its primary diagnostic function on the right.

  • pathping 192.168.10.1Measures packet loss and latency at each network hop over a sustained evaluation period.
  • arp -aDisplays the local Layer 2 MAC address mapping for known IP addresses.
  • netstat -anoLists all active network connections, listening ports, and their associated Process IDs (PIDs).
  • dig -x 10.0.0.50Performs a reverse DNS lookup to determine the domain name associated with an IP address.

Answer

pathping 192.168.10.1 matches with measuring packet loss and latency per hop; arp -a matches with displaying local MAC address mappings; netstat -ano matches with listing active connections, listening ports, and Process IDs; dig -x 10.0.0.50 matches with performing reverse DNS lookups.
Each command-line tool maps directly to its intended OSI layer and operational troubleshooting purpose: pathping measures per-hop packet loss over time, arp -a displays Layer 2 MAC cache tables, netstat -ano correlates listening sockets to Process IDs, and dig -x performs reverse DNS resolution.

Step-by-Step Solution

1
Identify pathping functionality
pathping combines ICMP echo requests with route tracking over several minutes to report specific hop-by-hop packet loss stats.
This pinpoints intermittent link degradation across intermediate routers.
2
Identify arp -a functionality
arp -a queries the ARP cache on local interfaces.
ARP operates between Layer 2 and Layer 3 to resolve IP addresses to hardware MAC addresses.
3
Identify netstat -ano functionality
netstat with flags -a (all sockets), -n (numerical format), and -o (owning Process ID) outputs active network transport sockets.
This allows administrators to identify which local running processes are holding open listening ports or connections.
4
Identify dig -x functionality
dig -x executes a PTR record query against the configured DNS resolver.
The -x flag specifies a reverse lookup parameter to translate an IP address into a domain hostname.

Key Concept

Command-Line Network Diagnostic Utilities
Rate this question