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

IPv4 Configuration with nmcli

Half of one objective. RHEL 10 has no ifcfg files at all, so nmcli or a keyfile is the only way. Two things are worth practising: con mod edits the profile and changes nothing live until con up, and +ipv4.addresses appends where plain ipv4.addresses replaces the whole list.

Basic Networking Guide 48 of 67 Intermediate

RHEL 10 removed /etc/sysconfig/network-scripts and the NetworkManager-initscripts-updown package with it. Connections live in /etc/NetworkManager/system-connections/*.nmconnection. Any instruction to edit ifcfg-eth0 is impossible to follow on this release - see guide 3.

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 for half of one objective. This matters because modifying a connection changes the stored profile rather than the running interface - so nothing happens at all until you bring it up again.

Before you start

  1. What is configured now

  2. Creating a connection

  3. Modifying, and why nothing happened

  4. Plus and minus

Official sources