Created
May 27, 2019 09:56
-
-
Save oscarandreu/5ea1e8f59f4b78b6ca6e457a684632ce to your computer and use it in GitHub Desktop.
Configure an NAT adapter with Hyper-V
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-NetAdapter | |
New-NetIPAddress -IPAddress 192.168.0.1 -PrefixLength 24 -InterfaceIndex 7 | |
New-NetNat -Name MyNATnetwork -InternalIPInterfaceAddressPrefix 192.168.0.0/24 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment