Network restart error resolved after CentOS virtual machine replication

Source: Internet
Author: User

Reference: http://blog.csdn.net/xluren/article/details/38986667

The following error occurred after executing service network restart

FAILED:

Bringing up interface Eth0:device eth0 does no seem to be present, delaying initialization.

cause

Bringing up interface Eth0:device eth0 does not seem to be present, delaying initialization. The reason is generally due to the modification of the virtual machine under Linux, Clon E and other operations.

Workaround:

1. Modify the hwaddr of the CentOS virtual machine clone machine to ifconfig-a MAC address
Form: hwaddr=00:0c:29:90:a7:23, edit the Ifcfg-eth0 file, change the HWADDR value to the corresponding MAC address in Ifconfig-a, as follows:

VI /etc/sysconfig/network-scripts/ifcfg-eth0


2. Then do the following:

rm -rf/etc/udev/rules.d/-persistent-~
~]# Service Network Restart shutting down loopback insterface: [ OK ] bringing up loopback Insterface: [ OK ] Bringing up interface eth0: [ OK

Network restart error resolved after CentOS virtual machine replication

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.