CertGrid CertGrid
Hands-on Lab·Red Hat Certified System Administrator

Network Services at Boot

One objective, and it is a two-part answer that a one-part answer fails: NetworkManager must be enabled, and the connection must be set to autoconnect. Either one alone gives a machine with no network after a reboot.

Basic Networking Guide 52 of 67 Beginner

connection.autoconnect defaults to yes and is not written into the keyfile when it holds the default - so its absence from the file means yes, not no. nmcli -f NAME,AUTOCONNECT con show is the reliable way to read it.

Every command on this page runs on RHCSA-A01.
Server NameIP AddressOSRolesCPURAMHDD
RHCSA-A01192.168.0.31RHEL 10.0Practice node (graded) - spare /dev/sda2 Core4 GB50 GB + 15 GB

This guide includes

Use this because a one-part answer fails this objective. This matters because the connection has to autoconnect AND the service has to be enabled - satisfying one without the other looks correct and is not.

Before you start

  1. The connection half

  2. The service half

Official sources