Which Windows command can display the IP address, subnet mask, and default gateway of all interfaces?

Prepare for your Helpdesk Technician Interview with our interactive test. Practice with flashcards and multiple-choice questions. Get ready to succeed!

Multiple Choice

Which Windows command can display the IP address, subnet mask, and default gateway of all interfaces?

Explanation:
Viewing the IP configuration for all network interfaces on Windows is what's being tested. The best way to see the IP address, subnet mask, and default gateway for every adapter is to run ipconfig /all in a Command Prompt. This command displays, for each connected interface, the IPv4 address, its corresponding subnet mask, and the default gateway, and it also shows additional details like DNS servers and the MAC address. This combination makes it easy to verify connectivity settings and troubleshoot routing issues. Other options don’t fit as neatly: nslookup is for DNS lookups, not interface configuration; ifconfig is a Unix/Linux tool and not standard on Windows; netsh can show similar information but is more verbose and less convenient for a quick per-interface view.

Viewing the IP configuration for all network interfaces on Windows is what's being tested. The best way to see the IP address, subnet mask, and default gateway for every adapter is to run ipconfig /all in a Command Prompt. This command displays, for each connected interface, the IPv4 address, its corresponding subnet mask, and the default gateway, and it also shows additional details like DNS servers and the MAC address. This combination makes it easy to verify connectivity settings and troubleshoot routing issues. Other options don’t fit as neatly: nslookup is for DNS lookups, not interface configuration; ifconfig is a Unix/Linux tool and not standard on Windows; netsh can show similar information but is more verbose and less convenient for a quick per-interface view.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy