CompTIA
XK0-004 · Question #119
A systems administrator is unable to reach other devices on the network and the Internet. The server is configured with the IP address 192.169.1.50/24 on eth0. The server's router is 192.168.1.1…
The correct answer is A. route del default gw 192.168.2.1 eth0; route add default gw 192.168.1.1 eth0. You have to delete the existing default gateway, then add the new default gateway.
Troubleshooting and Diagnostics
Question
A systems administrator is unable to reach other devices on the network and the Internet. The server is configured with the IP address 192.169.1.50/24 on eth0. The server’s router is 192.168.1.1. The administrator reviews the output of route –n:
Which of the following commands should the administrator run to correct the issue?
Options
- Aroute del default gw 192.168.2.1 eth0; route add default gw 192.168.1.1 eth0
- Broute add -net 192.168.10.0 netmask 255.255.255.0 gw 192.168.2.1 eth0
- Croute add 192.168.1.1 default 192.168.1.50 eth0
- Droute host gw 192.168.1.1 eth0
How the community answered
(40 responses)- A55% (22)
- B8% (3)
- C13% (5)
- D25% (10)
Explanation
You have to delete the existing default gateway, then add the new default gateway.
Topics
#route command#default gateway#IP misconfiguration#network routing
Community Discussion
No community discussion yet for this question.