nerdexam
CompTIA

XK0-005 · 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. The current default gateway is incorrect: it's set to 192.168.2.1, which is not on the same subnet as the server's IP 192.169.1.50/24 (which itself is probably a typo and should be 192.168.1.50/24). The correct gateway for 192.168.1.50/24 is 192.168.1.1. route del default gw…

Troubleshooting

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

(27 responses)
  • A
    74% (20)
  • B
    4% (1)
  • C
    7% (2)
  • D
    15% (4)

Explanation

The current default gateway is incorrect: it's set to 192.168.2.1, which is not on the same subnet as the server's IP 192.169.1.50/24 (which itself is probably a typo and should be 192.168.1.50/24). The correct gateway for 192.168.1.50/24 is 192.168.1.1. route del default gw 192.168.2.1 eth0: removes the wrong default route. route add default gw 192.168.1.1 eth0: adds the correct default route.

Topics

#Network Routing#Default Gateway#route command#Network Troubleshooting

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice