Configuration Example - HPE FlexNetwork 10500 Series Configuration Manual

Layer 3-ip services
Table of Contents

Advertisement

To ensure correct packet forwarding, identify whether the destination IPv6 network and the IPv6
address of the local tunnel interface are on the same subnet. If they are not, configure a route
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.
The destination address of the route passing the tunnel interface cannot be on the same subnet
as the destination address configured for the tunnel interface.
To configure an IPv6 over IPv6 tunnel:
Step
1.
Enter system view.
2.
Enter IPv6 tunnel interface
view.
3.
Configure an IPv6 address
for the tunnel interface.
4.
Configure the source address
or source interface for the
tunnel interface.
5.
Configure the destination
address for the tunnel
interface.
6.
Return to system view.
7.
(Optional.) Enable dropping
IPv6 packets that use
IPv4-compatible IPv6
addresses.

Configuration example

Network requirements
As shown in
networks can reach each other without disclosing their IPv6 addresses.
Figure
99, configure an IPv6 over IPv6 tunnel between Switch A and Switch B so the two
Command
system-view
interface tunnel number [ mode
ipv6 ]
See
"Configuring basic IPv6
settings."
source { ipv6-address |
interface-type interface-number }
destination ipv6-address
quit
tunnel discard
ipv4-compatible-packet
266
Remarks
N/A
N/A
By default, no IPv6 address is
configured for the tunnel
interface.
By default, no source address or
interface is configured for the
tunnel.
If you specify a source address,
it is used as the source IPv6
address of tunneled packets.
If you specify a source interface,
the lowest IPv6 address of this
interface is used as the source
IPv6 address of tunneled
packets.
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.
N/A
By default, IPv6 packets that use
IPv4-compatible IPv6 addresses
are not dropped.

Advertisement

Table of Contents
loading

Table of Contents