Configuration example, Network requirements – H3C Technologies H3C SecPath F1000-E User Manual

Page 160

Advertising
background image

14

To do…

Use the command…

Remarks

Enter system view

system-view

Enable the IPv6 packet
forwarding function

ipv6

Required
By default, the IPv6 packet 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 a

site-local

address

ipv6 address
ipv6-address/prefix-length
eui-64

Required
Use either command.
By default, no IPv6 global unicast

address or site-local 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 or site-local

address is configured for the interface.

Specify the automatic
IPv4-compatible IPv6 tunnel

mode

tunnel-protocol ipv6-ipv4
auto-tunnel

Required
The default tunnel mode is GRE over
IPv4.
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.

NOTE:

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

The automatic tunnel interfaces using the same encapsulation protocol cannot share the same source IP
address.

Configuration Example

Network requirements

As shown in

Figure 8

, two IPv6 networks are connected to an IPv4 network through Device A and Device

B respectively. Configure an automatic IPv4-compatible IPv6 tunnel between Device A and Device B to

make the two IPv6 networks reachable to each other.

Advertising
This manual is related to the following products: