Nic issues with CentOS6.3 minimal EFI

Source: Internet
Author: User


CentOS6.3 minimal EFI Nic problems these days with the CentOS-6.3-x86_64-minimal-EFI.iso image installed virtual machine, found that the start up can not find the network card ...... The problem has been solved. Record it here for me to check it later. Network Configuration Options for the Virtual Machine www.2cto.com: You can see that the network is selected here. Log on to the installed Virtual Machine System (CentOS-6.3-x86_64-minimal-EFI), execute the ifconfig command, the output result is as follows: here only one lo Nic, but not eth0, this is because the NIC is not started by default. Solution: 1. Backup Nic configuration cd/etc/sysconfig/network-scripts/cp ifcfg-eth0 {,. bak} 2. Change the NIC configuration. The default Nic configuration is as follows: ONBOOT = "yes" here is the simplest example. Nic configuration files have many options. For example: 1 DEVICE = eth0 # Interface Name (DEVICE, nic) 2 BOOTPROTO = static # IP configuration method (static: fixed IP, dhcpHCP, none: manual) 3 HWADDR = 08: 00: 27: A6: 21: 8F # MAC address 4 ONBOOT = yes # whether the network interface is valid when the system starts (yes/no) 5 IPADDR = 192.168.1.2 # IP address 6 NETMASK = 255.255.255.0 # subnet mask 7 GATEWAY = 192.168.1.1 # GATEWAY address 8 IPV6INIT = no # whether IPV6 is valid (yes/no) 9 TYPE = Ethemet # network TYPE (usually Ethemet) 3. restart the computer to verify that eth1 will automatically start and get the IP Address:
 

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.