edit the vmx file /vmfs/volumes/50bf4d82-31b73571-5543-001e4f378eac/MAS # vi MAS.vmx
ensure you are using generated MACs: ethernet0.addressType = “generated”ethernet1.addressType = “generated”
edit these 3 lines to reflect the MAC you want. this assumes you want to use one of the “VMWARE automagic (00:0c:29)” ones, notice the last 6 chars of the first two lines match the last 3 octets of your MAC uuid.location = “56 4d 74 53 f4 52 bf 03-02 fb 39 13 6b 2b 6c fc”uuid.bios = “56 4d 74 53 f4 52 bf 03-02 fb 39 13 6b 2b 6c fc”ethernet0.generatedAddress = “00:0c:29:2b:6c:fc”
if you want ethernet1 to match something specific instead, you need to subtract 10 (0x0A) from the last octet of the ethernet0 MAC because of this line: ethernet1.generatedAddressOffset = “10”
This will create ethernet1’s MAC with a value of 10 more than ethernet0. I didn’t play around with different values here, but presumably you could calculate & edit this number to get both MACs to match your needs.
remove the VM from inventory, and re-import it (by browsing the datastore to the vmx file)
When starting the VM, answer “I moved it” to the dialog box asking about what happened to your machine
comments