Configuration procedure, Configuration example, Network requirements – H3C Technologies H3C S10500 Series Switches User Manual
Page 175
164
•
The automatic tunnel interfaces using the same encapsulation protocol cannot share the same
source IP address.
Configuration procedure
Follow these steps to configure an ISATAP tunnel:
To do…
Use the command…
Remarks
Enter system view
system-view —
Enable IPv6
ipv6
Required
By default, the IPv6 forwarding
function is disabled.
Enter tunnel interface view
interface tunnel number —
ipv6 address { ipv6-address
prefix-length |
ipv6-address/prefix-length }
Configure an
IPv6 global
unicast
address or
site-local
address
ipv6 address
ipv6-address/prefix-length eui-64
Required.
Use either command.
By default, no IPv6 global unicast
address is configured for the tunnel
interface.
ipv6 address auto link-local
Configure
an IPv6
address for
the tunnel
interface
Configure an
IPv6 link-local
address
ipv6 address ipv6-address link-local
Optional
By default, a link-local address will
automatically be generated when
an IPv6 global unicast address or
link-local address is configured.
Specify the ISATAP tunnel
mode
tunnel-protocol ipv6-ipv4 isatap
Required
GRE over IPv4 tunnel by default.
The same tunnel mode should be
configured at both ends of the
tunnel. Otherwise, packet delivery
will fail.
Configure a source address
or interface for the tunnel
source { ip-address | interface-type
interface-number }
Required
By default, no source address or
interface is configured for the tunnel.
Return to system view
quit
—
Enable dropping of IPv6
packets using
IPv4-compatible IPv6
addresses
tunnel discard ipv4-compatible-packet
Optional
Disabled by default.
Configuration example
Network requirements
As shown in
, an IPv6 network is connected to an IPv4 network through an ISATAP switch. IPv6
hosts reside in the IPv4 network.
Configure the IPv6 hosts to access the IPv6 network through the ISATAP tunnel.