DropVPS Team
Writer: Cooper Reagan
How To Configure Static IP On redhat?

Table of Contents
What you will read?
Setting a static IP on Red Hat ensures your system always uses the same network address, which is important for servers or devices requiring consistent connectivity.
Step 1: Identify Your Network Interface
List all network interfaces to find the one you want to configure:
nmcli device status
Look for interfaces like ens33, eth0, or similar.
Step 2: Configure the Static IP
Replace ens33 with your interface name, and set the IP, subnet, gateway, and DNS:
sudo nmcli con mod ens33 ipv4.addresses 192.168.1.200/24
sudo nmcli con mod ens33 ipv4.gateway 192.168.1.1
sudo nmcli con mod ens33 ipv4.dns "8.8.8.8 8.8.4.4"
sudo nmcli con mod ens33 ipv4.method manual
This switches the interface from DHCP to a static IP.
Step 3: Restart the Network Connection
Apply the new configuration by restarting the interface:
sudo nmcli con down ens33
sudo nmcli con up ens33
Step 4: Verify the Static IP
Check that the static IP is active:
ip a
You should see 192.168.1.200 (or your assigned IP) associated with the interface. Your Red Hat system now has a static IP configured and ready for consistent network access.
U
Loading...