Configuring An Ipv4 Over Ipv6 Manual Tunnel; Configuration Example - HPE FlexNetwork 10500 Series Configuration Manual

Layer 3-ip services
Table of Contents

Advertisement

Configuring an IPv4 over IPv6 manual tunnel

Follow these guidelines when you configure an IPv4 over IPv6 manual tunnel:
The tunnel destination address specified on the local device must be identical with the tunnel
source address specified on the tunnel peer device.
Do not specify the same source and destination addresses for local tunnel interfaces in the
same tunnel mode.
To ensure correct packet forwarding, identify whether the destination IPv4 network and the IPv4
address of the local tunnel interface are on the same subnet. If they are not, configure a route
reaching the destination IPv4 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 IPv4 over IPv6 manual tunnel:
Step
1.
Enter system view.
2.
Enter IPv6 tunnel
interface view.
3.
Configure an IPv4
address for the tunnel
interface.
4.
Configure the source
address or interface for
the tunnel interface.
5.
Configure the destination
address for the tunnel
interface.

Configuration example

Network requirements
As shown in
so the two networks can reach each other over the IPv6 network.
Command
system-view
interface tunnel number [ mode
ipv6 ]
ip address ip-address { mask |
mask-length } [ sub ]
source { ipv6-address |
interface-type interface-number }
destination ipv6-address
Figure
97, configure an IPv4 over IPv6 manual tunnel between Switch A and Switch B
261
Remarks
N/A
N/A
By default, no IPv4 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.

Advertisement

Table of Contents
loading

Table of Contents