This issue is resolved in:
After applying this patch, you can power on the virtual machine by setting the value of ethernetx.checkMACAddress to FALSE in the VMX file of the virtual machine, so that the MAC address is not validated against the range.
To change the value for ethernetx.checkMACAddress:
Method 1:
- Shut down the virtual machine.
- Right-click the virtual machine.
- Click Remove from Inventory.
- Log in to a console session on the ESX/ESXi host as the root user.
- Go to the virtual machine home directory:
# cd /vmfs/volumes/DatastoreName/VMFolderName
- Run this command to make a backup of the existing virtual machine's .vmx configuration file:
cp vmname.vmx vmname.vmx.old
- Open the .vmx configuration file in an editor such as vi or nano.
- Add or change these entries:
ethernetN.checkMACAddress = "false"
ethernetN.addressType = "static"
ethernetN.Address = "XX:XX:XX:XX:XX:XX"
Where XX:XX:XX:XX:XX:XX is the new MAC address for the virtual machine. Change N in ethernetN with the Network Adapter value. For example:
Network Adapter 1 -> ethernet0
Network Adapter 2 -> ethernet1
- Register the virtual machine back to the Inventory. For more information, see Registering or adding a virtual machine to the inventory on vCenter Server or on an ESX/ESXi host (1006160).
- Start the virtual machine.
Method 2:
- Shut down the virtual machine.
- Log in to a console session on the ESX/ESXi host as the root user.
- Go to the virtual machine home directory:
# cd /vmfs/volumes/DatastoreName/VMFolderName - Run this command to make a backup of the existing virtual machine's .vmx configuration file:
cp vmname.vmx vmname.vmx.old - Open the .vmx configuration file in an editor such as vi or nano.
- Add or change these entries:
ethernetN.checkMACAddress = "false"
ethernetN.addressType = "static"
ethernetN.Address = "XX:XX:XX:XX:XX:XX"
Where XX:XX:XX:XX:XX:XX is the new MAC address for the virtual machine. Change N in ethernetN with the Network Adapter value. For example:
Network Adapter 1 -> ethernet0
Network Adapter 2 -> ethernet1 - Obtain the Inventory ID (
Vmid
) for the virtual machine using this command:
# vim-cmd vmsvc/getallvms
Note: The output shows virtual machines which are registered on the ESXi/ESX host.
You see output similar to:
Vmid Name File Guest OS Version
2848 Win2003_storage_performance [local] Win .vmx winNetEnterpriseGuest vmx-07
In this example, the Vmid
is 2848. - Reload the
.vmx
file using this command:
# vim-cmd vmsvc/reload
Vmid
For more information, see Reloading a vmx file without removing the virtual machine from inventory (1026043).
- Power on the virtual machine.