Configuration Example - HPE FlexNetwork 10500 Series Configuration Manual

Layer 3-ip services
Table of Contents

Advertisement

reaching the destination IPv6 network through the tunnel interface. You can configure the route
by using one of the following methods:
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:
Step
1.
Enter system view.
2.
Enter IPv6 over IPv4 manual
tunnel interface view.
3.
Specify an IPv6 address for
the tunnel interface.
4.
Configure a source address
or source interface for the
tunnel interface.
5.
Configure a destination
address for the tunnel
interface.
6.
(Optional.) Set the DF bit for
tunneled packets.
7.
Return to system view.
8.
(Optional.) Enable dropping
IPv6 packets that use
IPv4-compatible IPv6
addresses.

Configuration example

Network requirements
As shown in
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, configure an IPv6
over IPv4 manual tunnel.
Figure
90, configure an IPv6 over IPv4 tunnel between Switch A and Switch B so the two
Command
system-view
interface tunnel number
[ mode ipv6-ipv4 ]
See
"Configuring basic IPv6
settings."
source { ipv4-address |
interface-type interface-number }
destination ipv4-address
tunnel dfbit enable
quit
tunnel discard
ipv4-compatible-packet
243
Remarks
N/A
N/A
By default, no IPv6 address is
configured for the tunnel interface.
By default, no source address or
source interface is configured for
the tunnel interface.
If you specify a source address, it is
used as the source IP address of
tunneled packets.
If you specify a source interface,
the primary IP address of this
interface is used as the source IP
address of tunneled packets.
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.
By default, the DF bit is not set for
tunneled packets.
N/A
By default, IPv6 packets that use
IPv4-compatible IPv6 addresses
are not dropped.

Advertisement

Table of Contents
loading

Table of Contents