Difficulty: Easy
Correct Answer: IPCONFIG
Explanation:
Introduction / Context:
Verifying a machine's IP address, subnet mask, default gateway, and DNS servers is a common troubleshooting step. Windows platforms provide several network utilities, but only a few display full IP configuration in a concise, reliable way from the command line. This question tests which tool is appropriate on Windows NT and later Windows systems.
Given Data / Assumptions:
Concept / Approach:
IPCONFIG outputs the current TCP/IP configuration, including DHCP details and DNS suffixes. Adding the /all
switch provides complete information, including MAC addresses and lease data. NETSTAT lists active connections, ports, and routing tables; NBTSTAT shows NetBIOS over TCP/IP name tables; WINIPCFG existed on Windows 9x (GUI), not on NT-class systems; PING tests reachability but does not show local configuration.
Step-by-Step Solution:
Verification / Alternative check:
Windows documentation and help text (ipconfig /?
) confirm this usage. Modern equivalents persist across Windows versions, making IPCONFIG the canonical choice.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing netstat -r
(route table) with IP address assignment; expecting ping
to reveal local addresses; using winipcfg
on NT where it is unavailable.
Final Answer:
IPCONFIG.
Discussion & Comments