Which command shows the IP address, subnet mask, and default gateway for each network adapter and can display MAC address and DHCP lease information with the /all option?

Get ready for your networking concepts exam! Study with flashcards and multiple-choice questions that include hints and explanations. Enhance your understanding and achieve success!

Multiple Choice

Which command shows the IP address, subnet mask, and default gateway for each network adapter and can display MAC address and DHCP lease information with the /all option?

Explanation:
Viewing a device’s IP configuration and related details on Windows is what this question is about. The command that shows the IP address, subnet mask, and default gateway for each network adapter is ipconfig. Running it gives you the basic network settings for every interface. When you add the /all option, it expands to reveal additional information such as the MAC address (physical address) and DHCP lease details (like the DHCP server and lease expiry), which are helpful for deeper troubleshooting and understanding exactly how the interface is configured. The other commands don’t fit this use. Ifconfig is the older tool used on Linux and some Unix systems to view or configure network interfaces, not the Windows command we’re discussing, and it doesn’t have a Windows-style /all option. Traceroute shows the path packets take to a destination, not your local interface settings. Ping checks whether a host is reachable and measures latency, but it doesn’t display network adapter configuration.

Viewing a device’s IP configuration and related details on Windows is what this question is about. The command that shows the IP address, subnet mask, and default gateway for each network adapter is ipconfig. Running it gives you the basic network settings for every interface. When you add the /all option, it expands to reveal additional information such as the MAC address (physical address) and DHCP lease details (like the DHCP server and lease expiry), which are helpful for deeper troubleshooting and understanding exactly how the interface is configured.

The other commands don’t fit this use. Ifconfig is the older tool used on Linux and some Unix systems to view or configure network interfaces, not the Windows command we’re discussing, and it doesn’t have a Windows-style /all option. Traceroute shows the path packets take to a destination, not your local interface settings. Ping checks whether a host is reachable and measures latency, but it doesn’t display network adapter configuration.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy