After CentOS6.3 is installed as a server, the NIC cannot be loaded or cannot be connected when it is started.

Source: Internet
Author: User


After CentOS6.3 is installed as a server, the NIC cannot be loaded or cannot be connected to the NIC at startup. 1. After CentOS 6.3 logs in as text, the ifconfig Command finds that only one local loopback Nic can be found, etho cannot be found, so you can use the www.2cto.com ifup eth0 command to activate the NIC, but you also need to configure the IP parameter, therefore, modify ifcfg-etho under/etc/sysconfig/network-scripts/to modify the file configuration as follows: # Nic DEVICE name: DEVICE = "eth0" # obtain the IP address in static mode BOOTPROTO = static connect to the network in bridging mode NM_CONTROLLED = "yes" #/load Nic configuration when the system starts, this option must be yes. Otherwise, the NIC is disconnected after the system is connected, use ifup eth0 to activate the nic onboot = "no" # Nic TYPE = "Ethernet" UUID = "nobody" # Nic IP address IPADDR = 192.168.0.248 # subnet mask PREFIX = 24 # default GATEWAY = 192.168.0.1 # DNS settings DNS1 = 219.146.0.130DNS2 = 219.150.32.132DEFROUTE = yesIPV4_FAILURE_FATAL = yesIPV6INIT = noNAME = "System eth0" HWADDR = 00: 0C: 29: 1B: 46: 8DLAST_CONNECT = 13532458692. restart the network service network restart.

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.