Configuring an ipv6 anycast address, Configuration example – H3C Technologies H3C S12500 Series Switches User Manual
Page 175

162
--- 3003::1 ping6 statistics ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 4.000/16.000/45.000/14.711 ms
154B
Configuring an automatic IPv4-compatible IPv6
tunnel
Follow these guidelines when you configure an automatic IPv4-compatible IPv6 tunnel:
•
You do not need to configure a destination address for an automatic IPv4-compatible IPv6 tunnel,
because the destination address of the tunnel is embedded in the destination IPv4-compatible IPv6
address of packets.
•
The automatic tunnel interfaces using the same encapsulation protocol cannot use the same source
IP address.
To configure an automatic IPv4-compatible IPv6 tunnel:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter automatic
IPv4-compatible IPv6 tunnel
interface view.
interface tunnel number [ mode
ipv6-ipv4 auto-tunnel ]
N/A
3.
Specify an IPv6 address for
the tunnel interface.
For configuration details, see
"Configuring IPv6 Basics."
No IPv6 address is configured for the
tunnel interface by default.
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.
308B
Configuration example
By default, Ethernet, VLAN, and aggregate interfaces are down. To configure such an interface, bring
the interface up by executing the undo shutdown command.
414B
Network requirements
As shown in
806H
Figure 67
, dual-stack switches, Switch A and Switch B are connected over an IPv4 network.
Configure an automatic IPv4-compatible IPv6 tunnel between the two switches to enable IPv6
communications over the IPv4 network.
Figure 67 Network diagram
- H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S9800 Series Switches