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

235
Step Command Remarks
4. Configure an IPv6 address
for the tunnel interface.
(Method 1) Configure an IPv6 global
unicast address or site-local address:
{ ipv6 address { ipv6-address
prefix-length |
ipv6-address/prefix-length }
{ ipv6 address
ipv6-address/prefix-length eui-64
(Method 2) Configure an IPv6
link-local address:
{ ipv6 address auto link-local
{ ipv6 address ipv6-address
link-local
Use either method.
By default, no IPv6 address is
configured for the tunnel
interface.
5. Specify the IPv6 over IPv6
tunnel mode.
tunnel-protocol ipv6-ipv6
The same tunnel mode should
be configured at both ends of
the tunnel. Otherwise, packet
delivery fails.
6. Configure a source address
or interface for the tunnel
interface.
source { ipv6-address | interface-type
interface-number }
By default, no source address
or interface is configured for
the tunnel.
7. Configure the destination
address for the tunnel
interface.
destination ipv6-address
By default, no destination
address is configured for the
tunnel.
8. Return to system view.
quit N/A
9. Enable dropping of IPv6
packets using
IPv4-compatible IPv6
addresses.
tunnel discard ipv4-compatible-packet
Optional.
The default setting is
disabled.
Configuration example
Network requirements
As shown in Figure 91, 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.
Figure 91 Network diagram
Configuration procedure
Make sure Router A and Router B can reach each other through IPv6.