Installing CentOS 6 Network configuration issues
Today, I decided to upgrade my CentOS home from 5 to 6. However, after installing CentOS 6.2, it was found that Eth0 did not automatically obtain IP through DHCP as usual. After opening "/etc/sysconfig/network-scripts/ifcfg-eth0", it is found that the configuration information is not the same as usual, the configuration information is as follows.
1 device= "Eth0"
2 Hwaddr= "00:0c:29:8e:13:7e"
3 nm_controlled= "Yes"
4 onboot= "No"
Www.ahlinux.com
"Nm_controlled", this strange configuration item came into my eyeball, from Google results http://www.convirture.com/wiki/index.php?title=RedHat_6_ Networking learned that the original from the RedHat6, in the installation process by default no longer manually configure the network, to go through the networks Manager http://www.redhat.com/magazine/003jan05/features/ networkmanager/. (No wonder you didn't see any setup steps for the network at the time of installation!) )
But I changed the configuration information to the following, and after executing the command "/etc/init.d/network restart", everything returned to normal.
1 device= "Eth0"
2 bootproto= "DHCP"
3 hwaddr= "00:0c:29:8e:13:7e"
4 nm_controlled= "No"
5 onboot= "Yes"
Author NERON.L
- This article is from: Linux Learning Network
Installing CentOS 6 Network configuration issues