Configuration guidelines, Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual

Page 232

Advertising
background image

218

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 current tunnel interface resides, you must configure a static route or dynamic routing for

forwarding those packets through this tunnel interface. If you configure a static route to that
destination IPv6 address, specify this tunnel interface as the outbound interface, or the peer tunnel

interface address as the next hop. Similar configuration is required at the other tunnel end. If you

configure dynamic routing at both ends, enable the dynamic routing protocol on both tunnel

interfaces. For the detailed configuration, see Layer 3—IP Routing Configuration Guide.

The automatic tunnel interfaces using the same encapsulation protocol cannot share the same

source IP address.

Configuration procedure

To configure an ISATAP tunnel:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable IPv6.

ipv6

By default, the IPv6 forwarding function
is disabled.

3.

Create a tunnel
interface and enter

tunnel interface view.

interface tunnel number

By default, there is no tunnel interface
on the switch.

4.

Configure an IPv6
address for the tunnel

interface.

Configure an IPv6 global unicast
address or site-local address:

{

ipv6 address { ipv6-address
prefix-length |

ipv6-address/prefix-length }

{

ipv6 address

ipv6-address/prefix-length

eui-64

Configure an IPv6 link-local

address:

{

ipv6 address auto link-local

{

ipv6 address ipv6-address

link-local

The IPv6 link-local address
configuration is optional.
By default:

No IPv6 global unicast address is

configured for the tunnel interface.

A link-local address will

automatically be generated when
an IPv6 global unicast address or

link-local address is configured.

5.

Specify the ISATAP

tunnel mode.

tunnel-protocol ipv6-ipv4 isatap

By default, the tunnel is a GRE over
IPv4 tunnel.
The same tunnel mode should be
configured at both ends of the tunnel.

Otherwise, packet delivery will fail.

6.

Configure a source
address or interface for

the tunnel.

source { ip-address | interface-type
interface-number
}

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

Advertising