DESKTOP

How to Configure IPv6 on Windows Server 2008 R2

2/15/2011 9:16:44 AM
Many of the tasks for configuring IPv6 are exactly the same as those for IPv4 addresses, albeit with longer addresses to type. This includes manually setting IP addressing, creating DHCP scopes, and creating DNS host records. The steps in this section walk through some of the administrator tasks for configuring IPv6 on Windows Server 2008 R2.

Manually Setting the IPv6 Address

On many occasions, it is necessary to set the IP addresses manually. This is normally the case for servers, routers, and other devices that have static IP addresses.

To set the IPv6 addressing of a Windows Server 2008 R2 server, execute the following steps:

1.
Launch Server Manager.

2.
Click on View Network Connections from the options in the left pane of the window.

3.
Right-click on the desired Local Area Connection, and select Properties.

4.
Click Internet Protocol Version 6 (TCP/IPv6), and select Properties. If the item is not enabled, check the box first.

5.
Click the Use the Following IPv6 Address option button.

6.
In the IPv6 Address field, type in Fc00:1234:5678:9abc::2, and then press Tab. Notice that the Subnet Prefix Length field auto-populates with “64.” Leave that in place and press Tab to move to the Default Gateway input field.

7.
Enter Fc00:1234:5678:9abc::1 for the default gateway.

8.
Press Tab again to move to the Use the Following DNS Server Address field. Then press Tab to move to the Preferred DNS Server input field. For this example, use the IPv6 address for this server. In the Preferred DNS Server field, type in the sample IPv6 address Fc00:1234:5678:9abc::2 and leave the Alternate DNS Server field blank. The settings should match those shown in Figure 1.

Figure 1. IPv6 settings.

9.
Click OK to close the IPv6 Properties window. Click Close to close the Local Area Connection Properties window.

Note

The IPv6 prefix Fc00:1234:5678:9abc::/64 for the address Fc00:1234:5678:9abc::2 is a ULA—that is, a private non-globally routable address.


The DNS server also needs to have a reverse lookup zone created to allow computers to register their IPv6 addresses. This is separate from the IPv4 reverse lookup zone created earlier in the article, although it serves the same purpose. To create the IPv6 reverse lookup zone, perform the following steps:

1.
Launch Server Manager on the DNS server.

2.
Expand the Roles node, DNS Server node, DNS node, and the server node, and select the Reverse Lookup Zones node.

3.
Right-click the Reverse Lookup Zones node and select New Zone.

4.
Click Next at the Welcome screen.

5.
Ensure that Primary Zone and Store the Zone in Active Directory are selected, and then click Next.

6.
Select to replicate to all domain controllers in the forest, and then click Next.

7.
Select the IPv6 Reverse Lookup Zone option and click Next.

8.
Enter FC00:1234:5678:9abc::/64 for the IPv6 address prefix. The reverse lookup zone name will be created automatically. Click Next.

9.
Allow only secure updates and click Next.

10.
Click Finish to complete the task.

Setting Up a DHCPv6 Server on Windows Server 2008 R2

IPv6 is installed and enabled by default in Windows Server 2008 R2, and native IPv6 functionality is already included into Windows Server 2008 R2 DHCP by way of DHCPv6.

In this example, we assume that the Windows Server 2008 R2 server is assigned with the IPv6 address from the previous example: Fc00:1234:5678:9abc::2. To set up the DHCP role, execute the following steps:

1.
Launch Server Manager and click the Add Roles link.

2.
Read the Before You Begin page and ensure that you have followed the bulleted items. Click Next if you are ready to continue.

3.
On the Server Roles page, click the check box to enter a check mark next to DHCP Server (as shown in Figure 2), and click Next.

Figure 2. Selecting the DHCP server role.


4.
A warning message might appear, asking for confirmation to “Install DHCP Server Without a Static IP Address.” For this example, we have not assigned a static IPv4 address. The wizard is detecting this, and this can be ignored during this example. If this message appears, click Install DHCP Server Anyway (Not Recommended).

5.
Be sure to take the time to read the “Introduction to DHCP Server,” and click Next when you are ready to continue.

6.
The next three sections for IPv4—IPv4 DNS Settings, IPv4 WINS Settings, and DHCP Scopes—can be bypassed by clicking Next.

7.
On the DHCPv6 Stateless Mode page, two options are available. For the Windows Server 2008 R2 server to issue IPv6 addresses, select Disable DHCPv6 Stateless Mode for This Server, and click Next.

8.
On the DHCP Server Authorization page, specify the account that will be used to authorize this DHCP server on the network, and click Next.

9.
On the Confirmation page, review the settings, and click Install when you are ready to continue.

10.
It is important to not disrupt the installation progress, and allow the installation to complete.

11.
Confirm the installation on the Results page, and click Close.

The DHCPv6 server is set up, but an IPv6 scope still needs to be configured for the server to begin assigning addresses.

Setting Up a DHCPv6 Scope on Windows Server 2008 R2

A separate scope is needed to assign IPv6 addresses in DHCP. The following steps show the administrator how to configure a DHCPv6 scope in Windows Server 2008 R2:

1.
Launch Server Manager, expand Roles, and then select DHCP Server.

2.
In the DHCP window, expand the server name, and then click IPv6.

3.
Right-click on IPv6, and click on New Scope. This opens a New Scope Wizard window. Click Next to continue.

4.
For this example, name the scope “Test IPv6 Scope,” leave the Description field blank, and click Next to continue.

5.
Assuming that the server’s IPv6 address is still Fc00:1234:5678:9abc::2 from the previous example, enter in a prefix of Fc00:1234:5678:9abc::, leave the Preference setting at the default setting of 0, and click Next.

6.
On the Add Exclusions page, enter :0000 for the start and :ffff for the end. Exclusions are added to avoid a potential IP address conflict (for example, the server issuing its own address).

7.
Click the Add button, and click Next to continue. See Figure 3 for more detail.

Figure 3. Adding exclusions.

8.
Review the default settings, and click Next on the Scope Lease page.

9.
Confirm the settings, ensure that the Yes option button under Activate Scope Now is selected, and then click Finish.

Now the DHCP server will begin to assign IPv6 addresses from the scope.

Adding an IPv6 Host Record in Windows Server 2008 R2 DNS

Configuring IPv6 host records in DNS is very similar to configuring IPv4 records. When configuring IPv6 records in Windows Server 2008 R2 DNS, it is possible to provide the abbreviated IPv6 addressing, meaning that you are able to use double “::”. The following steps walk through configuring an AAAA host record for IPv6:

1.
Launch the Server Manager, expand the Roles, expand DNS Server, expand DNS, and select the DNS server name.

2.
Expand the server, expand Forward Lookup Zones, and select the zone.

3.
Right-click on the zone, and select New Host (A or AAAA). See Figure 4 for more detail.

Figure 4. Adding IPv6 AAAA DNS records.

4.
Type the short name of the host (hostname without the FQDN) and populate the IPv6 address. Ensure that the Create Associated Pointer (PTR) Record check box is checked, and then click Add Host.

5.
Click OK on the The Host Record Was Successfully Created message box. Add additional host records, and click Done when you are finished.

IPv6 host records are displayed as AAAA (quad A) records in DNS. Other records associated to an IPv6 address will reflect the full IPv6 address in the Data column.

The new record can be tested by pinging the FQDN, as follows:

1.
Launch a command prompt.

2.
Enter the command ping -6 <fqdn> where <fqdn> is the host name.

3.
The command should return a series of four pings to the IPv6 address.

Note

The ping command defaults to IPv4, so a ping to a hostname by default will not let you test the IPv6 address. You can force IPv6 by using the syntax ping -6 <hostname>. You can also force IPv4 by using the syntax ping -4 <hostname>.


Other  
  •  Windows Azure : Working with local storage
  •  Windows Azure : Common uses for worker roles (part 2) - State-directed workers
  •  Windows Azure : Common uses for worker roles (part 1)
  •  Windows 7 : Preparing Disks for Use (part 3)
  •  Windows 7 : Preparing Disks for Use (part 2) - Adding a Mirror to an Existing Volume & Shrinking or Extending Volumes
  •  Windows 7 : Preparing Disks for Use (part 1) - Creating Mirrored, Spanned, or Striped Volumes
  •  Windows Server 2008: IPv6 Introduction (part 3) - The 6to4 Tunneling Protocolcol & The Teredo Tunneling Protocol
  •  Windows Server 2008: IPv6 Introduction (part 2) - IPv6 Transition Technologies & The ISATAP Tunneling Protocol
  •  Windows Server 2008: IPv6 Introduction (part 1) - IPv6 Addressing & Comprehending IPv6 Addressing
  •  Windows Server 2008: Domain Name System and IPv6 - Troubleshooting DNS
  •  
    Most View
    Power To The People (Part 1)
    Design for Mobile : Sketches (part 3) - Tying It All Together
    Manage Add-Ons For Internet Explorer (Part 2)
    Windows Server 2008 : Configuring Server Core for Remote Administration - Enabling Access with Remote Microsoft Management Consoles
    The Summary Of Six Mini-ITX Mainboard Based On Intel Z77 Chipset (Part 5)
    IMac 21.5 Inch And 27 Inch (Late 2013) Review (Part 1)
    All About Battery Life (Part 1)
    SQL Server 2012 : Isolation Levels (part 2) - Repeatable Read Isolation Level,Snapshot Isolation Level, Isolation Levels in ADO.NET
    Five Top Compressors (Part 1)
    The Architecture Of Cloud Foundry
    Top 10
    Windows Phone 8 : Microsoft Office Mobile - Excel (part 10) - Entering Formulas,AutoSum
    Windows Phone 8 : Microsoft Office Mobile - Excel (part 9) - Sharing a Spreadsheet, Fitting and Hiding Text
    Windows Phone 8 : Microsoft Office Mobile - Excel (part 8) - Accessing Charts and Sheets, Saving a Spreadsheet
    Windows Phone 8 : Microsoft Office Mobile - Excel (part 7) - Undo and Redo, Charting
    Windows Phone 8 : Microsoft Office Mobile - Excel (part 6) - Sorting a Column, Filtering
    Windows Phone 8 : Microsoft Office Mobile - Excel (part 5) - Freezing a Pane, Applying Formatting Options
    Windows Phone 8 : Microsoft Office Mobile - Excel (part 4) - Selecting Multiple Cells, Viewing Cell Text
    Windows Phone 8 : Microsoft Office Mobile - Excel (part 3) - Viewing and Navigating Comments,Searching a Spreadsheet
    Windows Phone 8 : Microsoft Office Mobile - Excel (part 2) - Adding a Comment to a Cell, Changing the Comment Author
    Windows Phone 8 : Microsoft Office Mobile - Excel (part 1) - Creating a New Spreadsheet, Working with the Excel Interface