536 CHAPTER 40: TUNNELING CONFIGURATION
c
CAUTION:
■ If the addresses of the tunnel interfaces at the two ends of a tunnel are not in
the same network segment, a forwarding route through the tunnel to the peer
must be configured so that the encapsulated packet can be forwarded
normally. You can configure static or dynamic routes at both ends of the
tunnel.
■ The automatic tunnel interfaces encapsulated with the same protocol cannot
share the same source IP address.
■ Automatic tunnels do not support dynamic routing.
■ 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
The destination address of a tunnel is an ISATAP address. It is required that IPv6
hosts in the IPv4 network can access the IPv6 network via an ISATAP tunnel.
Network diagram
Figure 161 Network diagram for an ISATAP tunnel
Configuration procedure
■ Configuration on the switch
# Enable IPv6.
<Switch> system-view
[Switch] ipv6
# Configure a link aggregation group. Disable STP on the port before adding it
into the link aggregation group.
[Switch] link-aggregation group 1 mode manual
[Switch] link-aggregation group 1 service-type tunnel
[Switch] interface GigabitEthernet 1/0/1
[Switch-GigabitEthernet1/0/1] stp disable
[Switch-GigabitEthernet1/0/1] port link-aggregation group 1
[Switch-GigabitEthernet1/0/1] quit
IPv6 network
Vlan-int101
2.1.1.1/8
Vlan-int100
3001::1/64
ISATAP switch
IPv6 host
ISATAP host
IPv4 address :
2.1.1.2/32
IPv6 address :
FE80::5EFE:0201:0102
2001::5EFE:0201 :0102
IPv6 address:
3001::2/64
IPv4 network