Syed Jahanzaib Personal Blog to Share Knowledge !

December 4, 2012

Howto change MAC address of VM hosted in VM-Workstation

Filed under: VMware Related — Syed Jahanzaib / Pinochio~:) @ 9:02 AM



Manually Assigning a MAC Address For VM

To make sure that the same MAC address is assigned to a given virtual machine every time, even if the virtual machine is moved, you can assign the address manually instead of allowing VMware Workstation to assign it automatically. To assign the same, unique MAC address to any virtual machine manually, use a text editor to remove three lines from the configuration file and add two lines. The configuration file has a .vmx extension at the end of the file name.

To change MAC address of any virtual machine running under VM Workstation, Follow the below . . .

1- Make sure that the target VM is turned off.
2- Browse to folder where your VM is available. For example

3- Now open VMX file in NOTEPAD , the name would be something like machine_name.VMX

4- Remove the three lines from the configuration file that begin with:


[Note: Change the ethernet0 to match your’s]

Now Add a new static MAC address line to the configuration file with help of the following entries:

ethernet0.addressType = "static"
 ethernet0.address = "00:11:22:33:44:55"

5- Now Save the configuration file. & Start the VM

Syed Jahanzaib

%d bloggers like this: