Step 3: Reconfigure the IP and DNS Settings for All VMs

Applies To: Active Directory Federation Services (AD FS) 2.0

After you completed the previous steps, it is no longer necessary to keep your VMs configured for Internet access through the physical adapter for your virtual test lab computer. In this step, we work through the process of reconfiguring the IP and DNS settings for each of the four VMs so that they are able to be connected in their own virtual network.

Create a new virtual network

All of the VM images (servers as well as clients) must be reconfigured to use a virtual private network interface. The following procedures describe how to create this network and reconfigure VMs to use it.

To create the virtual network

  1. On the virtual test lab computer, open Hyper-V Manager.

    To open Hyper-V Manager, on the Start menu, point to Administrative Tools, and then click Hyper-V Manager.

  2. In Hyper-V Manager, on the Action menu, click Virtual Network Manager.

  3. In Virtual Network Manager, click Internal for the type of network you want to create, and then click Add.

  4. In New Virtual Network, in Name type Internal-Network, verify that for Type the Internal network option is selected, and then click OK.

    Note that the network name is case sensitive and it should be entered exactly as indicated above. All four VMs will need to use this network, which will be a "local only" interface. All four VM images should already be IP configured as described in the following procedure.

To reconfigure the network settings for each VM

  1. In Hyper-V Manager, select a VM in the Virtual Machines list.

  2. On the Action menu, click Settings.

  3. In the Settings dialog box, under the Hardware settings, click Network Adapter.

  4. In the Network Adapter settings, click the Network drop-down list, and then click Internal-Network.

  5. Click OK.

  6. Repeat steps 1 through 5 for the other 3 VMs.

Configure static IP and DNS settings for each VM

All the VM images (servers as well as clients) must be reconfigured to use static IP version 4 (IPv4) address and Domain Name System (DNS) client settings. For more information about how to do this, see Configure a DNS Client for Static IP Address (https://go.microsoft.com/fwlink/?LinkId=150952).

Note

You can also disable IP version 6 (IPv6) as you complete this process to avoid warnings about setting dynamic IPv6 when you install the AD DS and DNS server roles in the next step.

The following table provides the details of how these settings must be configured for each VM.

VM name IP configuration DNS client settings

CONTOSOSRV01

10.0.0.1/8 (AD DS, DNS, AD CS)

10.0.0.20/8 (AD FS 2.0)

10.0.0.30/8 (AD RMS)

Preferred: 10.0.0.1

Alternate: 10.0.0.101

FABRIKAMSRV01

10.0.0.101/8 (AD DS, DNS, AD CS)

10.0.0.120/8 (AD FS 2.0)

Preferred: 10.0.0.101

Alternate: 10.0.0.1

CONTOSOSRV02

10.0.0.2/8

Preferred: 10.0.0.1

FABRIKAMCLT01

10.0.0.110/8

Preferred: 10.0.0.101

Change the names of the computers

Change the name of the computers for each VM to the following. For more information about renaming computers, see Rename the Computer (https://go.microsoft.com/fwlink/?LinkId=179745).

VM Name Computer Name

CONTOSOSRV01

CONTOSOSRV01

CONTOSOSRV02

CONTOSOSRV02

FABRIKAMSRV01

FABRIKAMSRV01

FABRIKAMSRV02

FABRIKAMSRV02