Changing vlan of VM | Nutanix Community
Skip to main content
How to change VLAN of VM created in AHV?
Delete the vNic and remake it in a different VLAN.
Jon



I discussed this lately with one of my customers...



Isn't it possible to change the network with

acli vm.nic_update?



Should be much easier than deleting and re-adding a new nic... I am not sure this will work, but according to the documentation, it should...



Regards,

Bart
Nope. This is for using VM NIC as trunk or access port to pass multiple VLAN on single VM NIC
It does work but you need to shutdown the VM first.



Do a vm.off "VMNAME"



Then do the following, Example:



vm.nic_update Test 50:6b:8d:f6:d0:9c network=VLAN 51