Problem solving method of network after cloning CentOS with Vmwaer

Source: Internet
Author: User

After cloning the virtual machine, network card problems, resulting in the inability to surf the Internet;


After cloning: Use IP addr show to find the NIC name eth1 is not the default eth0

View:/etc/sysconfig/network-scripts/directory can only see the ETH0 network card



Causes of failure:


Because of the cloned system, the virtual machine just modifies the VM's name Mac, and adds a line name eth1 to the/etc/udev/rules.d/70-persistent-net.rules file.


Workaround:


1. Modify the/etc/udev/rules.d/70-persistent-net.rules file

Delete the information about eth0. The name of the network card that modifies the second eth1 is eth0.

2. Modify the MAC address and/etc/sysconfig/network-scripts/in the file/etc/udev/rules.d/70-persistent-net.rules The MAC address in the Ifcfg-eth0 corresponds to the MAC address of the virtual machine NIC.



This article is from "Rookie Diary" blog, please make sure to keep this source http://zkxfoo.blog.51cto.com/1605971/1608361

Problem solving method of network after cloning CentOS with Vmwaer

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.