Changing a VMware VM MAC address

From MyWiki

Jump to: navigation, search

Forcing VMWare to Assign a New MAC Address

Based on [1], edit the .vmx file and delete the following lines. VMWare will assign a new random MAC address next time the system boots.

ethernet0.addressType
uuid.location =
uuid.bios =
ethernet0.generatedAddress =
ethernet0.generatedAddressOffset =

Copying MAC Address from one VM to Another

Edit the vmx file and copy the following lines from the original to the destination VM (the address will be different of course):

ethernet0.addressType = "generated"
ethernet0.generatedAddress = "00:0C:29:3A:3D:D8"
ethernet0.generatedAddressOffset = "0"

uuid.location = "56 4d dc 1f 64 3d 1c 1b-68 76 f3 40 65 12 f6 12"
uuid.bios = "56 4d 5a 55 b2 2b 6a 9c-55 1e 4e 61 69 3a 3d d8"

Then you need to edit the value of uuid.bios so that the last three bytes match the last three bytes of the desired MAC address. I.e. if the MAC address ends in "3A:3D:D8", then make sure uuid.bios ends in "3a 3d d8". Otherwise VMware will keep changing the MAC address to match the uuid.bios value.

Manually Setting a MAC Address

Not tested: http://www.vmware.com/support/ws45/doc/network_macaddr_ws.html

Personal tools