I want to create a Hyper-V NAT Switch. I am using Hyper-V Manager application on Windows 10. I only see there are 3 types of Switch: External, Internal, and Private.
My question is where is NAT Switch type? Is it Internal Switch type? Thank you!
hyper-vhyper-v-managernat;windows 10
I want to create a Hyper-V NAT Switch. I am using Hyper-V Manager application on Windows 10. I only see there are 3 types of Switch: External, Internal, and Private.
My question is where is NAT Switch type? Is it Internal Switch type? Thank you!
Best Answer
The default switch created by Hyper-V during install is NAT, but you can't configure it. Internal isn't NAT, it's just a regular switch with limited connectivity between the host and VMs.
If you just want basic NAT, use PowerShell, use the following commands:
For more information on NAT in Hyper-V, see: https://www.petri.com/using-nat-virtual-switch-hyper-v
If you want a configurable NAT, a better solution is to install and configure a small router VM with an OS like ipFire, pfSense, or your favorite Linux if you have the skills to configure it.
Create an external virtual switch called External Access and connect to your host’s network.
Create an internal virtual switch called Internal Lab.
In Hyper-V Manager and click New –> Virtual Machine.
Click Next to begin the wizard, enter the info in the fields and click Next when finished.
--if there are errors in the formatting, please comment. I copied this from a previous document I created outside of superuser--
Source: https://smudj.wordpress.com/2019/03/18/the-poor-techs-hyper-v-lab-setup/