R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)

294
{ Enable a dynamic routing protocol on both tunnel interfaces to achieve the same purpose.
For more information about route configuration, see Layer 3—IP Routing Configuration Guide.
The destination address of the route passing the tunnel interface must not be on the same subnet as
the destination address configured for the tunnel interface.
To configure an IPv6 over IPv6 tunnel:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter IPv6 tunnel interface view.
interface tunnel number [ mode
ipv6 ]
N/A
3. Configure an IPv6 address for
the tunnel interface.
For configuration details, see
"Configuring basic IPv6 settings."
No IPv6 address is configured for
the tunnel interface by default.
4. Configure the source address
or source interface for the
tunnel interface.
source { ipv6-address |
interface-type interface-number }
By default, no source address or
interface is configured for the
tunnel.
The specified source address or
the IPv6 address of the specified
source interface is used as the
source IPv6 address of tunneled
packets.
5. Configure the destination
address for the tunnel interface.
destination ipv6-address
By default, no destination
address is configured for the
tunnel.
The tunnel destination address
must be the IPv6 address of the
receiving interface on the tunnel
peer. It is used as the destination
IPv6 address of tunneled packets.
6. (Optional.) Configure the
maximum number of nested
encapsulations of a packet.
encapsulation-limit number
By default, there is no limit to the
nested encapsulations of a
packet.
7. Return to system view.
quit N/A
8. (Optional.) Enable dropping of
IPv6 packets using
IPv4-compatible IPv6
addresses.
tunnel discard
ipv4-compatible-packet
The default setting is disabled.
Configuration example
Network requirements
As shown in Figure 119, configure an IPv6 over IPv6 tunnel between Router A and Router B so the two
IPv6 networks can reach each other without disclosing their IPv6 addresses.