Thursday, October 27, 2016

Solving Network problems on Linux VMs when Cloning VMware Virtual machines

Connect to vCenter Server using the vSphere Client
Right-click the virtual machine and click Edit Settings.
Click Network adapter and note the MAC Address.

For example, you see a MAC Address similar to:

00:50:56:86:00:00

Power on the Linux virtual machine.
Open a console and log in as root.
Change directory to etc/sysconfig/network-scripts.
Edit ifcfg-eth0 and  update the MAC address to reflect the MAC address in Step 1
Edit /etc/udev/rules.d/70-persistent-net.rules  and update the MAC address to reflect the MAC address in Step 1

Activate the ethernet card by running this command:

ifup eth0. 



No comments: