XK0-004 · Question #418
A Linux administrator configured several network interfaces to be used for backup. The administrator entered the following commands: After the last command, a new interlace appeared as connected and w
The correct answer is A. The backup Interface should be reconfigured with a / 2 4 subnet mask.. A network interface configured via nmcli fails to reconnect after reboot when its connection profile lacks a complete subnet mask definition.
Question
A Linux administrator configured several network interfaces to be used for backup. The administrator entered the following commands:
After the last command, a new interlace appeared as connected and worked until the Linux system was rebooted. After the reboot, the Interface did not connect properly. Which of the following configuration changes are needed to ensure that the Interface connects automatically?
Options
- AThe backup Interface should be reconfigured with a / 2 4 subnet mask.
- Bautoconnect yes should be added to the interface configuration.
- Cmcli conn up backup should be executed
- Dip link set eth1 should be performed.
How the community answered
(21 responses)- A76% (16)
- B5% (1)
- C5% (1)
- D14% (3)
Why each option
A network interface configured via nmcli fails to reconnect after reboot when its connection profile lacks a complete subnet mask definition.
Reconfiguring the backup interface with a /24 subnet mask ensures the persistent NetworkManager connection profile contains a fully specified IP address and prefix length, which NetworkManager requires to initialize the interface correctly on boot. Without a complete subnet definition in the stored profile, NetworkManager may fail to apply the correct network settings during system startup.
Adding 'autoconnect yes' enables automatic connection attempts but does not resolve an incomplete IP addressing configuration that prevents the interface from initializing with correct settings.
'nmcli conn up backup' is a one-time runtime command that activates the connection manually but does not persist across reboots or correct the underlying profile configuration.
'ip link set eth1' is a transient iproute2 command that configures link-layer state at runtime only and does not create or modify persistent NetworkManager connection profiles.
Concept tested: NetworkManager persistent interface IP configuration
Source: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/configuring_and_managing_networking/configuring-an-ethernet-connection_configuring-and-managing-networking
Topics
Community Discussion
No community discussion yet for this question.