nerdexam
ExamsXK0-004Questions#119
CompTIA

XK0-004 · Question #119

XK0-004 Question #119: Real Exam Question with Answer & Explanation

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.

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

Explanation

You have to delete the existing default gateway, then add the new default gateway.

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice