Configuring a Manual IPv6 over IPv4 Tunnel

A manual IPv6 over IPv4 tunnel is a P2P tunnel. The source address and destination address of a manual IPv6 over IPv4 tunnel are both manually assigned and must be unique on the same device. A manual IPv6 over IPv4 tunnel acts as a permanent link that connects two IPv6 networks across an IPv4 network. Border routers can communicate with each other securely and regularly through manual IPv6 over IPv4 tunnels.

Usage Scenario

To enable IPv6 networks to communicate with each other through an IPv4 network, configure IPv6 over IPv4 tunnels on the routers where IPv6 networks border an IPv4 network.

A manual IPv6 over IPv4 tunnel can be established between two border routers to provide a stable connection for separated IPv6 networks. It can also be established between a terminal system and a border router to provide a connection for the terminal system to access an IPv6 network. The devices at the two ends of an IPv6 over IPv4 tunnel must support the IPv4/IPv6 dual stack. The intermediate devices do not need to support the IPv4/IPv6 dual stack. You can configure multiple manual IPv6 over IPv4 tunnels on the border router to communicate with multiple IPv6 networks.

Pre-configuration Tasks

Before configuring a manual IPv6 over IPv4 tunnel, complete the following tasks:

  • Connect interfaces and configure physical parameters for the interfaces to ensure that the physical status of the interfaces is Up.

  • Configure link layer protocol parameters for the interfaces to ensure that the link layer protocol status of the interfaces is Up.

  • Assign an IPv4 address to each border router.

  • Configure IPv6 globally and on interfaces.

  • Assign an IPv6 address to each border router.

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

    The tunnel mode is set to manual IPv6 over IPv4 tunnel mode.

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

    The source address or source interface of the tunnel is specified.

  5. Run destination ip-address

    The destination address of the tunnel is specified.

    The destination address of an IPv6 over IPv4 tunnel can be a physical or loopback interface address.

  6. Run ipv6 enable

    IPv6 is configured on the interface.

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

    An IPv6 address is configured for the tunnel interface.

  8. Run commit

    The configuration is committed.

Verifying the Configurations

After configuring a manual IPv6 over IPv4 tunnel, verify the configurations.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >