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

Written against the versions above. 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:what-changed-in-rhel-10-for-rhcsa}}.

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

Before you start

  1. What is configured now

  2. Creating a connection

  3. Modifying, and why nothing happened

  4. Plus and minus

Official sources