nerdexam
CompTIA

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.

Networking

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)
  • A
    2% (1)
  • B
    9% (5)
  • C
    4% (2)
  • D
    85% (46)

Why each option

The ipconfig command displays the local computer's IP configuration, including the default gateway address.

Anet use

The 'net use' command manages network drive mappings and shared resource connections; it does not display IP configuration.

Btelnet

Telnet is a remote terminal protocol used to connect to remote hosts on port 23; it does not display local network configuration.

Cping

The 'ping' command tests reachability of a host by sending ICMP echo requests; it does not display local IP configuration details.

DipconfigCorrect

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

#ipconfig#gateway IP#network commands#TCP/IP

Community Discussion

No community discussion yet for this question.

Full 220-801 Practice