Question

AHV VM MAC Address Static?

  • 3 October 2019
  • 2 replies
  • 2601 views

Are the MAC addresses assigned to a VM at creation static - as with other hypervisors the MAC address can be changed at reboot.

This topic has been closed for comments

2 replies

Userlevel 6
Badge +5

Hi @jonnysco,

 

By default MAC address is dynamically generated during NIC addition and they. Please refer to KB-3670 for changing MAC address on a VM’s NIC.

From the same KB:

“It is not possible to change MAC address in existing NIC. NIC has to be deleted and then added back with new MAC address specified.”

Hence the MAC address will not change on the power cycle of the VM. I have also tested this in the lab and it remains the same.

 

Please let me know if that helps.


Reegards,

Alona

Hi
I never had to do this.
Check if the following article helps:
https://next.nutanix.com/server-virtualization-27/change-vm-nic-mac-address-acropolis-7428
https://next.nutanix.com/scripts-32/mac-address-change-after-migration-causes-ip-to-be-set-to-dhcp-12377