220-801 · Question #790
Which of the following commands can be used to verify the gateway IP address on a local computer?
The correct answer is D. ipconfig. The ipconfig command displays the local computer's IP configuration, including the default gateway address.
Question
Which of the following commands can be used to verify the gateway IP address on a local computer?
Options
- Anet use
- Btelnet
- Cping
- Dipconfig
How the community answered
(54 responses)- A2% (1)
- B9% (5)
- C4% (2)
- D85% (46)
Why each option
The ipconfig command displays the local computer's IP configuration, including the default gateway address.
The 'net use' command manages network drive mappings and shared resource connections; it does not display IP configuration.
Telnet is a remote terminal protocol used to connect to remote hosts on port 23; it does not display local network configuration.
The 'ping' command tests reachability of a host by sending ICMP echo requests; it does not display local IP configuration details.
Running 'ipconfig' on a Windows machine outputs the IPv4 address, subnet mask, and default gateway for each network adapter. The default gateway field directly shows the IP address of the router or gateway used to reach external networks, which is exactly what the question asks to verify.
Concept tested: ipconfig command for viewing default gateway
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig
Topics
Community Discussion
No community discussion yet for this question.