打开 Windows PowerShell
Set-VMProcessor -ExposeVirtualizationExtensions $true -VMName 虚拟机名称
查看是否启用成功
Get-VMProcessor -VMName 虚拟机名称 | fl
//查看是否为true ExposeVirtualizationExtensions:true
开启混杂功能
Get-VM -Name 虚拟机名称 | Get-VMNetworkAdapter
//返回网卡mac地址(一串数字) 如果多个网卡,请一起把mac地址复制下来
Get-VM -Name 虚拟机名称 | Get-VMNetworkAdapter | Where-Object { $_.MacAddress -eq "MAC地址" } | Set-VMNetworkAdapter -MacAddressSpoofing On
//执行 如果没报错设置完成