When configuring a 6to4 tunnel, note the following points:
You must create a tunnel interface before setting tunnel parameters.
You are advised to set the tunnel number to be the same as the number of the source physical interface of the tunnel, when the specified tunnel source interface is a physical interface.
You only need to specify the source address of the tunnel when a 6to4 tunnel is configured. The destination address of the tunnel is obtained from the destination address of the original IPv6 packet. In addition, the source address of a 6to4 tunnel must be unique.
You need to configure an IPv6 address for the interface that connects a border device to the IPv6 network, and an IPv4 address for the interface that connects a border device to the IPv4 network. You also need to configure a network address for the tunnel interface to support a dynamic routing protocol.
The system view is displayed.
A tunnel interface is created.
The tunnel mode is set to 6to4.
A source address or source interface is specified for the tunnel.
The IPv6 function is enabled on the interface.
An IPv6 address is configured for the tunnel interface.
The IPv6 address prefix of the specified tunnel interface must be the same as the address prefix of the IPv6 network that the device belongs to.