To install CentOS6, we decided to upgrade CentOS from 5 to 6. However, after CentOS6.2 is installed, it is found that eth0 does not automatically obtain the IP address through DHCP as usual. After opening the/etc/sysconfig/network-scripts/ifcfg-eth0, I found that the configuration information is not the same as usual... installing CentOS 6 network configuration problems today I decided to upgrade CentOS from 5 to 6 at home. However, after CentOS 6.2 is installed, it is found that eth0 does not automatically obtain the IP address through DHCP as usual. Open/etc/sysconfig/network-scripts/ifcfg-eth0 and find 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.2cto.com "NM_CONTROLLED ", this unfamiliar configuration item thus enters my eye, from Google results http://www.convirture.com/wiki/index.php? Title = RedHat_6_Networking learned that the Network was no longer manually configured during the installation process starting from RedHat6 and switched to Network Manager http://www.redhat.com/magazine/003jan05/features/networkmanager /. (No wonder I didn't see any network setting steps during installation !) However, after I change the configuration information to the following and run the "/etc/init. d/network restart" command, everything will return to normal. 1 DEVICE = "eth0" 2 BOOTPROTO = "dhcp" 3 HWADDR = "00: 0C: 29: 8E: 13: 7E "4 NM_CONTROLLED =" no "5 ONBOOT =" yes "by Neron. L
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.