VMware clone Virtual host, Nic does not start problem resolution

Source: Internet
Author: User

Description of the phenomenon:

VMware clones a new virtual host, but the NIC is not enabled properly, as prompted below.

Processing process:

1. Check that the NIC profile Ifcfg-eth0 is correct, and delete the MAC address when it is confirmed.

Cat/etc/sysconfig/network-scripts/ifcfg-eth0

Device=eth0
Hwaddr=00:0c:26:67:23:bd
uuid=63fd2ace-a99e-4053-96f3-23c6f01f1289
Onboot=yes
Nm_controlled=yes
Bootproto=none
ipaddr=192.168.0.10
netmask=255.255.255.0
gateway=192.168.0.1
dns1=8.8.8.8
Ipv6init=no
Userctl=no
Type=ethernet

2. Next look at the Linux Resource Manager configuration file, you will find a new line of network card information, at this time, to log off the original information, and the new name= "eth1" to Name= "eth0":

Cat/etc/udev/rules.d/70-persistent-net.rules

# PCI Device 0x8086:0x100f (e1000)
# subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "00:0c:26:67:23:bd
", attr{type}==" 1 ", kernel==" eth* ", name=" eth0 "

# PCI Device 0x8086:0x100f (e1000)
subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "00:0c:26:1e:7a:08
", attr{type}==" 1 ", kernel==" eth* ", name="eth1"

3. Write the newly generated MAC address information to the configuration file Ifcfg-eth0 in the following format:

echo "hwaddr=00:0c:26:1e:7a:08" >>/etc/sysconfig/network-scripts/ifcfg-eth0

4 Restart the virtual Linux host and restart the Network service again, display "OK", Linux can be used normally.


~

VMware clone Virtual host, Nic does not start problem resolution

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.