다음을 통해 공유


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:

  1. On DC1, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

  2. 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

  3. On DC1, click Start, point to Administrative Tools, and then click DHCP.

  4. In the console tree of the DHCP snap-in, open dc1.corp.contoso.com, right-click IPv6, and then click New Scope.

  5. On the Welcome page, click Next.

  6. On the Scope Name page, type Corpnet in Name, and then click Next.

  7. On the Scope Prefix page, type 2001:db8:: in Prefix, and then click Next.

  8. On the Add Exclusions page, click Next.

  9. On the Scope Lease page, click Next.

  10. On the Completing page, click Finish.

  11. In the console tree of the DHCP snap-in, right-click IPv6, and then click New Scope.

  12. On the Welcome page, click Next.

  13. On the Scope Name page, type Corpnet2 in Name, and then click Next.

  14. On the Scope Prefix page, type 2001:db8:0:2:: in Prefix, and then click Next.

  15. On the Add Exclusions page, click Next.

  16. On the Scope Lease page, click Next.

  17. On the Completing page, click Finish.

  18. In the console tree of the DHCP snap-in, right-click Server Options, and then click Configure Options.

  19. 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.

  20. In the Command Prompt window, run the following command: netsh interface ipv6 set interface Corpnet advertise=enabled forwarding=enabled otherstateful=enabled advertisedefaultroute=enabled

  21. Connect CLIENT1 to the Corpnet subnet.

  22. 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:

  1. 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.
  2. In This connection uses the following items, clear Internet Protocol Version 4 (TCP/IPv4), and then click OK.
  3. 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.
  4. 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.
  5. In This connection uses the following items, clear Internet Protocol Version 4 (TCP/IPv4), and then click OK.
  6. Right-click Corpnet2, and then click Properties.
  7. In This connection uses the following items, clear Internet Protocol Version 4 (TCP/IPv4), and then click OK.
  8. 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.
  9. In This connection uses the following items, clear Internet Protocol Version 4 (TCP/IPv4), and then click OK.
  10. Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  11. In the Command Prompt window, type ipconfig /renew6, and then press ENTER.
  12. 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).
  13. 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.
  14. In This connection uses the following items, clear Internet Protocol Version 4 (TCP/IPv4), and then click OK.
  15. click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  16. In the Command Prompt window, type ipconfig /renew6, and then press ENTER.
  17. Connect CLIENT1 to the Corpnet2 subnet.
  18. On CLIENT1, log off and then log on using the CORP\User1 account.
  19. Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  20. 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.
  21. 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.
  22. 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.
  23. In the Command Prompt window, type ping app1.corp.contoso.com, and then press ENTER. You should see four successful replies.
  24. From the taskbar, click the Internet Explorer icon.
  25. 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.
  26. 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.
  27. Close Internet Explorer.
  28. Click Start, type \app1\Files, and then press ENTER.
  29. You should see a folder window with the contents of the Files shared folder.
  30. In the Files shared folder window, double-click the Example.txt file. You should see the contents of the Example.txt file.
  31. 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

  1. On DC1, in the Network Connections window, right-click Corpnet, and then click Properties.

  2. In This connection uses the following items, select Internet Protocol Version 4 (TCP/IPv4), and then click OK.

  3. Right-click Corpnet2, and then click Properties.

  4. In This connection uses the following items, select Internet Protocol Version 4 (TCP/IPv4), and then click OK.

  5. 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

           

  6. In the DHCP console tree, click Server Options.

  7. In the details pane, right-click 00023 DNS Recursive Name, click Delete, and then click OK.

  8. In the DHCP console tree, right-click Scope [2001:db8::] Corpnet, click Delete, and then click Yes twice.

  9. In the DHCP console tree, right-click Scope [2001:db8:0:2::] Corpnet2, click Delete, and then click Yes twice.

  10. In the DHCP console tree, right-click dc1.corp.contoso.com, point to All Tasks, and then click Restart.

  11. On APP1, in the Network Connections window, right-click Local Area Connection, and then click Properties.

  12. In This connection uses the following items, select Internet Protocol Version 4 (TCP/IPv4), and then click OK.

  13. In the Command Prompt window, type ipconfig /renew6, and then press ENTER.

  14. On EDGE1, in the Network Connections window, right-click Corpnet, and then click Properties.

  15. In This connection uses the following items, select Internet Protocol Version 4 (TCP/IPv4), and then click OK.

  16. In the Command Prompt window, type ipconfig /renew6, and then press ENTER.

  17. On CLIENT1, in the Network Connections window, right-click Local Area Connection, and then click Properties.

  18. In This connection uses the following items, select Internet Protocol Version 4 (TCP/IPv4), and then click OK.

  19. 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.