A network configuration problem with the VMware clone function

Source: Internet
Author: User

A network configuration problem with the VMware clone function

Today, we are going to install Hadoop on our own machine. We need a Namenode and two Datanode according to the plan. In this way, we need three nodes. After installing the CentOS 6.5 system on the first node, for convenience, the clone function of VMware is used. However, when the cloned system is enabled, a network configuration error is found, the system network is not correctly configured, and the network service is restarted. The error "no suitable device is found" is reported, 1 and figure 2:

Figure 1

Figure 2

View the configuration information for cloning the new system NIC: cat/etc/udev/rules. d/70-persistent-net.rules

Figure 3

Figure 3 shows that a new Nic is added to the system because VMware assigned a new Nic to the new system during cloning, however, the contents in the NIC's profile ifcfg-eth0 are not updated, so replace hwaddr in the ifcfg-eth0 with the HWADDR corresponding to the NIC (eth1 in the 70-persistent-net.rules file) assigned by VMware for the new system.

Figure 4 (problematic Nic configuration)

Figure 5 (modified Nic configuration)

Restart the network service. The network configuration is successful:

Figure 6

This article permanently updates the link address:

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.