H3C MSR 2600 Configuration Manual page 267

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

Advertisement

[RouterB] interface tunnel 0 mode ipv6-ipv4 6to4
# Specify an IPv6 address for the tunnel interface.
[RouterA-Tunnel0] ipv6 address 3001::1/64
# Specify the source interface as Ethernet1/2 for the tunnel interface.
[RouterA-Tunnel0] source ethernet 1/2
[RouterA-Tunnel0] quit
# Configure a static route destined for 2002::/16 through the tunnel interface.
[RouterA] ipv6 route-static 2002:: 16 tunnel 0
Configure Router B:
# Specify an IPv4 address for Ethernet 1/2.
<RouterB> system-view
[RouterB] interface ethernet 1/2
[RouterB-Ethernet1/2] ip address 5.1.1.1 24
[RouterB-Ethernet1/2] quit
# Specify a 6to4 address for Ethernet 1/1.
[RouterB] interface ethernet 1/1
[RouterB-Ethernet1/1] ipv6 address 2002:0501:0101:1::1/64
[RouterB-Ethernet1/1] quit
# Create a 6to4 tunnel interface.
[RouterB] interface tunnel 0 mode ipv6-ipv4 6to4
# Specify an IPv6 address for the tunnel interface.
[RouterB-Tunnel0] ipv6 address 3002::1/64
# Specify the source interface as Ethernet1/2 for the tunnel interface.
[RouterB-Tunnel0] source ethernet 1/2
[RouterB-Tunnel0] quit
# Configure a static route destined for 2002::/16 through the tunnel interface.
[RouterB] ipv6 route-static 2002:: 16 tunnel 0
Verifying the configuration
# Ping either host from the other, and the ping operation succeeds.
D:\>ping6 -s 2002:201:101:1::2 2002:501:101:1::2
Pinging 2002:501:101:1::2
from 2002:201:101:1::2 with 32 bytes of data:
Reply from 2002:501:101:1::2: bytes=32 time=13ms
Reply from 2002:501:101:1::2: bytes=32 time=1ms
Reply from 2002:501:101:1::2: bytes=32 time=1ms
Reply from 2002:501:101:1::2: bytes=32 time<1ms
Ping statistics for 2002:501:101:1::2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 13ms, Average = 3ms
252

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents