question

LeonidKhorolets-6818 avatar image
0 Votes"
LeonidKhorolets-6818 asked LeonidKhorolets-6818 edited

hyper-v vm netadapter in trunk mode and VMQ

Hello,

I configured vm's network adapter in trunk mode:

VMId : 8e39fc14-18f4-4b53-bc66-a2466c993a39
AdapterName : Network Adapter
AdapterId : Microsoft:8E39FC14-18F4-4B53-BC66-A2466C993A39\D8CE8C6D-588D-4931-B0AA-86C0472A091C
OperationMode : Trunk
NativeVlanId : 2
AllowedVlanIdList : 2-3

And got error in log:
Failed to allocate VMQ for NIC 8E39FC14-18F4-4B53-BC66-A2466C993A39--D8CE8C6D-588D-4931-B0AA-86C0472A091C (Friendly Name: Network Adapter) on switch 06BC7D6A-5117-406A-AB8F-51C70F082D70 (Friendly Name: SET-1). Reason - VMQ conflicts with the VLAN setting. Status = The request is not supported.

I tried to find documentation for limitation of VMQ with Trunk, but no result.

Is this limitation documented somewhere?

Thanks!

windows-server-hyper-v
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hi there,

Some users have stated changing NUMA Group Size Optimized from Clustered to Flat has sorted this issue. Every physical network adapter supports a specific number of virtual machine queues. The above error message tells you that you overcome the number of queues your physical network card provides to the virtual switch.

Here is a thread as well that discusses the same issue and you can try out some troubleshooting steps from this and see if that helps you to sort the Issue.

VMQ issues with NIC Teaming
https://social.technet.microsoft.com/Forums/ie/en-US/633b3e8f-b436-4054-bb61-6a8b34c3cfbb/vmq-issues-with-nic-teaming?forum=winserverhyperv

Failed to allocate VMQ for NIC on Windows 2016 Hyper-V host
https://social.technet.microsoft.com/Forums/lync/en-US/2e3dfccb-9fc1-4803-bd1b-96648eabc745/failed-to-allocate-vmq-for-nic-on-windows-2016-hyperv-host?forum=virtualmachingmgrhyperv



--If the reply is helpful, please Upvote and Accept it as an answer--

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeonidKhorolets-6818 avatar image
0 Votes"
LeonidKhorolets-6818 answered LeonidKhorolets-6818 edited

Thanks for linked topics.
But my issues is next:
When the vm-network-adapter in Access mode with some vlanid - vmq is successfully allocated.
But when the vm-network-adapter in Trunk mode - vmq is not allocated with error in logs that was in first my post.

I tried with network adapter intel 82599 and with Mellanox x3.
I tried to change hyper-v Team Swith from dynamic to Hyperv-Port.

Thanks

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.