Skip to main content
Solved

VLAN Trunking and IP Assignment per NIC

  • August 1, 2024
  • 2 replies
  • 138 views

Forum|alt.badge.img+2

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?

Best answer by Scipio

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.

This topic has been closed for replies.

2 replies

JeroenTielen
Forum|alt.badge.img+8
  • Vanguard
  • 1788 replies
  • August 1, 2024

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. 


Forum|alt.badge.img
  • Adventurer
  • 6 replies
  • Answer
  • August 2, 2024

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.