nerdexam
CompTIA

220-802 · Question #913

A technician wants to see if the computer has a route to a remote network. Which of the following commands will display the routing table of the PC?

The correct answer is A. netstat. The netstat command with the -r flag displays the local routing table, showing available routes to remote networks.

Networking

Question

A technician wants to see if the computer has a route to a remote network. Which of the following commands will display the routing table of the PC?

Options

  • Anetstat
  • Bnbtstat
  • Cipconfig
  • Dpathping

How the community answered

(33 responses)
  • A
    88% (29)
  • B
    6% (2)
  • C
    3% (1)
  • D
    3% (1)

Why each option

The netstat command with the -r flag displays the local routing table, showing available routes to remote networks.

AnetstatCorrect

The netstat command, when used with the -r switch (netstat -r), displays the IP routing table of the local machine, including destination networks, gateway addresses, and interface metrics. This allows a technician to verify whether a route to a specific remote network exists on the PC.

Bnbtstat

nbtstat displays NetBIOS over TCP/IP statistics and name tables, not IP routing information.

Cipconfig

ipconfig displays the current IP address configuration (address, subnet mask, gateway) but does not show the full routing table.

Dpathping

pathping traces the path to a destination and measures latency per hop, but does not display the local routing table.

Concept tested: netstat -r command to view routing table

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/netstat

Topics

#netstat#routing table#network commands#CLI diagnostics

Community Discussion

No community discussion yet for this question.

Full 220-802 Practice