Currently have a 3 node 2012r2 cluster. Everything is working fine without any issues with networking / VLANS / etc...
The issue that I am having is needing to define the VLAN at the Guest VM Configuration Level.
I can create a Virtual Teamed NIC and assign it to say VLAN 13. Attach the VirtualSwitch to this newly created Virtual Team. However, no network connectivity. I apply VLAN 13 to the Virtual Machine and this now works.
Let's take another approach. I have my Teamed Nic "Team 1 - Core" and I create a virtual switch, assign the virtual switch to vlan 13. This VM is not able to connect to items on that network. I configure the VM to use VLAN 13, it will work.
I take the approach It's ignoring the Virtual Switch and the OS Teaming. I apply VLAN 13 to both. Same results. I am required to assign VLAN 13 to the virtual machine and it works.
Ultimately, I do not want to manually assign the VLAN ID to the virtual machines.
I have found the answer for this.
You have to do both.
- Assign VLAN ID in the Team Interface OR
- Assign VLAN in Hyper-V vSwitch <- Microsoft best practices AND
- Assign the VLAN ID to the Virtual Machine