R2511-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V5)

234
round-trip min/avg/max = 1/1/1 ms
Configuring an IPv6 over IPv6 tunnel
Configuration prerequisites
Configure an IPv6 address for the interface (such as a VLAN interface, Ethernet interface, or loopback
interface) to be configured as the source interface of the tunnel interface.
Configuration guidelines
Follow these guidelines when you configure an IPv6 over IPv6 tunnel:
If the two tunnel interfaces at the tunnel ends reside on different subnets, you must configure a static
route or dynamic routing at each tunnel end so that the tunnel interfaces can reach other over the
tunnel.
If the destination IPv6 network is not on the same subnet as the IPv6 address of the local tunnel
interface, you must configure a route destined for the destination IPv6 network through the tunnel
interface. You can configure a static route, and specify the local tunnel interface as the output
interface or specify the IPv6 address of the peer tunnel interface as the next hop. Alternatively, you
can enable a dynamic routing protocol on both tunnel interfaces to achieve the same purpose. For
more configuration, see Layer 3—IP Routing Configuration Guide.
The IPv6 address of the tunnel interface cannot be on the same subnet as the destination address
configured for the tunnel interface.
The destination address of the route passing the tunnel interface cannot be on the same subnet as
the destination address configured for the tunnel interface.
Two or more tunnel interfaces using the same encapsulation protocol must have different source and
destination addresses.
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.
Only the IPv6 over IPv6 tunnel has a maximum number of nested encapsulations for a packet.
Configuration procedure
To configure an IPv6 over IPv6 tunnel:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enable IPv6.
ipv6
By default, the IPv6 packet
forwarding function is
disabled.
3. Enter tunnel interface view.
Interface tunnel number N/A