Which Windows command displays the IP configuration of all network interfaces on the local machine, including IP address, subnet mask, and default gateway?

Enhance your knowledge of network operations with our engaging test. Delve into management, protocols, and backup strategies with multiple-choice questions and study tips. Prepare effectively for your exam!

Multiple Choice

Which Windows command displays the IP configuration of all network interfaces on the local machine, including IP address, subnet mask, and default gateway?

Explanation:
To view the IP configuration for all network interfaces on a Windows machine, you use the ipconfig command. It lists the IP address assigned to each interface, the subnet mask, and the default gateway, giving you a quick overview of how each interface is configured. Running ipconfig without options shows the basic details, while ipconfig /all provides more thorough information such as DHCP server, DNS servers, lease details, and the physical (MAC) address—useful for deeper troubleshooting. The other options come from different operating systems or serve different purposes: ifconfig and ip addr show are Linux/Unix tools for similar tasks, and netstat focuses on active connections and ports (and routing in some views) rather than giving a straightforward per-interface IP configuration.

To view the IP configuration for all network interfaces on a Windows machine, you use the ipconfig command. It lists the IP address assigned to each interface, the subnet mask, and the default gateway, giving you a quick overview of how each interface is configured. Running ipconfig without options shows the basic details, while ipconfig /all provides more thorough information such as DHCP server, DNS servers, lease details, and the physical (MAC) address—useful for deeper troubleshooting. The other options come from different operating systems or serve different purposes: ifconfig and ip addr show are Linux/Unix tools for similar tasks, and netstat focuses on active connections and ports (and routing in some views) rather than giving a straightforward per-interface IP configuration.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy