Saturday, August 20, 2016

How to create a NAT switch in Windows 10 Hyper-V

To create a virtual NAT switch, open a PowerShell window with Admin rights and run the following command: New-VMSwitch -Name "NAT" -SwitchType NAT -NATSubnetAddress
Now, run the following command to create the NAT object on the host system: New-NetNat –Name NAT –InternalIPInterfaceAddressPrefix
Give your VM an IP like with netmask

No comments:

Post a Comment