

nmtui edit eno16777728ģ- In this section, as shown below, you can make the desired settings. yum install Network Manager-tuiĢ- Go to your interface editing environment with the following command. Of course, this package is available by default in CentOS 7, and if not, install it.ġ- You can install Network Manager with the following command. You can set up your network faster by installing the Network Manager package on With CentOS 7. Setting the static IP on CentOS 7 by Network Manager ip aĪt this point, your settings are applied and you can use your Linux operating system network.

systemctl restart rviceħ- By entering the following command, you will see the settings that you have made.

To save the file in Vi, first enter the Esc key and enter the phrase :wq and press Enter.Ħ- After applying the above steps, restart your network service. vi ifcfg-eno16777728Ĥ- Press the i button and copy the following phrase into it.Įnter your settings in the IPADDR and.

For example, our interface file is in ifcfg-eno16777728.ģ- Open the interface settings file with the Vi editor. Ifcfg will be added at the beginning of the interface name. cd /etc/sysconfig/network-scriptsĢ- Enter the ls command to find the name of your interface file. Recommended Article: Set static IP on CentOS 7 Setting static IP on CentOS 7 by terminal environment commandsġ- First, go to /etc/sysconfig/network-scripts path.
