R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)
273
{ Configure a static route, and specify the local tunnel interface as the egress interface or specify
the IPv6 address of the peer tunnel interface as the next hop.
{ 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.
To configure an IPv6 over IPv4 manual tunnel:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter IPv6 over IPv4 manual
tunnel interface view.
interface tunnel number [ mode
ipv6-ipv4 ]
N/A
3. Specify 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 a source address or
source interface for the tunnel
interface.
source { ip-address |
interface-type interface-number }
By default, no source address or
source interface is configured for the
tunnel interface.
The specified source address or the
primary IP address of the specified
source interface is used as the
source IP address of tunneled
packets.
5. Configure a destination
address for the tunnel interface.
destination ip-address
By default, no destination address is
configured for the tunnel interface.
The tunnel destination address must
be the IP address of the receiving
interface on the tunnel peer. It is
used as the destination IP address of
tunneled packets.
6. (Optional.) Set the DF bit for
tunneled packets.
tunnel dfbit enable
The DF bit is not set for tunneled
packets by default.
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
This feature is disabled by default.
Configuration example
Network requirements
As shown in Figure 111, configure an IPv6 over IPv4 tunnel between Router A and Router B so the two IPv6
networks can reach each other over the IPv4 network. Because the tunnel destination IPv4 address
cannot be automatically obtained from the destination IPv6 addresses of packets, configure an IPv6 over
IPv4 manual tunnel.