nerdexam
Cisco

200-901 · Question #572

Refer to the exhibit. A network engineer changes the configuration of a device interface, and the device becomes unreachable. The engineer accesses the server console to review the differences with…

The correct answer is A. Remove the line GATEWAY="192.168.1.254". After a configuration change made a network device unreachable, the engineer must restore the original default gateway setting to re-establish network connectivity.

Network Fundamentals

Question

Refer to the exhibit. A network engineer changes the configuration of a device interface, and the device becomes unreachable. The engineer accesses the server console to review the differences with the backup file. Which change must be made in the eth1.cfg file to restore the original configuration?

Exhibit

200-901 question #572 exhibit

Options

  • ARemove the line GATEWAY="192.168.1.254".
  • BRemove the line IPADDR="192.168.1.20/32".
  • CAdd lines ONBOOT=yes and GATEWAY="192.168.1.254".
  • DAdd lines ONBOOT=yes and IPADDR="192.168.1.20/32".

How the community answered

(45 responses)
  • A
    84% (38)
  • B
    2% (1)
  • C
    4% (2)
  • D
    9% (4)

Why each option

After a configuration change made a network device unreachable, the engineer must restore the original default gateway setting to re-establish network connectivity.

ARemove the line GATEWAY="192.168.1.254".Correct

To restore the original configuration and global network reachability, the `GATEWAY="192.168.1.254"` line must be added back to the `eth1.cfg` file. Its absence prevents the device from using a default route to reach external networks, leading to unreachability.

BRemove the line IPADDR="192.168.1.20/32".

Removing the IP address entirely would render the device completely unaddressable and unable to communicate.

CAdd lines ONBOOT=yes and GATEWAY="192.168.1.254".

While adding `ONBOOT=yes` and `GATEWAY="192.168.1.254"` partially restores the original configuration, the `IPADDR="192.168.1.20/32"` subnet mask in the modified config would still prevent local communication with the gateway.

DAdd lines ONBOOT=yes and IPADDR="192.168.1.20/32".

Keeping `IPADDR="192.168.1.20/32"` (a host route) prevents the device from communicating with other hosts on the `192.168.1.0/24` subnet, including its gateway, thus not restoring reachability.

Concept tested: Linux network interface configuration restoration

Source: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-configuring_a_static_ip_address_with_ifcfg_files

Topics

#Network Interface Configuration#Linux Networking#Troubleshooting#Default Gateway

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice