Configuring A 6To4 Tunnel - H3C MSR 2600 Configuration Manual

Layer 3
Hide thumbs Also See for MSR 2600:
Table of Contents

Advertisement

# Router B and Router A can ping the IPv4-compatible IPv6 address of each other. For example, ping the
IPv4-compatible IPv6 address on Router B from Router A.
[RouterA-Tunnel0] ping ipv6 ::192.168.50.1
Ping6(56 data bytes) ::192.168.100.1 --> ::192.168.50.1, press escape sequence to break
56 bytes from ::192.168.50.1, icmp_seq=0 hlim=64 time=17.000 ms
56 bytes from ::192.168.50.1, icmp_seq=1 hlim=64 time=9.000 ms
56 bytes from ::192.168.50.1, icmp_seq=2 hlim=64 time=11.000 ms
56 bytes from ::192.168.50.1, icmp_seq=3 hlim=64 time=9.000 ms
56 bytes from ::192.168.50.1, icmp_seq=4 hlim=64 time=11.000 ms
--- Ping6 statistics for ::192.168.50.1 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 9.000/11.400/17.000/2.939 ms

Configuring a 6to4 tunnel

Follow these guidelines when you configure a 6to4 tunnel:
You do not need to configure a destination address for a 6to4 tunnel, because the destination IPv4
address is embedded in the 6to4 IPv6 address.
The source addresses of local tunnels of the same tunnel mode cannot be the same.
Because automatic tunnels do not support dynamic routing, you must configure a static route
destined for the destination IPv6 network if the destination IPv6 network is not in the same subnet
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.
To configure a 6to4 tunnel:
Step
1.
Enter system view.
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.
Command
system-view
interface tunnel number [ mode
ipv6-ipv4 6to4 ]
For more information, see
"Configuring basic IPv6 settings."
source { ip-address | interface-type
interface-number }
tunnel dfbit enable
quit
250
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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents