Eth0 cannot initialize after VMware clones CentOS6.4

Source: Internet
Author: User

With VMware cloning CentOS6.4 virtual machine, modified the IP equivalent of ifcfg-eth0, restart the network, error.

(eth0 not found, will be deferred initialization)

and then use

#ifconfig

Only the local loopback port is visible,

and then use

#ifconfig-A

View all available network cards and discover that eth1 is displayed instead of eth0.

Found on the internet, "VMware cloning Ubuntu" No such device eth0 "error (http://www.linuxidc.com/Linux/2010-01/23991.htm)" There are related issues,

Guess

Clone, the original virtual machine network card configuration and so on all clone,

In VMware, however, clone actually re-creates a server,

The MAC address will also be re-created,

But because the configuration of the original server is copied, the newly created network card is no longer eth0, but is saved as eth1.

Workaround:

Modify The configuration file for/etc/udev/rules.d/70-persistent-net.rules//Save network card MAC address and other information

First look inside there are:

# PCI Device 0x8086:0x100f (e1000)
subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "eth0-mac", attr{type}== "1", kernel== "eth*" , name= "eth0"

# PCI Device 0x8086:0x100f (e1000)
subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "eth1-mac", attr{type}== "1", kernel== "eth*" , name= "eth1"

Remove the information from the above eth0 and eth1 the Eth1-〉eth0

# PCI Device 0x8086:0x100f (e1000)
subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "eth1-mac", attr{type}== "1", kernel== "eth*" , name= "eth0"

then vim /etc/sysconfig/network-scripts/ifcfg-eth0. Configure IP and other information,

Restart the server and you're ready.

And then again with Ifconfig to see, what appears is the configuration information of eth0.


This article is from the "Wave Plume Breeze" blog, please be sure to keep this source http://1145004.blog.51cto.com/1135004/1569884

Eth0 cannot initialize after VMware clones CentOS6.4

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.