beautypg.com

Verification, Configuring an isatap tunnel, Configuration prerequisites – H3C Technologies H3C S10500 Series Switches User Manual

Page 174: Configuration guidelines

background image

163

[SwitchB-Tunnel0] ipv6 address 2002:0501:0101::1/64

[SwitchB-Tunnel0] source vlan-interface 100

[SwitchB-Tunnel0] tunnel-protocol ipv6-ipv4 6to4

# Reference service loopback group 1 on the tunnel.

[SwitchB-Tunnel0] service-loopback-group 1

[SwitchB-Tunnel0] quit

# Configure a static route whose destination address is 2002::/16 and the next hop is the tunnel
interface.

[SwitchB] ipv6 route-static 2002:: 16 tunnel 0

Verification

# Ping Host B from Host A or ping Host A from Host B.

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

Configuring an ISATAP tunnel

Configuration prerequisites

Configure IP addresses for interfaces (such as the VLAN interface, and loopback interface) on the device

to ensure normal communication. One of the interfaces will be used as the source interface of the tunnel.

Configuration guidelines

Follow these guidelines when you configure an ISATAP tunnel:

No destination address needs to be configured for an ISATAP tunnel. The destination address of the
tunnel can be automatically obtained through the IPv4 address embedded in the ISATAP address.

To encapsulate and forward IPv6 packets whose destination address does not belong to the subnet
where the receiving tunnel interface resides, configure a static route to reach the destination IPv6

address through this tunnel interface on the device. Because automatic tunnels do not support

dynamic routing, you can configure a static route to that destination IPv6 address with this tunnel

interface as the outbound interface or the peer tunnel interface address as the next hop. A similar

configuration is required at the other tunnel end. For the detailed configuration, see Layer 3—IP
Routing Configuration Guide
.