Hyper-V Trunk Mode Command not working

Hieu Khuu 1 Reputation point
2022-05-07T13:26:24.93+00:00

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.

199923-hyper-v.png

How can I fix this problem?

Thank you very much in advance for any feedback.

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,626 questions
0 comments No comments
{count} votes