Benutzer-Werkzeuge

Webseiten-Werkzeuge


knowledge_base:windows:hyper-v_nested

Hyper-V Netsed VMs

Setting up a Lab environment, Netsted VMs can be useful to simulate a VM Host.

This does come with some caveats: not all Hypervisors are supported. More information in the Microsoft Docs

Initial Setup

After creating the Host-VM, this command needs to be executed ones, to enable Virtualization on the VM.

Set-VMProcessor -VMName $HostVMName -ExposeVirtualizationExtensions $true

This command needs to be executed as Administrator and while the Machine is turned off.

Networking Setup

To enable Networking for the Guests on the Host-VM, this command needs to be executed. It can be executed, while the VM is running, and no restarting is necessary.

Get-VMNetworkAdapter -VMName $HostVMName | Set-VMNetworkAdapter -MacAddressSpoofing On

This is only needed if the VMs want to connect to outside the Host-VM. Host-VM Private Switches work normally.

After changing the Networking Setup, it might be needed to reexecute this command.

/app/www/public/data/pages/knowledge_base/windows/hyper-v_nested.txt · Zuletzt geändert: 2021/09/24 19:10 von 127.0.0.1