Configuration Example - HP 6125XLG Configuration Manual

Blade switch layer 3 - ip services
Table of Contents

Advertisement

The tunnel destination address specified on the local device must be identical with the tunnel source
address specified on the tunnel peer device.
The tunnels in the same mode on a device must not use the same tunnel source and destination
addresses.
If the destination IPv6 network is not in the same subnet as the IPv6 address of the tunnel interface,
you must configure a static route destined for the destination IPv6 network. You can specify the local
tunnel interface as the egress interface or specify the IPv6 address of the peer tunnel interface as the
next hop. Alternatively, you can enable a dynamic routing protocol on both tunnel interfaces to
achieve the same purpose. For detailed 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.
Configure a destination
5.
address for the tunnel
interface.
6.
(Optional.) Set the DF bit for
tunneled packets.
Return to system view.
7.
8.
(Optional.) Enable dropping
of IPv6 packets using
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
Figure
73, configure an IPv6 over IPv4 tunnel between Switch A and Switch B so the two
Command
system-view
interface tunnel number [ mode
ipv6-ipv4 ]
For configuration details, see
"Configuring basic IPv6
settings."
source { ip-address |
interface-type interface-number }
destination ip-address
tunnel dfbit enable
quit
tunnel discard
ipv4-compatible-packet
164
Remarks
N/A
N/A
No IPv6 address is configured for
the tunnel interface by default.
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.
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.
The DF bit is not set for tunneled
packets by default.
N/A
This feature is disabled by default.

Advertisement

Table of Contents
loading

Table of Contents