Preventing Routing Loops

RIP is based on the DV algorithm. RIP devices advertise their routing tables to their neighbors, and therefore, routing loops may occur.

Usage Scenario

RIP is a distance vector routing protocol.

RIP prevents routing loops through the following mechanisms:
  • Counting to infinity: RIP defines the cost 16 as infinity. If the cost of a route reaches 16 due to a routing loop, this route is considered unreachable.
  • Split horizon: Split horizon prevents a RIP-enabled interface from sending back the routes it learns, which reduces bandwidth consumption and prevents routing loops.
  • Poison reverse: Poison reverse allows a RIP-enabled interface to set the cost of the route that it learns from a neighbor to 16 (indicating that the route is unreachable) and then send the route back. After receiving this route, the neighbor deletes the useless route from its routing table, which prevents loops.
  • Suppression timers: Suppression timers can prevent routing loops and reduce the possibility of resulting in incorrect routing information due to the receiving of incorrect routes.
  • Disabling an interface from receiving and sending RIP packets: Similar to split horizon or poison reverse, this function filters out unreliable IP routes. However, routing information on the network may be incorrect because neighbors cannot receive packets from the local router.

Counting to infinity is a basic feature of RIP, and therefore, it does not need to be configured. Split horizon and poison reverse, however, need to be configured. When both split horizon and poison reverse are configured, only poison reverse takes effect.

For details about these features, see the HUAWEI NetEngine 8000 F SeriesRouterFeature Description- RIP.

Pre-configuration Tasks

Before configuring RIP to prevent routing loops on the network, complete the following tasks:

Configuration Procedure

Perform one or more of the following configurations as required.

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