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

vmware

ethernet_mac_address

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
F:\VM-WARE-IMAGES\UBUNTU

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:


    ethernet0.generatedAddress
    ethernet0.addressType
    ethernet0.generatedAddressOffset


[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

Regard’s
Syed Jahanzaib

3 Comments »

  1. How can we cache apple updates ,.ipa.pkg,ipsw

    Like

    Comment by antonio — December 6, 2012 @ 3:20 AM

  2. How can we cache apple updates ,.ipa.pkg,ipsw

    Like

    Comment by antonio — December 6, 2012 @ 3:22 AM

  3. I think you are missing the part about what range of MAC addresses VMWare assigns, and hence which range of addresses you can safely set statically.

    Like

    Comment by sherpapsy — October 7, 2014 @ 4:04 PM


RSS feed for comments on this post. TrackBack URI

Leave a comment