Skip to main content
Solved

VLAN Trunking and IP Assignment per NIC

  • Aug 1, 2024 12:58 PM UTC
  • 2 replies
  • 371 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.

View original
This topic has been closed for replies.

2 replies

JeroenTielen
Forum|alt.badge.img+8

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
  • Answer
  • Aug 2, 2024 9:08 AM UTC

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.