Hi,
I found a similar thread and I hope it could help at your side:
By default the Hyper-V NICs drop all VLAN tags comming from within the VM.
To allow forwarding VLAN tagged packets use this powershell command on the physical host targeting the NICs of all your virtual hosts:
Set-VMNetworkAdapterVlan -Trunk -AllowedVlanIdList "0-4093" -VMName "vHost1" -VMNetworkAdapterName "Vhost1Nic" -NativeVlanId 0
This will set the vHosts NIC to trunk mode and allow passing through all VLANs (4093 is the highest accepted).
You can also allow just specific VLANs using a list for AllowedVlanIdList (e.g. "3,8,234")
Thanks for your time!
Best Regards,
Mico Mi
-----------------------------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.