3,013 questions
Hyper-V Trunk Mode Command not working
Hieu Khuu
1
Reputation point
Dear All.
I'm running Windows Server 2019 Standard and I'm running Pfsense VM on Hyper-V. I wanna config vlan on pfsense with my Aruba Switch,
I use trunk mode on VMNetworkAdapter:
Get-VMNetworkAdapterVlan -VMName "Pfsense2.4.4" | Where-Object {$_.MacAddress -eq "XXXXXXXXXX"} | Set-VMNetworkAdapterVlan -Trunk -AllowedVlanIdList "10" -NativeVlanId 0
When I enter the command I don' see any error, but when I check the VMNetworkAdapterVlan.
It does not turn to Trunk mode.
How can I fix this problem?
Thank you very much in advance for any feedback.
Windows for business Windows Client for IT Pros Storage high availability Virtualization and Hyper-V
Sign in to answer