Configuring a Persistent Static IP on RHEL/CentOS/AlmaLinux with nmcli
- Best Practices & Patterns, Linux Basics, Networking, Security & Hardening, System Administration
- February 6, 2015
In production environments, servers often require a fixed (static) IP address for reliable network access. Using Red Hat’s NetworkManager CLI (nmcli), we can configure a static IPv4 address that persists across reboots. The following guide walks through identifying your network interface, setting a static IP, gateway, and DNS, and applying the changes with best practices
READ MORE