VLAN Trunking and IP Assignment per NIC | Nutanix Community
Skip to main content

Hi, If I enable VLAN trunking at VM level, say for example VLAN 100 and VLAN 200. Do I need to assign two different IPs in the same NIC for each VLAN?

This has nothing to do with nutanix. Refer to the documentation of the operating system how to configure multiple vlans to 1 nic. I assume you have to add two interfaces tot the vm. But I dont know for sure. 


If you set up the NIC as a trunk on the Nutanix side, you have to configure your OS to tag the outgoing packet. Usually, this is done by creating 2 sub interfaces with the proper configuration. If you only need 2 interfaces, you probably should just create 2 NIC's in access mode, it will be much easier. Trunk mode is useful mainly for virtual network appliances like firewall.