R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide
235
Ste
p
Command
Remarks
2. Enable the IPv6
packet forwarding
function.
ipv6
By default, the IPv6 packet forwarding
function is disabled.
3. Enter tunnel interface
view.
interface tunnel number N/A
4. Configure an IPv6
address for the
tunnel interface.
• Configure an IPv6 global unicast
address or a site-local address:
{ ipv6 address { ipv6-address
prefix-length |
ipv6-address/prefix-length }
{ ipv6 address
ipv6-address/prefix-length
eui-64
• Configure an IPv6 link-local
address:
{ ipv6 address auto link-local
{ ipv6 address ipv6-address
link-local
The IPv6 link-local address configuration is
optional.
By default:
• No IPv6 global unicast address or
site-local address is configured for the
tunnel interface.
• A link-local address is automatically
generated when an IPv6 global unicast
or site-local address is configured for
the interface.
5. Specify the
automatic
IPv4-compatible IPv6
tunnel mode.
tunnel-protocol ipv6-ipv4
auto-tunnel
The default mode is GRE. 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.
source { ip-address | interface-type
interface-number }
By default, no source address or interface
is configured for the tunnel.
7. Return to system
view.
quit N/A
8. Enable dropping of
IPv6 packets using
IPv4-compatible IPv6
addresses.
tunnel discard
ipv4-compatible-packet
Optional.
This feature is disabled by default.
Configuration example
Network requirements
As shown in Figure 100, dual-stack routers, Router A and Router B communicate over an IPv4 network.
Configure an automatic IPv4-compatible IPv6 tunnel between the two routers to enable IPv6
communications other over the IPv4 network.
Figure 100 Network diagram