Question 70
You have attempted this task on a test RHEL10 instance: A technician adds an IPv4 address with `ip addr add`, but it disappears after reboot. Which command output or observation best confirms its success?
Explanation
Correct Answer
After reconnect or reboot `nmcli con show` and `ip addr` still report the address. This check confirms the expected effect of: Use the correct persistent NetworkManager profile with `nmcli con mod lablan +ipv4.addresses 198.51.100.20/24` according to the approved addressing plan. It distinguishes the intended result from the original failure mechanism: `ip` runtime configuration alone does not update NetworkManager's stored connection profile.
Incorrect Answers
`ip route get 203.0.113.10` selects the correct gateway and the intended test connection succeeds. That verifies a separate lab task: The lab interface is assigned the right IP but the host cannot reach an off-subnet gateway due to an incorrect default route. It does not validate the implementation required here: Use the correct persistent NetworkManager profile with `nmcli con mod lablan +ipv4.addresses 198.51.100.20/24` according to the approved addressing plan.
`firewall-cmd --zone=public --list-ports` contains 8443/tcp and a tested authorized client connects. That verifies a separate lab task: A service listens on port 8443 but clients are blocked by the active public firewalld zone. It does not validate the implementation required here: Use the correct persistent NetworkManager profile with `nmcli con mod lablan +ipv4.addresses 198.51.100.20/24` according to the approved addressing plan.
`ip -6 addr show` lists the address and a local IPv6 connectivity test succeeds. That verifies a separate lab task: An IPv6-only lab application cannot listen because the host connection has no configured static IPv6 address. It does not validate the implementation required here: Use the correct persistent NetworkManager profile with `nmcli con mod lablan +ipv4.addresses 198.51.100.20/24` according to the approved addressing plan.