100-140 Question 59
Select 3A user reports that their computer is experiencing network connectivity issues. As part of the troubleshooting process, you need to verify the device's IPv4 and IPv6 addresses, as well as the MAC address. Which command(s) would provide all this information on a Windows system?
- A
ipconfig /all
- B
ping 127.0.0.1
- C
getmac
- D
netstat -an
- E
wmic nic get MACAddress
Show answer and explanation
Correct answers: A, C, E
Explanation
To gather information about a system's IPv4, IPv6, and MAC addresses, you can use 'ipconfig /all' for a comprehensive view of network configuration, 'getmac' for MAC address retrieval, and 'wmic nic get MACAddress' for MAC address details specifically. Commands like 'ping' and 'netstat' do not provide this information.
- A. Correct.
The 'ipconfig /all' command provides detailed network configuration information, including IPv4, IPv6, and MAC address.
- B. Incorrect.
The 'ping 127.0.0.1' command is used to test the loopback interface but does not display IPv4, IPv6, or MAC address information.
- C. Correct.
The 'getmac' command retrieves the MAC address of the network adapters on the system.
- D. Incorrect.
The 'netstat -an' command displays active network connections and their status but does not provide IPv4, IPv6, or MAC address details.
- E. Correct.
The 'wmic nic get MACAddress' command specifically retrieves the MAC address of network interfaces.