Configuring an ipv6 over ipv4 manual tunnel – H3C Technologies H3C S5560 Series Switches User Manual
Page 228

213
Step Command
Remarks
11.
(Optional.) Shut down the
tunnel interface.
shutdown
By default, the tunnel interface is
enabled.
Configuring an IPv6 over IPv4 manual tunnel
Follow these guidelines when you configure an IPv6 over IPv4 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 tunnel source and destination addresses for the tunnels in the same mode
on a device.
•
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.
To configure an IPv6 over IPv4 manual tunnel:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IPv6 over IPv4 manual
tunnel interface view.
interface tunnel number [ mode
ipv6-ipv4 ]
N/A
3.
Specify an IPv6 address for
the tunnel interface.
By default, no IPv6 address is
configured for the tunnel interface.
4.
Configure a source address or
source interface for the tunnel
interface.
source { ip-address |
interface-type interface-number }
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.
5.
Configure a destination
address for the tunnel
interface.
destination ip-address
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.
6.
(Optional.) Set the DF bit for
tunneled packets.
tunnel dfbit enable
By default, the DF bit is not set for
tunneled packets.
7.
Return to system view.
quit
N/A