“Cloned Linux Virtual Machine doesn’t connecting to the Network” problem might be a very common issue in the VMware Virtualization platform. This question was appeared few times and I thought to write this article to fix it with few steps.
I had the same issue with couple of Linux Virtual Machines and I normally do these steps before I connect the Virtual Machine to the network. So, if you are making a clone of a Virtual Machine make sure to follow these steps before you start anything and connect your virtual machine to the network.
Cloned Linux Virtual Machine doesn’t connecting to the Network ? Change the MAC Address
This happens when you clone a Linux Virtual Machine and it keeps the old MAC address in the Operating System. Linux is a file based Operating system so you can easily update the parameters in the files.
I took a clone of a Virtual Machine which was running in my VMware Workstation
Once you power on the Virtual machine and check the IP information from the “ifconfig” command and restart the Networking services from “service network restart” command you might see something similar to this output
Bringing Up Interface eth0: Device eth0 does not seem to be present, delaying initialization
Check the Network adapter information from “cat /etc/sysconfig/network-scripts/ifcfg-eth0” command and note the MAC address of the interface
Check the Actual MAC Address from the VMware Console
You can note that the actual MAC address and the MAC address in the configuration file are different. Now we need to adjust the actual MAC address in the configuration file.
Open the configuration file in the vi editor (command : vi /etc/sysconfig/network-scripts/ifcfg-eth0 and hit insert key to enable the editor mode). Change the MAC address to the actual MAC address in the VMware console
Save the file and shutdown the Virtual Machine
Just check the ifconfig and interface will up and run with the configuration. Quite easy!
If you found this post as useful please rate the post and share it!
The post Cloned Linux Virtual Machine doesn’t connecting to the Network appeared first on TECHCRUMBLE.