Configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual
Page 167
156
To do…
Use the command…
Remarks
ipv6 address auto link-local
Configure a
link-local IPv6
address
ipv6 address ipv6-address
link-local
Optional
By default, a link-local address will
automatically be created when an
IPv6 global unicast address or
site-local address is configured.
Specify the IPv6 manual tunnel
mode
tunnel-protocol ipv6-ipv4
Required
GRE over IPv4 tunnel by default.
The same tunnel mode should be
configured at both ends of the
tunnel. Otherwise, packet delivery
will fail.
Configure a source address or
interface for the tunnel
source { ip-address |
interface-type interface-number }
Required
By default, no source address or
interface is configured for the tunnel.
Configure a destination address
for the tunnel
destination ip-address
Required
By default, no destination address is
configured for the tunnel.
Return to system view
quit
—
Enable dropping of IPv6 packets
using IPv4-compatible IPv6
addresses
tunnel discard
ipv4-compatible-packet
Optional
Disabled by default.
Configuration example
Network requirements
As shown in
, two IPv6 networks are connected over an IPv4 network. Configure an IPv6 over
IPv4 tunnel between Switch A and Switch B to make the two IPv6 networks reachable to each other. If the
destination IPv4 address cannot be automatically obtained from the destination IPv6 addresses of
packets, configure an IPv6 manual tunnel.
Figure 70 Network diagram for an IPv6 manual tunnel
Configuration procedure
NOTE:
Before configuring an IPv6 manual tunnel, make sure that Switch A and Switch B have the corresponding
VLAN interfaces created and are reachable to each other.