Verifying the configuration, Configuring an isatap tunnel, Configuration procedure – H3C Technologies H3C S12500-X Series Switches User Manual

Page 158

Advertising
background image

147

[SwitchB] interface tunnel 0 mode ipv6-ipv4 6to4

# Specify an IPv6 address for the tunnel interface.

[SwitchA-Tunnel0] ipv6 address 3002::1/64

# Specify the source interface as VLAN-interface 100 for the tunnel interface.

[SwitchB-Tunnel0] source vlan-interface 100

[SwitchB-Tunnel0] quit

# Configure a static route destined for 2002::/16 through the tunnel interface.

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

Verifying the configuration

# Ping Host B from Host A or ping Host A from Host B. 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

Configuring an ISATAP tunnel

Follow these guidelines when you configure an ISATAP tunnel:

You do not need to configure a destination address for an ISATAP tunnel, because the destination
IPv4 address is embedded in the ISATAP address.

Because automatic tunnels do not support dynamic routing, configure a static route destined for the
destination IPv6 network at each tunnel end. 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.

The source addresses of local tunnels of the same tunnel mode cannot be the same.

To configure an ISATAP tunnel:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter ISATAP tunnel interface view. interface tunnel number [ mode

ipv6-ipv4 isatap ]

N/A

3.

Specify an IPv6 address for the

tunnel interface.

For configuration details, see
"

Configuring basic IPv6 settings

."

By default, no IPv6 address is
configured for the tunnel
interface.

Advertising
This manual is related to the following products: