The new Linux virtual machine cannot find the eth0 solution

Source: Internet
Author: User

The new Linux virtual machine is configured with Vi/etc/sysconfig/network-scripts/ifcfg-eth0:

Then use Ifconfig to see if the IP is not eth0, only lo and virbr0

Where lo is a loopback device. This is a necessary device, so long as Linux is enabled for support of the network, it will have this device.

And Virbr0 is a virtual network connection port.

Run Ifconfig-a also no eth0

There are several ways to find it online.

Running ifconfig eth0 up eth0 Nic is still not working, deleting the/etc/udev/rules.d/70-persistent-net.rules file does not work

After thinking maybe the existence of the virtual network card can cause eth0 to fail to activate, try to unload the virbr0 through yum-y remove Libvirt reboot the system does not work

Finally yum-y remove libirt* after reboot eth0 activated

The new Linux virtual machine cannot find the eth0 solution

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.