Specifying the source address for icmp packets – H3C Technologies H3C S12500-X Series Switches User Manual
Page 168
157
•
The destination address specified for the local tunnel interface must be the source address specified
for the peer tunnel interface, and vice versa.
•
The source/destination addresses of local tunnels of the same tunnel mode cannot be the same.
•
The IPv6 address of the tunnel interface must not be on the same subnet as the destination address
configured for the tunnel interface.
•
If the destination IPv6 network is not on the same subnet as the IPv6 address of the local tunnel
interface, you must configure a route destined for the destination IPv6 network through the tunnel
interface. You can 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. Alternatively, you
can enable a dynamic routing protocol on both tunnel interfaces to achieve the same purpose. For
the detailed configuration, see Layer 3—IP Routing Configuration Guide.
•
The destination address of the route passing the tunnel interface must not be on the same subnet as
the destination address configured for the tunnel interface.
To configure an IPv6 over IPv6 tunnel:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IPv6 tunnel interface
view.
interface tunnel number [ mode
ipv6 ]
N/A
3.
Configure an IPv6 address for
the tunnel interface.
For configuration details, see
"
Configuring basic IPv6 settings
No IPv6 address is configured for
the tunnel interface by default.
4.
Configure the source address
or source interface for the
tunnel interface.
source { ipv6-address |
interface-type interface-number }
By default, no source address or
interface is configured for the
tunnel.
The specified source address or
the IPv6 address of the specified
source interface is used as the
source IPv6 address of tunneled
packets.
5.
Configure the destination
address for the tunnel
interface.
destination ipv6-address
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.
6.
Return to system view.
quit
N/A
7.
(Optional.) Enable dropping
of IPv6 packets using
IPv4-compatible IPv6
addresses.
tunnel discard
ipv4-compatible-packet
The default setting is disabled.