No network after I copy/clone a Virtual Machine

By | August 1, 2009

To have a backup of my virtual machine I just copied it to a DVD. I have a big surprise when I want to restore it. Everything works great, exept Networking. I had no ping, no internet, nothing.

The problem was caused because VMWare tools asign a new Mac address.

How to solve this problem:

  1. Go to the phisical location of you VM files and find vmware_suse.vmx
  2. Open it and find the following entry: ethernet0.generatedAddress
  3. Copy the MAC address
  4. Now, go to the SuSE VMWare and open a termina
  5. su – root
  6. Showdown your ethernet interface: ifconfig eth0 down
  7. Add the MAC address from you VMWare: ifconfig eth0 hw ether AA:11:BB:22:CC:33
  8. Start-up your ethernet interface: ifconfig eth0 up
  9. If you use DHCP it is recommended that you will boot your system to renew all the entries into the DHCP server: shutdown -r now

That’s it!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.