ZXR10 5900E Series Configuration Guide (IPv6)
S1(config)#show ipv6 interface brief
v6_tunnel3
[up/up]
fe80::2d0:d0ff:fe52:abcf
3172::27/64
3.3.2 6to4 Tunnel Configuration Example
Configuration Description
As shown in
, suppose S1 and S2 are dual-stack routers whereas PC1 and PC2
are IPv6 hosts. This example describes how to configure a 6to4 tunnel.
Figure 3-6 6to4 Tunnel Configuration Example
Configuration Thought
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
S1 configuration:
S1(config)#interface v6_tunnel2
3-8
SJ-20150114102049-011|2015-01-15 (R1.0)
ZTE Proprietary and Confidential