Site Overlay

Centos 7 IP Switching

This article describes the process of changing the Centos 7 IP.

To change Centos7 ip address, just follow the steps below in order.

1-) First, it is enough to learn the network adapter on the server and type "nmcli" to see the IP address you received.

Screenshot 8Our network adapter is active and connected on the "ens160". These numbers may differ on your system.

Centos 7 Change IP static IP Issuance Process

You can also use nmtui, a visual text-based user interface, to configure network interfaces.

nmtui
image
Centos 7 Select the Change
IP Network interface, and then select Edit.
image 1
Centos 7 Change
IP Set the IP Address and enter OK.
image 3
Centos 7 Change IP

Finally, restart the network service by using the following command for these changes to take effect.

systemctl restart network

image 3
Arif Akyüz Content Producer Cyber Security Expert

Arif Akyüz
Content Producer & Cyber Security Expert
[email protected]