Configuring a 6to4 tunnel, Configuration prerequisites, Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 163

Advertising
background image

17

--- ::192.168.50.1 ping statistics ---

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

round-trip min/avg/max = 1/1/1 ms

Configuring a 6to4 Tunnel

Configuration Prerequisites

Configure IP addresses for interfaces (such as the VLAN interface, GigabitEthernet 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 Procedure

Follow these steps to configure a 6to4 tunnel:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable IPv6

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

Specify the 6to4 tunnel mode

tunnel-protocol ipv6-ipv4
6to4

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.

Advertising
This manual is related to the following products: