No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - IP Service

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring a 6to4 Tunnel

Configuring a 6to4 Tunnel

Context

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.

  • 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 a 6to4 address for the interface that connects a border device to the 6to4 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.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface tunnel interface-number

    A tunnel interface is created.

  3. Run tunnel-protocol ipv6-ipv4 6to4

    The tunnel mode is set to 6to4.

  4. Run source { source-ip-address | interface-type interface-number }

    A source address or source interface is specified for the tunnel.

  5. Run ipv6 enable

    The IPv6 function is enabled on the interface.

  6. Run ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length }

    An IPv6 address is configured for the tunnel interface.

    NOTE:

    The IPv6 address prefix of the specified tunnel interface must be the same as the address prefix of the 6to4 network that the device belongs to.

Follow-up Procedure

Connect to an IPv6 network through a 6to4 relay agent. The procedure for connecting to an IPv6 network through a 6to4 relay agent is similar to the procedure for configuring a 6to4 tunnel. For details, see Example for Configuring 6to4 Relay.

Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069333

Views: 36268

Downloads: 182

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next