532 CHAPTER 40: TUNNELING CONFIGURATION
■ When you configure a static route, you need to configure a route to the
destination address (the destination IP address of the packet, instead of the
IPv4 address of the tunnel destination) and set the next-hop to the tunnel
interface number or network address at the local end of the tunnel. Such a
route must be configured at both ends of the tunnel.
■ Before referencing a link aggregation group on the tunnel interface to receive
and send packets, make sure that the aggregation group has been configured.
Otherwise, the tunnel interface will not be up to communicate.
Configuration Example Network requirements
Isolated IPv6 networks are interconnected through a 6to4 tunnel over the IPv4
network.
Network diagram
Figure 160 Network diagram for a 6to4 tunnel
Configuration procedure
■ Configuration on Switch A
# Enable IPv6.
<SwitchA> system-view
[SwitchA] ipv6
# Configure a link aggregation group. Disable STP on the port before adding it
into the link aggregation group.
[SwitchA] link-aggregation group 1 mode manual
[SwitchA] link-aggregation group 1 service-type tunnel
[SwitchA] interface GigabitEthernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] stp disable
[SwitchA-GigabitEthernet1/0/1] port link-aggregation group 1
[SwitchA-GigabitEthernet1/0/1] quit
# Configure an IPv4 address for VLAN-interface 100.
[SwitchA] vlan 100
[SwitchA-vlan100] port GigabitEthernet 1/0/2
[SwitchA-vlan100] quit
[SwitchA] interface vlan-interface 100
Vlan-int100
2.1.1.1/24
Vlan-int100
5.1.1.1/24
Vlan-int101
2002:0201 :0101 :1::1/64
Vlan-int101
2002:0501:0101:1::1/64
Switch A Switch B
6to4 switch
6to4 switch
Host A
2002:0201 :0101 :1::2/64
Host B
2002:0501:0101 :1::2/64
IPv4 netwok