Network configuration after a VMware virtual machine clone
Source: Internet
Author: User
We are often in the VMware environment to replicate the virtual machine operations, such as we build clusters and so on, and in the replication, configure the network, we will always find such a problem, Nic no matter what, is not up. Now let me share one of my processes with you.
1. Modify the network card configuration file, use and source host (source host is cloned mother) different IP address/etc/sysconfig/network-scripts/ifcfg-eth0
If it is a static IP address, you have to modify the value of this field ipaddr, according to your subnet to modify. It is generally possible to modify the last one. We generally have no problem with this step. Here is the key
2. The same or modify the network card configuration file, using different Mac,mac from where to get it? After the modification, we found that the reboot card is still not able to start, you need the following step
3. Delete all files in the/etc/udev/rules.d/directory rm-rf/etc/udev/rules.d/*
Some people say that you can modify a file in this folder, or modify the Mac problem, we see that the Mac is a string of input is very troublesome, can not replicate, once the modification is wrong, but also need to come back, so it is better to delete directly, and then restart the system, these files are again, and do not need to modify, The network is configured successfully.
4. Reboot server reboot
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.