1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Hyper-VでのNAT構成について

Posted at

はじめに

今までVMware workstationやOracle Virtual Boxを利用して足下環境としてローカルPCに開発用VMを作っていましたが、Windows 10ではHyper-Vが標準で利用出来るため、Hyper-Vに移行した際のメモ。

色々VMware workstation/Oracle virtual Boxと違う点はもちろんあるが、一番困ったのがNAT環境の構築でした。

NAT環境の構築方法

PowerShellをたたけばいけるそうで。

Get-NetAdapter
New-NetIPAddress -IPAddress 192.168.137.1 -PrefixLength 24 -InterfaceIndex 67
New-NetNat -Name MyNATNetwork -InternalIPInterfaceAddressPrefix 192.168.137.0/24

参考情報

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?