![]() ![]() ![]() If so, replace eth0 with the name of your device in the command above.įirst let’s edit /etc/sysconfig/network. NOTE: The name of your network interface may differ from eth0. /etc/sysconfig/network-scripts/ifcfg-eth0.Now that NM (NetworkManager) is out of the way we need to edit three files. ![]() Or systemctl enable network Edit Configuration Files Systemctl stop NetworkManager Enable network Service at BootĮnsure the network service is set to start at boot. Stop NetworkManager: service NetworkManager stop Since we are setting them statically we do not need it. This service is responsible for requesting DHCP addresses and configuring the network interfaces. The first thing I like to do is to turn off NetworkManager. You will need the following information in order to complete this configuration: I am currently using CentOS 5.Ī: This is a simple task once you understand the files and changes involved. Can you tell me simply how to configure CentOS or Red Hat for a static IP address. Q: I have come across a few how-to article on setting a static IP address but I always seem to get stuck. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |