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

Chapter 11 IPv6 Transition Technologies

267

Pointer Records

The DNS infrastructure must contain the following resource records (populated either manually or dynamically) for the successful resolution of addresses to FQDNs:

PTR records in the IN-ADDR.ARPA domain for IPv4-only and IPv6/IPv4 nodes

PTR records in the IP6.ARPA domain for IPv6-only and IPv6/IPv4 nodes

Address Selection Rules

IPv6 hosts can be assigned multiple IPv6 addresses and can obtain multiple IPv6 addresses in a DNS name query. Based on these two sets of addresses, the IPv6 host must determine the best source address to use for each possible destination address and the list of destination addresses in order of preference. This is the purpose of source and destination address selection that is defined in RFC 3484.

The default address selection rules are determined by the prefix policy table, which you can view for the IPv6 protocol for Windows Server 2008 and Windows Vista with the netsh interface ipv6 show prefixpolicies command. You can modify the entries in the prefix policy table by using the netsh interface ipv6 add|set|delete prefixpolicy commands.

For more information about address selection and the prefix policy table, see Chapter 9, “IPv6 and Name Resolution.”

Tunneling Configurations

RFC 2893 defines the following tunneling configurations to tunnel IPv6 traffic between IPv6/ IPv4 nodes over an IPv4-only infrastructure:

Router-to-router

Host-to-router and router-to-host

Host-to-host

Router-to-Router

In the router-to-router tunneling configuration, two IPv6/IPv4 routers connect two IPv6enabled infrastructures over an IPv4-only infrastructure. The tunnel endpoints span a single hop in the path between the source and destination. Routes within each IPv6-enabled infrastructure point to the IPv6/IPv4 router on its edge. For each IPv6/IPv4 router, there is a tunnel interface representing the IPv6-over-IPv4 tunnel and routes that use the tunnel interface.

Note An IPv6-enabled infrastructure has IPv6 connectivity, either native or tunnel-based. An

IPv6-capable infrastructure has native IPv6 connectivity.

268 Understanding IPv6, Second Edition

Figure 11-6 shows router-to-router tunneling.

IPv6-Enabled

IPv4-Only Infrastructure

 

IPv6-Enabled

Infrastructure

 

 

Infrastructure

 

IPv6-over-IPv4 Tunnel

 

 

IPv6

IPv6/IPv4 Router

IPv6/IPv4 Router

IPv6

 

 

Node

 

 

Node

Figure 11-6 Router-to-router tunneling

Examples of this tunneling configuration include the following:

An IPv6-only test lab that tunnels across an organization’s IPv4-only infrastructure to reach the IPv6 Internet.

Two IPv6-capable sites of an organization that tunnel across the IPv4 Internet.

A 6to4 router that tunnels across the IPv4 Internet to reach another 6to4 router or a 6to4 relay router. For more information about 6to4, see Chapter 13.

Host-to-Router and Router-to-Host

In the host-to-router tunneling configuration, an IPv6/IPv4 host that resides within an IPv4-only infrastructure uses an IPv6-over-IPv4 tunnel to reach an IPv6/IPv4 router. The tunnel endpoints span the first hop in the path between the source and destination IPv6 nodes.

On the IPv6/IPv4 node, there is a tunnel interface representing the IPv6-over-IPv4 tunnel and one or more routes (typically a default route) that use the tunnel interface. The IPv6/IPv4 node tunnels the IPv6 packet based on the matching route, the tunnel interface, and the nexthop IPv6 address of the IPv6/IPv4 router.

In the router-to-host tunneling configuration, an IPv6/IPv4 router creates an IPv6-over-IPv4 tunnel across an IPv4 infrastructure to reach an IPv6/IPv4 node. The tunnel endpoints span the last hop in the path between the source and destination nodes.

On the IPv6/IPv4 router, there is a tunnel interface representing the IPv6-over-IPv4 tunnel and routes (typically a subnet route) that use the tunnel interface. The IPv6/IPv4 router tunnels the IPv6 packet based on the matching subnet route, the tunnel interface, and the destination IPv6 address of the IPv6/IPv4 node.

Figure 11-7 shows host-to-router tunneling (for traffic traveling on the IPv4-only infrastructure from Node A to Node B) and router-to-host tunneling (for traffic traveling from Node B to Node A).

 

Chapter 11 IPv6 Transition Technologies

269

IPv4-Only Infrastructure

 

IPv6-Capable

Node B

 

Node A

 

Infrastructure

 

 

 

 

 

IPv6-over-IPv4 Tunnel

 

 

 

 

IPv6/IPv4

IPv6/IPv4 Router

 

IPv6

 

 

 

 

Figure 11-7 Host-to-router and router-to-host tunneling

Examples of host-to-router and router-to-host tunneling include the following:

An IPv6/IPv4 host that tunnels across an organization’s IPv4-only infrastructure to reach the IPv6 Internet (host-to-router tunneling).

An ISATAP host that tunnels across the IPv4-only portion of the intranet to an ISATAP router to reach an IPv6-capable portion of the intranet (host-to-router tunneling).

An ISATAP router that tunnels across the IPv4-only portion of the intranet to reach a destination ISATAP host (router-to-host tunneling).

Host-to-Host

In the host-to-host tunneling configuration, an IPv6/IPv4 node that resides within an IPv4only infrastructure uses an IPv6-over-IPv4 tunnel to reach another IPv6/IPv4 node that resides within the same IPv4-only infrastructure. The tunnel endpoints span the entire path consisting of a single hop between the source and destination nodes.

Each IPv6/IPv4 node has an interface that represents the IPv6-over-IPv4 tunnel. A route is present to indicate that the destination node is on the same logical subnet defined by the IPv4-only infrastructure. Based on the sending interface, the on-link subnet route, and the destination address, the sending host tunnels the IPv6 traffic to the destination.

Figure 11-8 shows host-to-host tunneling.

 

IPv4-Only Infrastructure

 

IPv6-over-IPv4 Tunnel

IPv6/IPv4

IPv6/IPv4

Node

Node

Figure 11-8 Host-to-host tunneling

Examples of host-to-host tunneling include the following:

ISATAP hosts that tunnel traffic to each other across an organization’s IPv4-only infrastructure.

6to4 host/routers that tunnel traffic to each other across the IPv4 Internet.

270 Understanding IPv6, Second Edition

Types of Tunnels

RFC 2893 defines the following types of tunnels:

Configured

Automatic

Configured Tunnels

A configured tunnel requires manual configuration of the local and remote tunnel endpoints. In a configured tunnel, the IPv4 addresses of the remote tunnel endpoint are not embedded or encoded in the next-hop IPv6 address for the destination IPv6 address. Manually configured tunnels are typically used for router-to-router tunneling. The tunnel interface configuration, consisting of the IPv4 addresses of the local and remote tunnel endpoints, must be manually specified along with routes that use the tunnel interface. For example, you can use a manually configured tunnel to connect two IPv6-capable test lab networks across an IPv4only intranet without using an IPv6 transition technology such as ISATAP.

To manually create configured tunnels for the IPv6 protocol for Windows Server 2008 and Windows Vista, use the following command:

netsh interface ipv6 add v6v4tunnel [interface=]Name [localaddress=]LocalIPv4Address

[remoteaddress=]RemoteIPv4address

Name is the name of the new tunnel interface.

LocalIPv4Address is an IPv4 address assigned to the computer on which the command is run and corresponds to the local tunnel endpoint.

RemoteIPv4address is an IPv4 address of the remote tunnel endpoint.

You must create tunnel interfaces on the routers on both sides of the tunnel and add routes that use the tunnel interfaces.

For example, there are two IPv6 test lab subnets that are located in different parts of an intranet. Router 1 is connected to the IPv6 subnet of 2001:db8:0:1::/64 and has the IPv4 address of 131.107.47.121. Router 2 is connected to the IPv6 subnet of 2001:db8:0:2::/64 and has the IPv4 address of 157.54.9.211. Figure 11-9 shows the configuration.

 

131.107.47.121

157.54.9.211

 

 

IPv4-Only Infrastructure

 

 

2001:db8:0:1::/64

 

2001:db8:0:2::/64

 

IPv6-over-IPv4 Tunnel

 

IPv6

Router1

Router2

IPv6

 

 

Node

 

 

Node

Figure 11-9 Manually configured tunneling example

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