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.
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)- A88% (29)
- B6% (2)
- C3% (1)
- D3% (1)
Why each option
The netstat command with the -r flag displays the local routing table, showing available routes to remote networks.
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.
nbtstat displays NetBIOS over TCP/IP statistics and name tables, not IP routing information.
ipconfig displays the current IP address configuration (address, subnet mask, gateway) but does not show the full routing table.
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
Community Discussion
No community discussion yet for this question.