Steps for Configuring the Internet Subnet

There are four steps to setting up the Internet subnet of the Windows Server 2012 R2 Hyper-V Network Virtualization with System Center 2012 VMM R2 This evaluation.

1.   Configure WNVHOST4.

2.   Configure INET1.

1.       Configure WNVHOST3.

2.       Configure GatewayVM1.

Step 1: Configure WNVHOST4

WNVHOST4 is a physical server configured as a Windows Server 2012 R2 Hyper-V host connected to a physical switch used to simulate an Internet connection. Virtual machines running on WNHOST4 are used to simulate customer on-premises resources for the Contoso and Fabrikam corporate networks. WNVHOST4 configuration consists of the following:

·         Install the operating system

·         Configure TCP/IP

·         Rename the computer

·         Install the Hyper-V server role

·         Create a Hyper-V external virtual switch to simulate a connection to the Internet

·         Create two Hyper-V internal virtual switches to simulate the Contoso and Fabrikam corporate networks

·         Create virtual machines on WNVHOST4 for INET1, Contoso DC1, Contoso APP1, Contoso EDGE1, Fabrikam DC1, Fabrikam APP1, and Fabrikam EDGE1

Install the operating system on WNVHOST4

To install the operating system on WNVHOST4

1.     Start the installation of Windows Server 2012 R2.

2.     Follow the instructions to complete the installation, specifying a strong password for the local Administrator account. Log on using the local Administrator account.

3.     Connect WNVHOST4 to a network that has Internet access and run Windows Update to install the latest updates for Windows Server 2012 R2.

4.     Connect WNVHOST4 a shared physical switch to which WNVHOST3 is also connected. This connection will be used to simulate the Internet subnet.

Configure TCP/IP properties on WNVHOST4

To configure TCP/IP properties on WNVHOST4

1.     In Server Manager, click Local Server in the console tree. Click the link next to Ethernet in the Properties tile.

2.     Rename the adapter that is connected to the shared physical switch to Internet.

3.     In the Network Connections window, right-click Internet, and then click Properties.

4.     Click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.

5.     Select Use the following IP address. In IP address, type 131.107.0.40. In Subnet mask, type 255.255.255.0. In Preferred DNS server, type 131.107.0.1.

6.     Click Advanced, and then click the DNS tab.

7.     In DNS suffix for this connection, type isp.example.com, and then click OK.

8.     Click OK twice to close the Internet Properties dialog box.

9.     Close the Network Connections window.

10.  From the Tools menu in Server Manager, click Windows PowerShell.

11.  To configure the firewall to allow ICMPv4 ping packets, type the following commands and press ENTER after each command.

New-NetFirewallRule –DisplayName “Allow ICMPv4-In” –Protocol ICMPv4

New-NetFirewallRule –DisplayName “Allow ICMPv4-Out” –Protocol ICMPv4 –Direction Outbound

12.  Close the Windows PowerShell window.

 

Rename the computer to WNVHOST4

To rename the computer to WNVHOST4

1.     In Server Manager, click Local Server in the console tree. Click the link next to Computer name in the Properties tile.

2.     In the System Properties dialog box, click the Computer Name tab. On the Computer Name tab, click Change.

3.     In Computer Name, type WNVHOST4. Click OK.

4.     When you are prompted that you must restart the computer, click OK.

5.     On the System Properties dialog box, click Close.

6.     When you are prompted to restart the computer, click Restart Now.

7.     After the computer restarts, log on with the local administrator account.

 

 

Install the Hyper-V server role on WNVHOST4

Next, install the Hyper-V role on WNVHOST4, which will act as a host for virtual machines that are connected to the Contoso Corpnet, Fabrikam Corpnet, and Internet subnets.

To install the Hyper-V server role

1.     On the Server Manager Dashboard screen, under Configure this local server, click Add roles and features.

2.     Click Next three times to get to the server role selection screen.

3.     On the Select Server Roles page, select Hyper-V and click Add Features when prompted.

4.     Click Next six times to accept the default settings for features and Hyper-V, and then click Install.

5.     Verify that the installation was successful, and then click Close.

 

Create virtual switches on WNVHOST4

To create Internet, Contoso Corpnet, and Fabrikam Corpnet virtual switches on WNVHOST4

1.     From Server Manager, click the Tools menu item, and then click Hyper-V Manager.

2.     In Hyper-V Manager console, select WNVHOST4, and then click Virtual Switch Manager in the Actions pane.

3.     Verify that External is selected, and then click Create Virtual Switch.

4.     Under Name, type Internet. Under External network, select the adapter connected to the Internet physical switch. Select the checkbox for Allow management operating system to share this network adapter. Click Apply.

5.     In the Virtual Switch Manager window, click New virtual network switch. Under What type of virtual switch do you want to create?, select Private, and then click Create Virtual Switch.

6.     Under Name, type Contoso_Corpnet, and then click Apply.

7.     In the Virtual Switch Manager window, click New virtual network switch. Under What type of virtual switch do you want to create?, select Private, and then click Create Virtual Switch.

8.     Under Name, type Fabrikam_Corpnet, and then click Apply.

9.     Click OK to close Virtual Switch Manager.

 

Create virtual machines on WNVHOST4

To create Internet, Contoso Corpnet, and Fabrikam Corpnet virtual machines on WNVHOST4

1.     In Hyper-V Manager console Actions pane, point to New, and then click Virtual Machine.

2.     The New Virtual Machine Wizard opens. Click Next.

3.     Name the new virtual machine INET1. Click Next.

4.     Select the desired Hyper-V virtual machine generation, and then click Next.

5.     Assign memory to allocate to the new VM, and then click Next.

6.     On the Configure Networking page select a connection to the Internet virtual switch. Click Next.

7.     On the Connect Virtual Hard Disk page, select an option to create a new virtual hard disk or specify a path to an existing virtual hard disk for INET1. Click Next.

8.     On the Installation Options page, select the appropriate options to access the operating system setup media. Click Next.

9.     On the Summary page, click Finish.

10.  Repeat the previous steps to create additional virtual machines as listed in the following table:

Virtual Machine Name

Network Connections

INET1

One virtual adapter connected to the Internet virtual switch

Contoso_DC1

One virtual adapter connected to the Contoso_Corpnet virtual switch

Contoso_APP1

One virtual adapter connected to the Contoso_Corpnet virtual switch

Contoso_EDGE1

Two virtual adapters, one connected to the Contoso_Corpnet virtual switch, one connected to the Internet virtual switch

Fabrikam_DC1

One virtual adapter connected to the Fabrikam_Corpnet virtual switch

Fabrikam_APP1

One virtual adapter connected to the Fabrikam_Corpnet virtual switch

Fabrikam_EDGE1

Two virtual adapters, one connected to the Fabrikam_Corpnet virtual switch, one connected to the Internet virtual switch

Step 2: Configure INET1

 

INET1 configuration consists of the following:

·         ·      Install the operating system

·         ·      Configure TCP/IP

·         ·      Rename the computer

·         ·      Install the Web Server (IIS) and DNS server roles

·         Create DNS records

·         Install DHCP

·         ·      Configure the NCSI web site

Install the operating system on INET1

To install the operating system on INET1

1.     Start the installation of Windows Server 2012 R2.

2.     Follow the instructions to complete the installation, specifying a strong password for the local Administrator account. Log on using the local Administrator account.

3.     Connect INET1 to a network that has Internet access and run Windows Update to install the latest updates for Windows Server 2012 R2.

4.     Connect the INET1 virtual machine to the Internet virtual switch on WNVHOST4.

Configure TCP/IP properties on INET1

To configure TCP/IP properties on INET1

1.     In Server Manager, click Local Server in the console tree. Click the link next to Ethernet in the Properties tile.

2.     In the Network Connections window, right-click Ethernet, and then click Properties.

3.     Click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.

4.     Select Use the following IP address. In IP address, type 131.107.0.1. In Subnet mask, type 255.255.255.0. In Preferred DNS server, type 127.0.0.1.

5.     Click Advanced, and then click the DNS tab.

6.     In DNS suffix for this connection, type isp.example.com, and then click OK.

7.     Click OK twice to close the Ethernet Properties dialog box.

8.     Close the Network Connections window.

9.     From the Tools menu in Server Manager, click Windows PowerShell.

10.  To configure the firewall to allow ICMPv4 ping packets, type the following commands and press ENTER after each command.

New-NetFirewallRule –DisplayName “Allow ICMPv4-In” –Protocol ICMPv4

New-NetFirewallRule –DisplayName “Allow ICMPv4-Out” –Protocol ICMPv4 –Direction Outbound

11.  Close the Windows PowerShell window.

 

Rename the computer to INET1

To rename the computer to INET1

1.     In Server Manager, click Local Server in the console tree. Click the link next to Computer name in the Properties tile.

2.     In the System Properties dialog box, click the Computer Name tab. On the Computer Name tab, click Change.

3.     In Computer Name, type INET1. Click OK.

4.     When you are prompted that you must restart the computer, click OK.

5.     On the System Properties dialog box, click Close.

6.     When you are prompted to restart the computer, click Restart Now.

7.     After the computer restarts, log on with the local administrator account.

 

 

Install the DNS Server and Web Server (IIS) server roles on INET1

Next, install role services for INET1, which will act as an Internet web and DNS server for computers that are connected to the Internet subnet.

To install the IIS and DNS server roles

1.     On the Server Manager Dashboard screen, under Configure this local server, click Add roles and features.

2.     Click Next three times to get to the server role selection screen.

3.     On the Select Server Roles page, select DNS Server and click Add Features when prompted.

4.     Select Web Server (IIS) and then click Next.

5.     Click Next four times to accept the default DNS server and web server settings, and then click Install.

6.     Verify that the installations were successful, and then click Close.

 

 

Create DNS records on INET1

Next, create DNS records for the INET1 and EDGE1 IPv4 addresses on the Internet subnet and for the Network Connectivity Status Indicator (NCSI).

To create A records

1.       From Server Manager, click the Tools menu item, and then click DNS.

2.       In the console tree of DNS Manager, expand INET1, and click Forward Lookup Zones.

3.       Right-click Forward Lookup Zones, click New Zone, and then click Next.

4.       On the Zone Type page, click Next.

5.       On the Zone Name page, type isp.example.com, and then click Next.

6.       Click Next twice to accept defaults for zone file and dynamic update, and then click Finish.

7.       In the console tree, expand Forward Lookup Zones, right click isp.example.com, and then click New Host (A or AAAA).

8.       In Name, type INET1. In IP address, type 131.107.0.1. Click Add Host.

9.       Click OK, and then click Done.

10.   In the console tree, right-click Forward Lookup Zones, click New Zone, and then click Next.

11.   On the Zone Type page, click Next.

12.   On the Zone Name page, type contoso.com, and then click Next.

13.   Click Next twice to accept defaults for zone file and dynamic update, and then click Finish.

14.   In the console tree, right click contoso.com, and then click New Host (A or AAAA).

15.   In Name, type EDGE1. In IP address, type 131.107.0.2.

16.   Click Add Host. Click OK.

17.   In the console tree, right-click Forward Lookup Zones, click New Zone, and then click Next.

18.   On the Zone Type page, click Next.

19.   On the Zone Name page, type msftncsi.com, and then click Next.

20.   Click Next twice to accept defaults for zone file and dynamic update, and then click Finish.

21.   In the console tree, right click msftncsi.com, and then click New Host (A or AAAA).

22.   In Name, type www. In IP address, type 131.107.0.1.

23.   Click Add Host. Click OK.

24.   In Name, type dns. In IP address, type 131.107.255.255. Click Add Host. Click OK. Click Done.

1.       24. Close the DNS Manager console.

 

Install and configure DHCP on INET1

Next, configure INET1 as a DHCP server so that DHCP clients can automatically configure themselves when connecting to the Internet subnet.

To install and configure the DHCP server role on INET1

1.     On the Server Manager Dashboard screen, under Configure this local server, click Add roles and features.

2.     Click Next three times to get to the server role selection screen.

3.     In the Select Server Roles dialog, select DHCP Server, click Add Features when prompted, and then click Next.

4.     In the Select features dialog, click Next.

5.     Click Next on the Introduction screen, and then click Install.

6.     Allow the installation to complete, and then in the Installation progress window, click the link for Complete DHCP configuration.

7.     In the DHCP Post-Install configuration wizard, click Commit, and then click Close.

8.     In the Installation progress window, click Close.

9.     From the Tools menu in Server Manager, click DHCP.

10.  In the DHCP console tree, expand INET1. Right-click IPv4, and click New Scope.

11.  Click Next in the New Scope Wizard.

12.  Type Internet for scope name, and then click Next.

13.  Next to Start IP Address, type 131.107.0.100, next to End IP Address, type 131.107.0.150, and next to Subnet Mask, type 255.255.255.0.

14.  Click Next four times to accept default settings for exclusions, delay and lease duration.

15.  On the Router (Default Gateway) dialog, type 131.107.0.1. Click Add, and then click Next.

16.  On the Domain Name and DNS Servers page, next to Parent domain, type isp.example.com. Under IP address, type 131.107.0.1. Click Add, and then click Next.

17.  On the WINS Servers page, click Next.

18.  On the Activate Scope page, click Next, and then click Finish.

19.  Close the DHCP Manager console.

 

 

Configure the NCSI web site on INET1

Windows clients attempt to connect to the URL http://www.msftncsi.com/ncsi.txt and resolve the name dns.msftncsi.com to determine if they have Internet connectivity. In the following procedure, you create the ncsi.txt file and place it in the WWWROOT directory on INET1.

To configure the NCSI web site on INET1

1.     On INET1, launch File Explorer, and then navigate to C:\inetpub\wwwroot.

2.     In the details pane, right click an empty area, point to New, and then click Text Document.

3.     Rename the document to ncsi.

4.     Double-click on ncsi.

5.     In the Notepad window, type Microsoft NCSI and do not press ENTER to add a new line.

6.     Click File, and then click Exit. In the Notepad dialog box, click Save.

7.     Close the Windows Explorer window.

 

Step 3: Configure WNVHOST3

WNVHOST3 is a physical server configured to host a Network Virtualization Gateway virtual machine, with two network adapters. One adapter is connected to a physical switch used to simulate an Internet connection, and the second adapter is connected to a physical switch used to simulate a hoster datacenter connection (Hosternet). WNVHOST3 configuration consists of the following:

·         Install the operating system

·         Configure network connections

·         Rename the computer and join the corp.adatum.com domain

·         Install the Hyper-V server role

·         Create a gateway virtual machine

Install the operating system on WNVHOST3

To install the operating system on WNVHOST3

1.     Start the installation of Windows Server 2012 R2.

2.     Follow the instructions to complete the installation, specifying a strong password for the local Administrator account. Log on using the local Administrator account.

3.     Connect WNVHOST3 to a network that has Internet access and run Windows Update to install the latest updates for Windows Server 2012 R2.

4.     Connect one adapter on WNVHOST3 a shared physical switch to which WNVHOST2 is also connected. This connection will be used to simulate the Hosternet subnet.

5.     Connect one adapter on WNVHOST3 a shared physical switch to which WNVHOST4 is also connected. This connection will be used to simulate the Internet subnet.

Configure network connections on WNVHOST3

To configure network connection properties on WNVHOST3

1.     In Server Manager, click Local Server in the console tree. Click the link next to Ethernet in the Properties tile.

2.     In Network Connections, right-click the network connection that is connected to the shared physical switch to which WNVHOST4 is also connected, and then click Rename.

3.     Type Internet, and then press ENTER.

4.     In the Network Connections window, right-click Internet, and then click Properties.

5.     Click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.

6.     Select Use the following IP address. In IP address, type 131.107.0.30. In Subnet mask, type 255.255.255.0. In Preferred DNS server, type 131.107.0.1.

7.     Click Advanced, and then click the DNS tab.

8.     In DNS suffix for this connection, type isp.example.com, and then click OK.

9.     Click OK twice to close the Internet Properties dialog box.

10.  In Network Connections, right-click the network connection that is connected to the shared physical switch to which WNVHOST2 is also connected, and then click Rename.

11.  Type Hosternet, and then press ENTER.

12.  In the Network Connections window, right-click Hosternet, and then click Properties.

13.  Click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.

14.  Select Use the following IP address. In IP address, type 192.168.0.3. In Subnet mask, type 255.255.255.0. In Preferred DNS server, type 192.168.0.1.

15.  Click Advanced, and then under IP Addresses, click Add. Type 172.16.1.3 for IP address and type 255.255.255.0 for Subnet mask. Click Add.

16.  Click the DNS tab.

17.  In DNS suffix for this connection, type corp.adatum.com, and then click OK.

18.  Click OK three times to close the Hosternet Properties dialog box.

19.  Close the Network Connections window.

20.  From the Tools menu in Server Manager, click Windows PowerShell.

21.  To disable the Windows Firewall on WNVHOST3, type the following command and press ENTER.

Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False

22.  Type ping 131.107.0.1 and press ENTER to verify connectivity to INET1 from WNVHOST3.

23.   Type ping 192.168.0.2 and press ENTER to verify connectivity to WNVHOST2 from WNVHOST3.

 

Rename the computer to WNVHOST3 and join the corp.adatum.com domain

To rename the computer to WNVHOST3 and join the corp.adatum.com domain

1.     In Server Manager, click Local Server in the console tree. Click the link next to Computer name in the Properties tile.

2.     In the System Properties dialog box, click the Computer Name tab. On the Computer Name tab, click Change.

3.     In Computer Name, type WNVHOST3. Under Member of, click Domain, and then type corp.adatum.com.

4.     Click OK.

5.     When you are prompted for a user name and password, type User1 and its password, and then click OK.

6.     When you see a dialog box welcoming you to the corp.adatum.com domain, click OK.

7.     When you are prompted that you must restart the computer, click OK.

8.     On the System Properties dialog box, click Close.

9.     When you are prompted to restart the computer, click Restart Now.

10.  After the computer restarts, click the Switch User arrow icon, then click Other User and log on to the CORP domain with the User1 account.

 

 

Install the Hyper-V server role on WNVHOST3

Next, install the Hyper-V role on WNVHOST3, which will act as a host for a gateway virtual machine that is connected to the Internet for site-to-site routing to the Contoso Corpnet and Fabrikam Corpnet subnets.

To install the Hyper-V server role

1.     On the Server Manager Dashboard screen, under Configure this local server, click Add roles and features.

2.     Click Next three times to get to the server role selection screen.

3.     On the Select Server Roles page, select Hyper-V and click Add Features when prompted.

4.     Click Next six times to accept the default settings for features and Hyper-V, and then click Install.

5.     Verify that the installation was successful, and then click Close.

6.     Restart the WNVHOST3 server after Hyper-V installation completes.

 

Create virtual switches on WNVHOST3

To create Hosternet and Internet virtual switches on WNVHOST3

1.     From Server Manager, click the Tools menu item, and then click Hyper-V Manager.

2.     In Hyper-V Manager console, select WNVHOST3, and then click Virtual Switch Manager in the Actions pane.

3.     Verify that External is selected, and then click Create Virtual Switch.

4.     Under Name, type Hosternet. Under External network, select the adapter connected to the Hosternet physical switch. Select the checkbox for Allow management operating system to share this network adapter. Click Apply.

5.     In the Virtual Switch Manager console, click New virtual network switch in the console tree.

6.     Verify that External is selected, and then click Create Virtual Switch.

7.     Under Name, type Internet. Under External network, select the adapter connected to the Hosternet physical switch. Select the checkbox for Allow management operating system to share this network adapter. Click OK.

 

Create the Gateway virtual machine

To create the software gateway virtual machine on WNVHOST3

1.     In Hyper-V Manager console Actions pane, point to New, and then click Virtual Machine.

2.     The New Virtual Machine Wizard opens. Click Next.

3.     Name the new virtual machine GatewayVM1. Click Next.

4.     Select the desired Hyper-V virtual machine generation, and then click Next.

5.     Assign memory to allocate to the new VM, and then click Next.

6.     On the Configure Networking page select a connection to the Internet virtual switch. Click Next.

7.     On the Connect Virtual Hard Disk page, select an option to create a new virtual hard disk or specify a path to an existing virtual hard disk for GatewayVM1. Click Next.

8.     On the Installation Options page, select the appropriate options to access the operating system setup media. Click Next.

9.     On the Summary page, click Finish.

10.  In Hyper-V Manager console, right-click the GatewayVM1 virtual machine, and then click Settings.

11.  Click Add Hardware in the console tree, and then select Network Adapter. Click Add.

12.  Connect the new network adapter to the Hosternet virtual switch, and then click Apply.

13.  Repeat steps 11 and 12 to add a second virtual network adapter connected to the Hosternet virtual switch. GatewayVM1 should have three virtual adapters, with one connected to the Internet virtual switch and two connected to the Hosternet virtual switch. Click OK to close the Settings for GatwayVM1 on WNVHOST3 dialog.

 

 

Step 4: Configure GatewayVM1 on WNVHOST3

GatewayVM1 is a virtual machine configured as a Windows Network Virtualization Gateway. GatewayVM1 must be configured with three virtual network adapters. One adapter is connected to the external virtual switch on WNVHOST3 used to simulate an Internet connection, and the other two adapters are connected to the external virtual switch on WNVHOST3 used to simulate a hoster datacenter connection (Hosternet). GatewayVM1 configuration consists of the following:

·         Install the operating system

·         Configure network connections

·         Rename the computer and join the corp.adatum.com domain

·         Install the RRAS server role

Install the operating system on GatewayVM1

To install the operating system on GatewayVM1

1.     Connect to the GatewayVM1 virtual machine running on WNVHOST3.

2.     Start the installation of Windows Server 2012 R2.

3.     Follow the instructions to complete the installation, specifying a strong password for the local Administrator account. Log on using the local Administrator account.

4.     Verify that GatewayVM1 has three virtual adapters, with one connected to the Internet virtual switch and two connected to the Hosternet virtual switch.

Determine which virtual adapter is connected to the Internet on GatewayVM1

GatewayVM1 has three virtual adapters, with one connected to the Internet virtual switch and two connected to the Hosternet virtual switch. To configure an appropriate IP address for Internet access, you must determine which adapter is connected to the Internet virtual switch.

To determine the Internet network connection on GatewayVM1

1.     In Hyper-V Manager console, right-click the GatewayVM1 virtual machine, and then click Settings.

2.     In the console tree, expand the virtual network adapter connected to the Internet virtual switch, and then click Advanced Features.

3.     Note the value listed for the MAC address dynamically assigned to this virtual adapter.

4.     Connect to the GatewayVM1 virtual machine.

5.     From the Tools menu in Server Manager, click Windows PowerShell.

6.     Type ipconfig /all and press ENTER to display the Windows IP Configuration on GatewayVM1. Find the Physical Address (MAC address) you determined to be assigned to the Internet switch, and note the name of the adapter to which it is assigned.

Configure network connections on GatewayVM1

To configure network connection properties on GatewayVM1

1.     In Server Manager, click Local Server in the console tree. Click the link next to Ethernet in the Properties tile.

2.     In Network Connections, right-click the network connection that is connected to the Internet virtual switch determined in the previous step, and then click Rename.

3.     Type Internet, and then press ENTER.

4.     In the Network Connections window, right-click Internet, and then click Properties.

5.     Click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.

6.     Select Use the following IP address. In IP address, type 131.107.0.15. In Subnet mask, type 255.255.255.0. In Preferred DNS server, type 131.107.0.1.

7.     Click OK twice to close the Internet Properties dialog box.

8.     In Network Connections, right-click one of the other network connections, and then click Rename.

9.     Type Management, and then press ENTER.

10.  In the Network Connections window, right-click Management, and then click Properties.

11.  Click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.

12.  Select Use the following IP address. In IP address, type 192.168.0.15. In Subnet mask, type 255.255.255.0. In Preferred DNS server, type 192.168.0.1.

13.  Click OK twice to close the Management Properties dialog box.

14.  In Network Connections, right-click the remaining network connection, and then click Rename.

15.  Type Back End, and then press ENTER.

16.  In the Network Connections window, right-click Back End, and then click Properties.

17.  Click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.

18.  Select Use the following IP address. In IP address, type 172.16.1.15. In Subnet mask, type 255.255.255.0.

19.  Click OK twice to close the Back End Properties dialog box.

20.  Close the Network Connections window.

21.  From the Tools menu in Server Manager, click Windows PowerShell.

22.  To disable the Windows Firewall on GatewayVM1, type the following command and press ENTER.

Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False

23.  Type ping inet1.isp.example.com and press ENTER to verify name resolution and connectivity over the simulated Internet. You should receive four replies from 131.107.0.1.

24.  Type ping wnvhost2.corp.adatum.com and press ENTER to verify name resolution and connectivity over the management network. You should receive four replies from 192.168.0.2.

 

Rename the computer to GatewayVM1 and join the corp.adatum.com domain

To rename the computer to GatewayVM1 and join the corp.adatum.com domain

1.     In Server Manager, click Local Server in the console tree. Click the link next to Computer name in the Properties tile.

2.     In the System Properties dialog box, click the Computer Name tab. On the Computer Name tab, click Change.

3.     In Computer Name, type GatewayVM1. Under Member of, click Domain, and then type corp.adatum.com.

4.     Click OK.

5.     When you are prompted for a user name and password, type User1 and its password, and then click OK.

6.     When you see a dialog box welcoming you to the corp.adatum.com domain, click OK.

7.     When you are prompted that you must restart the computer, click OK.

8.     On the System Properties dialog box, click Close.

9.     When you are prompted to restart the computer, click Restart Now.

10.  After the computer restarts, click the Switch User arrow icon, then click Other User and log on to the CORP domain with the User1 account.

 

 

Install the Remote Access server role on GatewayVM1

Next, install the Remote Access role on GatewayVM1, which will act as a gateway virtual machine that is connected to the Internet for site-to-site routing to the Contoso Corpnet and Fabrikam Corpnet subnets.

To install the Remote Access server role

1.     On the Server Manager Dashboard screen, under Configure this local server, click Add roles and features.

2.     Click Next three times to get to the server role selection screen.

3.     On the Select Server Roles page, select Remote Access and then click Next.

4.     On the Features selection screen, click Next.

5.     On the Remote Access screen, click Next.

6.     On the Role Services selection screen, click to select the DirectAccess and VPN (RAS) and the Routing role services. Click Add Features when prompted, and then click Next.

7.     Click Next twice to accept the default settings for Web Server Role and Role Services, and then click Install.

8.     Verify that the installation was successful, and then click Close.