< Home

Configuring a Tunnel Route

Context

Packets can be forwarded correctly only when devices at the two ends of a tunnel are configured with forwarding routes. Perform the following configurations on devices at each end of the tunnel.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip route-static ip-address { mask | mask-length } tunnel interface-number

    A static route is configured.

    The static route must be configured on both ends of the tunnel.

    The destination address of the static route is the destination IPv4 address of the packets that are not encapsulated into IPv6 packets, and the next hop is the local tunnel interface.

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