Forum Discussion
I figured out how to create a new NAT internal switch with a static IP. It can be done via Powershell: Using a NAT Virtual Switch with Hyper-V
These are the commands I used to re-create the 192.168.5.X NAT network like I had in VMware Workstation:
New-VMSwitch -SwitchName “NATSwitch” -SwitchType Internal
New-NetIPAddress -IPAddress 192.168.5.1 -PrefixLength 24 -InterfaceAlias “vEthernet (NATSwitch)”
New-NetNAT -Name “NATNetwork” -InternalIPInterfaceAddressPrefix 192.168.5.0/24
I knew there must be a way since my scenario is very common in software development. There's just no way to do it in the Hyper-V Switch Manager GUI.
I have no use for the Default Switch now, but it doesn't appear to be remove-able...at least not without some registry hacking.