Use VMware to clone virtual machine, error when configuring NIC

Source: Internet
Author: User

The following three steps can be quickly resolved

First step: Modify or delete a file/etc/udev/rules.d/7 0-persistent-net.rules

[Email protected] ~]# Mv/etc/udev/rules.d/70-persistent-net.rules/etc/udev/rules.d/70-persistent-net.rules.bak



Step Two: Modify the NIC configuration file/etc/sysconfig/network-scripts/ifcfg-eth0

Comment out the network card or Mac information.

Device=eth0

#HWADDR =00:50:56:aa:31:ec

Type=ethernet

#UUID =8e8f1d18-f7fa-47a0-9430-07bfa8705120

Onboot=yes

Nm_controlled=yes

Bootproto=static

ipaddr=192.168.1.30

netmask=255.255.255.0

gateway=192.168.1.254


In the third step, restarting the server reboot or start_ude command regenerates the 70-persistent-net.rule file

can be both.

This article is from the "Breght Moon" blog, make sure to keep this source http://liqingbiao.blog.51cto.com/3044896/1683712

Use VMware to clone virtual machine, error when configuring NIC

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.