How to setup NAT network for Hyper-V guests?
Windows 10 Hyper-V has NAT (Network Address Translation) network feature, but it needs to setup using PowerShell now. I will show you step by step instructions how to do it. NAT Switch provides Internet access to the VM without creating External Switch (linking the switch to physical wired or wireless adaptor). Before we start, here are the requirements to prepare it ahead of time. 1. IP Network to be used in Guests. You need to find a subnet that is not being using in your Office network. If you are setting up on your Home, you can choose any subnet that is not used in your home. E.g., 192.168.200.0/24 2. Guest VMs are needed to assign IP address/subnet/gateway manually from the subnet you choose on requirement 1 above. Or you may need to setup in DHCP server in one of the Guest VMs for automatic IP assignment. If you only have one or two guest VMs, you may set the IP address manually on NICs. Now the step by step instruction. Ste...