Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
51
Добавлен:
11.04.2015
Размер:
22.9 Mб
Скачать

Appendix E

Setting Up an IPv6 Test Lab

This appendix provides information about how you can use five computers to create a test lab to configure and test the IPv6 protocol for Windows Server 2008 and Windows Vista. These instructions are designed to guide you through a set of tasks that transform a test lab network from an IPv4-only infrastructure, to a mixed IPv4-only and IPv6-capable infrastructure, to an IPv6-only infrastructure. Beyond the set of tasks, these instructions allow you to create a functioning IPv6-capable network. You can use this network to learn about and experiment with IPv6 features and functionality and to aid in developing applications for IPv6 or modifying existing applications to work over both IPv4 and IPv6.

IPv6 Test Lab Setup

The infrastructure for the IPv6 test lab network consists of five computers performing the following services:

A computer running Windows Server 2008 that is used as a Domain Name System (DNS) server. This computer is named DNS1.

A computer running Windows Vista that is used as a client. This computer is named CLIENT1.

A computer running Windows Vista that is used as a router. This computer is named ROUTER1.

A computer running Windows Vista that is used as a router. This computer is named ROUTER2.

A computer running Windows Vista that is used as a client. This computer is named CLIENT2.

Figure E-1 shows the configuration of the IPv6 test lab.

There are three subnets:

Subnet 1 uses the IPv4 subnet prefix of 10.0.1.0/24 and IPv6 subnet prefix of 2001:DB8:0:1::/64.

Subnet 2 uses the IPv4 subnet prefix of 10.0.2.0/24 and IPv6 subnet prefix of 2001:DB8:0:2::/64.

Subnet 3 uses the IPv4 subnet prefix of 10.0.3.0/24 and IPv6 subnet prefix of 2001:DB8:0:3::/64.

441

442 Understanding IPv6, Second Edition

CLIENT1

CLIENT2

10.0.1.3

 

 

 

10.0.3.2

10.0.1.1

10.0.2.1

10.0.2.2

10.0.3.1

Hub

 

 

 

 

 

 

Hub

 

Hub

10.0.1.2

ROUTER1

ROUTER2

 

 

 

 

 

DNS1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Subnet 1:

 

Subnet 2:

Subnet 3:

10.0.1.0/24

10.0.2.0/24

 

10.0.3.0/24

 

2001:DB8:0:1::/64

 

2001:DB8:0:2::/64

2001:DB8:0:3::/64

Figure E-1 The configuration of the IPv6 test lab

All of the computers on each subnet are connected to a separate common hub or Layer 2 switch. The two router computers, ROUTER1 and ROUTER2, have two network adapters installed.

For the IPv4 configuration, each computer is configured manually with the appropriate IPv4 address, subnet mask, default gateway, and DNS server IPv4 address. Dynamic Host Configuration Protocol (DHCP) and Windows Internet Name Service (WINS) servers are not used.

For the IPv6 configuration, link-local addresses are used initially.

The following sections describe how each of the computers in the test lab is configured. To reconstruct this test lab, please configure the computers in the order presented.

Microsoft Virtual PC 2007 allows you to create the computer lab used in this document using only one physical computer. After the virtual lab is configured, you can switch between the five virtual computers needed for this lab with the click of a button. For more information, see http://www.microsoft.com/virtualpc.

Note The following instructions are for configuring an IPv6 test lab using a minimum number of computers. Individual computers are needed to separate the services provided on the network and to clearly show the desired functionality. You can use any member of the Windows Server 2008 family for DNS1 and any version of Windows Vista or Windows Server 2008 for the other computers. This configuration is not designed to reflect best practices or a desired or recommended configuration for a production network. The configuration, including addresses and all other configuration parameters, is designed to work on a separate test lab network.

Appendix E Setting Up an IPv6 Test Lab

443

DNS1

DNS1 is a computer running Windows Server 2008. It is providing DNS server services for the testlab.microsoft.com DNS domain. To configure DNS1, perform the following steps:

1.Install Windows Server 2008 as a stand-alone server. Set the Administrator password.

2.After restarting, log on as Administrator.

3.From the Network Connections folder, configure the Internet Protocol Version 4 (TCP/ IPv4) protocol for the Local Area Connection with the IPv4 address of 10.0.1.2, the subnet mask of 255.255.255.0, and a default gateway of 10.0.1.1.

4.From Initial Configuration Tasks, disable the Windows Firewall.

5.From Initial Configuration Tasks, add the DNS Server role.

6.From the DNS snap-in, create a forward lookup zone named “testlab.microsoft.com” as a primary zone that allows both nonsecure and secure dynamic updates.

Note The domain name testlab.microsoft.com is used here for example purposes only. You can use any domain name in your test lab configuration.

CLIENT1

CLIENT1 is a computer running Windows Vista that is being used as a client. To configure CLIENT1, perform the following steps:

1.On CLIENT1, install Windows Vista as a workgroup computer. Set the Administrator password.

2.After restarting, log on as Administrator.

3.From the Network Connections folder, configure the Internet Protocol Version 4 (TCP/ IPv4) protocol for the Local Area Connection with the following:

An IPv4 address of 10.0.1.3, the subnet mask of 255.255.255.0, and a default gateway of 10.0.1.1

A DNS server IPv4 address of 10.0.1.2

The connection-specific suffix is “testlab.microsoft.com”, and specify to use the connection’s DNS suffix in DNS registration.

4.From Control Panel-Windows Firewall, disable the Windows Firewall.

444 Understanding IPv6, Second Edition

ROUTER1

ROUTER1 is a computer running Windows Vista that is being used as a router between Subnet 1 and Subnet 2. To configure ROUTER1, perform the following steps:

1.On ROUTER1, install Windows Vista as a workgroup computer. Set the Administrator password.

2.After restarting, log on as Administrator.

3.From the Network Connections folder, rename the local area network (LAN) connection connected to Subnet 1 to “Subnet 1 Connection” and rename the LAN connection connected to Subnet 2 to “Subnet 2 Connection.”

4.For Subnet 1 Connection, configure the Internet Protocol Version 4 (TCP/IPv4) protocol with the following:

An IPv4 address of 10.0.1.1, the subnet mask of 255.255.255.0, and the DNS server IPv4 address of 10.0.1.2

The connection-specific suffix for the connection is “testlab.microsoft.com”, and specify to use the connection’s DNS suffix in DNS registration.

5.For Subnet 2 Connection, configure the Internet Protocol Version 4 (TCP/IPv4) protocol with the following:

An IPv4 address of 10.0.2.1, the subnet mask of 255.255.255.0, and a default gateway of 10.0.2.2

The connection-specific suffix for the connection is “testlab.microsoft.com”, and specify to use the connection’s DNS suffix in DNS registration.

6.From Control Panel-Windows Firewall, disable the Windows Firewall.

7.Run the registry editor (Regedit.exe), and set the HKEY_LOCAL_ MACHINE\SYSTEM\ CurrentControlSet\Services\Tcpip\Parameters\IPEnableRouter registry value to 1. This enables IPv4 routing between Subnet 1 and Subnet 2.

8.Restart ROUTER1.

ROUTER2

ROUTER2 is a computer running Windows Vista that is being used as a router between Subnet 2 and Subnet 3. To configure ROUTER2, perform the following steps:

1.On ROUTER2, install Windows Vista as a workgroup computer. Set the Administrator password.

2.After restarting, log on as Administrator.

Соседние файлы в папке Lecture 2_10