VMware Cloud Community
tkessler
Contributor
Contributor

Port Group with Vlan tag will not work on second host in cluster

I have two ESXi 6.5 servers in a cluster, with a single NIC attached for all management, vMotion, and data connections at the moment. I am using hosts configured with the standard switch. The servers are in most respects configured identically, and the NICs for each are connected to a trunk port on my network that allow all vlans. For the first host, I can create port groups on the standard switch and assign vlan tags to them. When bound to a specific VM, the link works and they receive traffic from that vlan (dhcp services on that vlan assign IPs to the NIC, etc.). However, if I take the same VM and migrate it to the second host in the cluster, the only port group that works is the default one assigned to the management vlan. If I create a new port group with a vlan tag (the same tag used for the first host), and assign it to the same VM, then no traffic occurs (dhcp stops working, and all network activity times out for the subnets on that vlan). I'm somewhat perplexed. Both hosts have trunk ports to the physical network, the same physical NIC configuration in vSphere, the same VM Kernel configurations, the same vswitch0 standard switch configuration, with the same port group names and vlans. Any ideas on what might be going on?

Reply
0 Kudos
1 Reply
bayupw
Leadership
Leadership

Could you provide a screenshot of the two vSwitches configuration?
How about the uplink physical switch configuration, have you double checked the VLAN trunk ports on the physical switch side?

Bayu Wibowo | VCIX6-DCV/NV
Author of VMware NSX Cookbook http://bit.ly/NSXCookbook
https://github.com/bayupw/PowerNSX-Scripts
https://nz.linkedin.com/in/bayupw | twitter @bayupw
Reply
0 Kudos