Nic failure after OracleVM system Clone

Source: Internet
Author: User

Oracle VM is good to use, but every time you Clone the system, the eth0 NIC will arrive at the new OS and use ifconfig to check that eth1 is found. It's strange to change the/etc/sysconfig/network-scripts/ifcfg-eth0 configuration file. Solution 1:

In the GUI menu, delete eth0 and use the eth1 one.

Solution 2:

Modify the ing relationships in the 70-persistent-net.rules file. Change the NIC corresponding to eht0 in the 70-persistent-net.rules file to the MAC address of the new OS Nic. Delete unnecessary ones. The file path is as follows. Oracle Linux:/etc/udev-post/rules. d/70-persistent-net.rulesCentos:/etc/udev/rules. d/70-persistent-net.rules

Restart your computer.
This problem has actually occurred several times before and has been forgotten recently. Write down here and check it next time.
What is udev? Udev is the default device management tool in Linux. It is used to manage devices connected to the operating system to generate device files. In addition, udev can define a udev rule (rule) to generate device files that match device properties.
 

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.