IPv6 Test Lab Extension: Demonstrating an IPv6-only Environment
This IPv6 Test Lab Extension describes how to configure the Corpnet subnet for IPv6-only connectivity. You configure DC1 as a DHCPv6 server and its role as an advertising router for the Corpnet and Corpnet2 subnets, disable IPv4 on all intranet hosts, and then show how all network, Active Directory, and application connectivity works in the IPv6-only environment.
Note These instructions are designed for a working IPv6 test lab that has been configured based on the instructions in the Test Lab Guide: Demonstrate IPv6.
If you are running the IPv6 test lab in a virtual environment, you can create snapshots of the virtual machines (VMs) for all of the test lab computers before performing the following procedure.
Configuring and Demonstrating an IPv6-only Intranet
To configure DC1 as the DHCPv6 server:
On DC1, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
In the Command Prompt window, type the following commands
netsh interface ipv6 add address Corpnet 2001:db8::1111
netsh interface ipv6 add address Corpnet2 2001:db8:0:2::2222
netsh interface ipv6 set interface Corpnet managedaddress=enable otherstateful=enable
netsh interface ipv6 set interface Corpnet2 managedaddress=enable otherstateful=enable
On DC1, click Start, point to Administrative Tools, and then click DHCP.
In the console tree of the DHCP snap-in, open dc1.corp.contoso.com, right-click IPv6, and then click New Scope.
On the Welcome page, click Next.
On the Scope Name page, type Corpnet in Name, and then click Next.
On the Scope Prefix page, type 2001:db8:: in Prefix, and then click Next.
On the Add Exclusions page, click Next.
On the Scope Lease page, click Next.
On the Completing page, click Finish.
In the console tree of the DHCP snap-in, right-click IPv6, and then click New Scope.
On the Welcome page, click Next.
On the Scope Name page, type Corpnet2 in Name, and then click Next.
On the Scope Prefix page, type 2001:db8:0:2:: in Prefix, and then click Next.
On the Add Exclusions page, click Next.
On the Scope Lease page, click Next.
On the Completing page, click Finish.
In the console tree of the DHCP snap-in, right-click Server Options, and then click Configure Options.
On the General tab, select 0023 DNS Recursive Name Server IPv6 Addresses, type 2001:db8::1111 in New IPv6 address, click Add, and then click OK.
In the Command Prompt window, run the following command: netsh interface ipv6 set interface Corpnet advertise=enabled forwarding=enabled otherstateful=enabled advertisedefaultroute=enabled
Connect CLIENT1 to the Corpnet subnet.
In the Command Prompt window, type ipconfig /all, and then press ENTER. Notice that are IPv6 addresses beginning with "2001:db8::" assigned to the Local Area Connection adapter and that the DNS servers assigned to the Local Area Connection adapter now includes 2001:db8::1111.
To configure the Contoso intranet for IPv6-only and demonstrate connectivity:
- On CLIENT1, right-click the network icon in the notification area, click Network and Sharing Center, click Change adapter settings, right-click Local Area Connection, and then click Properties.
- In This connection uses the following items, clear Internet Protocol Version 4 (TCP/IPv4), and then click OK.
- In the Command Prompt window, type ipconfig /all, and then press ENTER. Notice that all IPv4 address configuration for the Local Area Connection interface has been removed.
- On DC1, right-click the network icon in the notification area, click Network and Sharing Center, click Change adapter settings, right-click Corpnet, and then click Properties.
- In This connection uses the following items, clear Internet Protocol Version 4 (TCP/IPv4), and then click OK.
- Right-click Corpnet2, and then click Properties.
- In This connection uses the following items, clear Internet Protocol Version 4 (TCP/IPv4), and then click OK.
- On APP1, right-click the network icon in the notification area, click Network and Sharing Center, click Change adapter settings, right-click Local Area Connection, and then click Properties.
- In This connection uses the following items, clear Internet Protocol Version 4 (TCP/IPv4), and then click OK.
- Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
- In the Command Prompt window, type ipconfig /renew6, and then press ENTER.
- In the Command Prompt window, type ipconfig /all, and then press ENTER. Verify that APP1 has a DHCPv6-assigned IPv6 address and DNS server (2001:db8::1111).
- On EDGE1, right-click the network icon in the notification area, click Network and Sharing Center, click Change adapter settings, right-click Corpnet, and then click Properties.
- In This connection uses the following items, clear Internet Protocol Version 4 (TCP/IPv4), and then click OK.
- click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
- In the Command Prompt window, type ipconfig /renew6, and then press ENTER.
- Connect CLIENT1 to the Corpnet2 subnet.
- On CLIENT1, log off and then log on using the CORP\User1 account.
- Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
- In the Command Prompt window, type ipconfig, and then press ENTER. Notice that there is no longer an IPv4 address assigned to the Local Area Connection adapter.
- In the Command Prompt window, type nltest /dsgetdc: /force, and then press ENTER. Notice that the domain controller found is DC1 via its IPv6 address.
- In the Command Prompt window, type ping edge1, and then press ENTER. You should see a successful name resolution to EDGE1’s IPv6 address on the Corpnet subnet (starting with “2001:db8::”) and four successful replies.
- In the Command Prompt window, type ping app1.corp.contoso.com, and then press ENTER. You should see four successful replies.
- From the taskbar, click the Internet Explorer icon.
- In the Address bar, type http://app1.corp.contoso.com/, and then press ENTER. You should see the default IIS 7 web page for APP1.
- In the Address bar, type https://app1.corp.contoso.com/, and then press ENTER. You should see the default IIS 7 web page for APP1.
- Close Internet Explorer.
- Click Start, type \app1\Files, and then press ENTER.
- You should see a folder window with the contents of the Files shared folder.
- In the Files shared folder window, double-click the Example.txt file. You should see the contents of the Example.txt file.
- Close the example.txt - Notepad and the Files shared folder windows.
With this new configuration, all network, Active Directory, and application traffic uses only IPv6 and works the same as in the Base Configuration test lab, which is IPv4-only.
If you are running the IPv6 test lab in a virtual environment, you can discard the changes made by these procedures by restoring the previously made snapshots of the VMs for all of the computers in the test lab. Alternately, if you would like return to this working configuration using IPv6-only, you can create a new set of snapshots before restoring the previously made snapshots.
To manually restore the configuration of the IPv6 test lab, perform the following procedure.
Restoring the IPv6 Test Lab
On DC1, in the Network Connections window, right-click Corpnet, and then click Properties.
In This connection uses the following items, select Internet Protocol Version 4 (TCP/IPv4), and then click OK.
Right-click Corpnet2, and then click Properties.
In This connection uses the following items, select Internet Protocol Version 4 (TCP/IPv4), and then click OK.
In the Command Prompt window, run the following commands:
netsh interface ipv6 del address Corpnet 2001:db8::1111
netsh interface ipv6 del address Corpnet2 2001:db8:0:2::2222
netsh interface ipv6 set interface Corpnet managedaddress=disable otherstateful=disable
netsh interface ipv6 set interface Corpnet2 managedaddress=disable otherstateful=disable
In the DHCP console tree, click Server Options.
In the details pane, right-click 00023 DNS Recursive Name, click Delete, and then click OK.
In the DHCP console tree, right-click Scope [2001:db8::] Corpnet, click Delete, and then click Yes twice.
In the DHCP console tree, right-click Scope [2001:db8:0:2::] Corpnet2, click Delete, and then click Yes twice.
In the DHCP console tree, right-click dc1.corp.contoso.com, point to All Tasks, and then click Restart.
On APP1, in the Network Connections window, right-click Local Area Connection, and then click Properties.
In This connection uses the following items, select Internet Protocol Version 4 (TCP/IPv4), and then click OK.
In the Command Prompt window, type ipconfig /renew6, and then press ENTER.
On EDGE1, in the Network Connections window, right-click Corpnet, and then click Properties.
In This connection uses the following items, select Internet Protocol Version 4 (TCP/IPv4), and then click OK.
In the Command Prompt window, type ipconfig /renew6, and then press ENTER.
On CLIENT1, in the Network Connections window, right-click Local Area Connection, and then click Properties.
In This connection uses the following items, select Internet Protocol Version 4 (TCP/IPv4), and then click OK.
In the Command Prompt window, type ipconfig /renew6, and then press ENTER.
For additional IPv6 test lab extensions, see IPv6 Test Lab for Windows Server 2008 R2 and Windows 7.