Installing CentOS 6 Network configuration issues

Source: Internet
Author: User

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

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.