Chapter 16 IPv6 Tunnel Configuration
Configuration Flow
The 6in4 tunnel is of v6 nature and thus IPv6 needs to be enabled. The source address
of the tunnel is the IPv4 address of the local router, whereas the destination address is
the IPv4 address of the peer router. There must be a route for interworking between the
source address and the destination address of the tunnel (via the IPv4 routing protocol,
the static routing protocol or other routing protocols).
1.
Create 6in4 tunnel interfaces and enable IPv6 on them.
2.
Enter the tunnel configuration mode from the global mode, and then enter the 6in4
tunnel interface to be configured.
3.
Configure the tunnel mode, the source address, and the destination address.
Configuration Commands
Configuration on R1:
R1(config)#interface v6_tunnel3
R1(config-if-v6_tunnel3)#ipv6 enable
R1(config-if-v6_tunnel3)#ipv6 address 3172::27/64
R1(config-if-v6_tunnel3)#exit
R1(config)#ipv6-tunnel-config
R1(config-ipv6-tunnel)#interface v6_tunnel3
R1(config-ipv6-tunnel-if-v6_tunnel3)#tunnel mode ipv6ip 6in4
R1(config-ipv6-tunnel-if-v6_tunnel3)#tunnel destination ipv4 33.1.1.28
R1(config-ipv6-tunnel-if-v6_tunnel3)#tunnel source ipv4 33.1.1.27
R1(config-ipv6-tunnel-if-v6_tunnel3)#exit
R1(config-ipv6-tunnel)#exit
R1(config)#interface gei-2/4
R1(config-if-gei-2/4)#no shutdown
R1(config-if-gei-2/4)#ip address 33.1.1.27 255.255.0.0
R1(config-if-gei-2/4)#exit
R1(config)#interface gei-2/3
R1(config-if-gei-2/3)#no shutdown
R1(config-if-gei-2/3)#ipv6 enable
R1(config-if-gei-2/3)#ipv6 address 2700::1/64
R1(config-if-gei-2/3)#exit
Configuration on R2:
R2(config)#interface v6_tunnel3
R2(config-if-v6_tunnel3)#ipv6 enable
R2(config-if-v6_tunnel3)#ipv6 address 3172::28/64
R2(config-if-v6_tunnel3)#exit
R2(config)#ipv6-tunnel-config
R2(config-ipv6-tunnel)#interface v6_tunnel3
R2(config-ipv6-tunnel-if-v6_tunnel3)#tunnel mode ipv6ip 6in4
16-7
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 ...