VMware cloned virtual machine, boot NIC error after boot

Source: Internet
Author: User

VMware cloned virtual machine, boot NIC error after boot

Failure phenomena:

[[email protected] ~]# service network restartShutting down loopback insterface:                                            [   OK  ]Bringing up loopback insterface:                                              [   OK  ]Bringing up interface eth0:  Device eth0 does not seem to be present,delaying initialization.                    [FAILED]

This time can be entered ifconfig-a can see no eth0 network card device name, but there is eth1

Workaround 1:

[[email protected] ~]# mv /etc/sysconfig/network-scripts/ifcfg-eth0? /etc/sysconfig/network-scripts/ifcfg-eth1 [[email protected] ~]# vim?/etc/sysconfig/network-scripts/ifcfg-eth1 修改DEVICE="eth0"? 为DEVICE="eth1"  然后重启启动网卡尝试下

Workaround 2:

[[email protected] ~]# vim /etc/udev/rules.d/70-persistent-net.rules……\# PCI device 0x8086:0x100f (e1000) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:e4:54:4e", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"\# PCI device 0x8086:0x100f (e1000) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:e4:54:58", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"将上面红色字体中的eth0改为eth1,eth1改为eth0; reboot重启

Workaround 3:

[[email protected] ~]# rm -rf /etc/udev/rules.d/70-persistent-net.rules[[email protected] ~]# reboot ………………

VMware cloned virtual machine, boot NIC error after boot

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.