Change VM NIC MAC Address on Acropolis

There are several reasons why would you like to update or change virtual adapter MAC address. One of the most common is legacy application license pined to network adapter card MAC address. In standard KVM you would edit virtual machine configuration file XLM and update mac address section.

But, Acropolis Hypervisor – AHV – is not common KVM hypervisor ūüôā . It is highly customized CentOS KVM by ¬†Nutanix engineering team. All virtual machines and virtual machines settings (MAC address too) is controlled by Acropolis. On standard KVM one would change virtual machine XML configuration file. ¬†However changing virtual machine XML configuration file will not keep setting permanent as all virtual machine settings are stored in Cassandra (noSQL) database.

Of course, it is possible to change or update virtual machine MAC address by using acropolis command line   acli.

Log in to  CVM via ssh and start Acropolis command line Рtype acli Рnote: MAC_Change is a virtual machine name.

List all VM network adapters with details

Detach adapter from VM

Create new network adapter with new MAC address


Acropolis Documentation 

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).