
17-29
z
To encapsulate and forward IPv4 packets whose destination address does not belong to the
network segment where the receiving tunnel interface resides, you need to configure a static
route or dynamic routing for forwarding those packets through this tunnel interface. If you
configure a static route to that destination IPv4 address, specify this tunnel interface as the
outbound interface, or the peer tunnel interface as the next hop. A similar configuration needs to
be performed at the other tunnel end. If you configure dynamic routing at both ends, enable the
dynamic routing protocol on both tunnel interfaces. For the detailed configuration,
see
Static
Routing Configuration
or
other routing protocol configurations in the Layer 3 - IP Routing
Configuration Guide.
z
Two or more tunnel interfaces using the same encapsulation protocol must have different source
and destination addresses.
z
If you specify a source interface instead of a source address for the tunnel, the source address of
the tunnel is the primary IP address of the source interface.
Configuration Example
Network requirements
The two subnets Group 1 and Group 2 in the private network running IPv4 are interconnected over the
IPv6 network by using an IPv4 over IPv6 tunnel between Switch A and Switch B.
Figure 17-12
Network diagram for an IPv4 over IPv6 tunnel
Configuration procedure
Make sure that Switch A and Switch B have the corresponding VLAN interfaces created and can
reach to each other.
z
Configuration on Switch A
# Enable IPv6.
<SwitchA> system-view