When creating a VM in vCloud Director (vCD), vCD automatically assigns a MAC address. To ensure that the MAC address is unique within the environment the vCD uses the instance ID of the vCD installation to define the MAC address range. If you have multiple vCD instances you might use different IDs for your installations to avoid duplicate MAC addresses.
You can customize the instance ID as follows:
You can either use the new HTML5 tenant client and put in a valid MAC address manually and save the changes.
When you change the Mac address in the backend, directly on vSphere, then vCloud Director will change back the MAC to the address stored ins vCloud Director databaseYou could also use a PowerCLI script to change the MAC address:
Connect-CiServer vCloudDirector.fqdn $vm = get-civm "win" $vm.ExtensionData.Section[2].NetworkConnection[0].MACAddress = "00:56:37:0E:05:22" $vm.ExtensionData.Section[2].UpdateServerData() $vm.ExtensionData.Section[2].NetworkConnection[1].MACAddress = "00:50:56:02:eb:60" $vm.ExtensionData.Section[2].UpdateServerData()
You can follow the process in vCD:
The order of the PowerCLI Array is not always the same as shown in the GUI
To verify the configuration, you can double-check this with the NIC array returned by the PowerCLI Array.