Unable to change MAC address for a VM managed by VMware Cloud Director
search cancel

Unable to change MAC address for a VM managed by VMware Cloud Director

book

Article ID: 370160

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Unable to change MAC address for a VM managed by VMware Cloud Director on the CD UI
  • When editing the VM NIC configuration for a VM in CD UI we have only the option to reset the MAC address

Environment

  • VMware Cloud Director 10.x

Cause

When creating a VM in VMware Cloud Director, CD automatically assigns a MAC address to the VM to ensure that the MAC address is unique within the environment the CD uses the instance ID of the CD installation to define the MAC address range.
Cloud Director overrides MAC vCenter Server assignments.

Resolution

The VM MAC address can be changed via CD API below using an API tool like Postman.
PUT https://cloud.example.com/api/vApp/vm-ID/networkConnectionSection/

Additional Information

For more information see the Cloud Director API Reference.