Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230777

Re: MAC error after upgrading from vSphere 5.0 to 5.1

$
0
0

Hi Miral,

 

Here is a very simple work arround:

1. Remove your VM from inventory. Do not delete it from disk!

2. Connect to your VMware host where your VM is located for example using WinSCP (Make sure you have SSH enabled)

3. Navigate to /vmfs/volumes/your_storage/your_vm_folder

4. Open VM configuration file. I should be something like this: your_vm_name.vmx

5. Make sure you are using: ethernet0.addressType = "generated" - This will put you MAC address into "VMWARE automagic (00:0c:29)" zone.

6. Edit the last 6 char of your uuid.bios = by replacing it with the last 6 chars of your desired MAC address

    For example if you need to to have MAC address 00:0C:29:3D:22:12 and your original uuid.bios is:

 

    uuid.location = "56 4d 74 53 f4 52 bf 03-02 fb 39 13 6b 2b 6c fc"

 

by replacing the last 6 chars you must have next:

 

   uuid.location = "56 4d 74 53 f4 52 bf 03-02 fb 39 13 6b 3d 22 12"

 

7. At the end make sure ethernet0.generatedAddress  key looks like your desired MAC address

 

   ethernet0.generatedAddress = "00:0c:29:3d:22:12"

 

   If you have ethernet0.Address key instead replace it with ethernet0.generatedAddress.

 

8. On your vSphere Client:

   8.1. Select the host where your VM is located.

   8.2. Select Summary tab.

   8.3. Right click on the date store  where your VM is located and select "Browse Datastore".

   8.4. Navigate to your VM's folder and open it.

   8.5. Right click on your VM's .vmx file and select "Add to inventory"

   8.6. Follow the wizard.

 

9. Once you have tour VM back - Make sure you have the correct MAC address.

10. Power up your VM.

 

 

Important: If you need to replace MAC address for your second NIC just replace same keys but for ethernet1

 

 

Good Luck!


Viewing all articles
Browse latest Browse all 230777

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>