Benutzer-Werkzeuge

Webseiten-Werkzeuge


hyper-v:hyper-v

Hyper-V

Neue leere Festplatte erstellen für eine Linux VM:

  • Powershell als Administrator ausführen.
  • NEW-VHD -Path "C:\Neu.vhdx" -SizeBytes 100GB -Dynamic -BlockSizeBytes 1MB

NAT unter Hyper-V einrichten

  • Get-NetAdapter
  • New-NetIPAddress -IPAddress 192.168.0.1 -PrefixLength 24 -InterfaceIndex <einfügen des Index der über Get-NetAdapter gefunden wurde>
  • New-NetNat -Name LinuxNAT -InternalIPInterfaceAddressPrefix 192.168.0.0/24
hyper-v/hyper-v.txt · Zuletzt geändert: 2024/10/17 09:42 von Joseph Mertens