I have two Windows Server 2016 with Hyper-V installed. Each server has two ethernet adapters. And each Hyper-V has several VMs. My goal is VMs can communicate with each other if they fall into the same VLAN.
In order to make the network connection redundancy, I created the network teaming on the physical machine. The teaming is using "Switch Independent" with "Address Hash" options. On the Virtual Switch Manager, I created an external adapter by selecting the teamed adapter (Microsoft Network Adapter Multiplexor Driver).
Under each VM, I create a virtual adapter with VLAN tagged.
However, the VMs in the same VLAN cannot communicate with each other.
On the switch side, I have already configured trunk mode for all the ports connected with the physical machines.
If I remove the teaming, the VMs can communicate with VLAN tags. How to address this issue?
Best Answer
It's not entirely clear where your problem lies from your description. I'm uncertain about the "removing team" bit especially. If the VMs can communicate with each other when your virtual switch is Internal or Private, then the problem is not with Hyper-V.
If they can communicate with each other when you attach the virtual switch to only one unteamed adapter, then test using the other adapter instead. If one works but not the other, then it is likely a physical adapter or switch problem. If either works, but not both in a team, then it is likely a physical switch problem.
Check these points, even if you've already checked them. Problems like this are typically sourced back to something extremely minor and easy to overlook:
Physical Switch
Physical NICs
Physical NIC Team
Virtual adapters (Hyper-V Side)
Virtual adapters (inside guest)
Troubleshooting
If you've done all of the above and it still doesn't work, then you likely have a physical problem somewhere.
Get-NetLbfoTeamMember
).