CentOS Linux Solution device eth0 does not seem to be present

Source: Internet
Author: User

installed in the KVM CentOS Linux systems. Restart the system after the power outage, the network suddenly does not pass.

Ifconfig-a|more didn't see eth0. Then restart the Network service, the error is as follows:

Failure phenomena:

Service Network restart

Shutting down loopback insterface: [OK]
Bringing Up loopback insterface: [OK]
Bringing up interface Eth0:device eth0 does no seem to be present,delaying initialization. [FAILED]

Workaround:

1. First, open the/etc/udev/rules.d/70-persistent-net.rules

Vi/etc/udev/rules.d/70-persistent-net.rules:
Then log down the MAC address of the eth1 NIC.

2. Open/etc/sysconfig/network-scripts/ifcfg-eth0

Vi/etc/sysconfig/network-scripts/ifcfg-eth0:

Change device= "eth0" to Device= "eth1",
Change the current hwaddr address of the eth0 to the MAC address of the eth1 NIC that has been recorded. hwaddr= "XX:XX:XX:XX:XX:XX".

3. Finally, restart the network

Service Network restart
Or

/etc/init.d/network restart

In this way, the network service is normal.


This article is from the "Lin XI" blog, please be sure to keep this source http://lutaoxu.blog.51cto.com/4224602/1569459

CentOS Linux Solution device eth0 does not seem to be present

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.