6To4 Tunnel Configuration Example - HP 6125XLG Configuration Manual

Blade switch layer 3 - ip services
Table of Contents

Advertisement

as the IPv6 address of the tunnel interface. You can specify the local tunnel interface as the egress
interface of the route or specify the IPv6 address of the peer tunnel interface as the next hop of the
route. For the detailed configuration, see Layer 3—IP Routing Configuration Guide.
The automatic tunnel interfaces using the same encapsulation protocol cannot use the same source
IP address.
To configure a 6to4 tunnel:
Step
Enter system view.
1.
2.
Enter 6to4 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.
(Optional.) Set the DF bit
for tunneled packets.
6.
Return to system view.
7.
(Optional.) Enable
dropping of IPv6 packets
using IPv4-compatible
IPv6 addresses.

6to4 tunnel configuration example

Network requirements
As shown in
and Host B can reach each other over the IPv4 network.
Command
system-view
interface tunnel number [ mode
ipv6-ipv4 6to4 ]
For configuration details, see
"
Configuring basic IPv6
source { ip-address | interface-type
interface-number }
tunnel dfbit enable
quit
tunnel discard
ipv4-compatible-packet
Figure
74, configure a 6to4 tunnel between 6to4 switches Switch A and Switch B so Host A
settings."
167
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.
The DF bit is not set for tunneled
packets by default.
N/A
Optional.
The default setting is disabled.

Advertisement

Table of Contents
loading

Table of Contents