Chapter 16 IPv6 Tunnel Configuration
tunnel destination ipv6 2078::28
!</ipv6_TUNNEL>
R1(config)#show ip interface v6_tunnel2
v6_tunnel2 AdminStatus is up, PhyStatus is up, line protocol is up
Internet address is 27.0.1.1/16
Broadcast address is 255.255.255.255
IP MTU is 1460 bytes
16.1.3.3 Example: Configuring a 6to4 Tunnel
Configuration Description
As shown in
, suppose R1 and R2 are dual-stack routers whereas PC1 and
PC2 are IPv6 hosts. This example describes how to configure a 6to4 tunnel.
Figure 16-8 6to4 Tunnel Configuration Example
Configuration Flow
A 6to4 tunnel is of v6 nature and thus IPv6 needs to be enabled to connect the 6to4 node
prefixed with 2002::/16. The source end of the tunnel is bound with the IPv4 address of
the local router, and no destination address is required. The tunnel address must assume
a 2002::/16 prefix.
1.
Create a 6to4 tunnel, configure IPv6 addresses, and enable IPv6. The first 48 bits of
the tunnel address and the 6to4 sites are of a fixed format and generated according to
the source IPv4 address of the tunnel: Convert the x.x.x.x of the source IPv4 address
of the tunnel into a hexadecimal yyyy:yyyy, and then add 2002::/16 to it to form a 48-bit
prefix 2002:yyyy:yyyy::/48.
2.
Enter the tunnel configuration mode from the global mode, and then enter the 6to4
tunnel interface to be configured.
3.
Configure the tunnel mode and the source address.
4.
Advertise the tunnel route through static routing or BGP4+.
Configuration Commands
Configuration on R1:
16-11
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential
Содержание ZXR10 ZSR
Страница 12: ...This page intentionally left blank IV SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...
Страница 306: ...Figures This page intentionally left blank IV SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...
Страница 308: ...This page intentionally left blank VI SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...