- Open Hyper-V console
- Click on “Virtual Network Manager” under “Actions” Pane
- Enter Name, choose “Internal”, click “Add”, click “OK”
- You will noticed that new Local Area Connection is created under “Control Panel > Network Connections”
- Right click on the newly created Local Area Connection, choose properties.
- On TCP/IPv4 screen, enter IP: 10.1.0.1 , Subnet: 255.255.255.0 and no gateway. ( Repeat step 2 to 6 if you would like to create multiple networks )
- Open “Routing and Remote Access” console. ( Server Manager > Network Policy and Access > Routing and Remote Access)
- Right click on “Routing and Remote Access” and choose “Configure and Enable Routing and Remote Access”
- Choose “Custom Configuration”
- Choose “NAT” and “LAN routing”, click Next
NAT allows your VMs to access the internet without exposing them.
LAN routing allows you route between Local Area Connections
- Click Finish and Start the service.
- Browse to “NAT” under IPv4, Right click and choose “New Interface”, choose the interface that you use to connect to the internet.
- Choose “Public interface connected to the internet”, check “Enable NAT on this interface”, click OK
SCREENSHOTS
No comments:
Post a Comment