Home / Network / Routing / Dynamic routing / RIP / Understand RIP Routing Timers All in One Shot!

Understand RIP Routing Timers All in One Shot!

This post is part of a series of posts about dynamic routing protocols and especially RIP. We’ll try to get a deep understanding of its operation and function as an introductory to dynamic routing logic in general. You’ll see that what we think easy may hide an incrementing complexity…

a little introduction

Berfore we start lets recall that RIP or Routing Information Protocol is one of the so-called distance vector IGP protocol or Interior Gateway Protocols that is, its routing decision is based on a metric. This metric is calculated based on the distance (of the router) from the destination in terms of the number of hops (intermediate networks or routers) that separate the source (or forwarding router of trafic from the source) from the destination. For example, from a router perspective, a path to a destination that is two hops away from the destination is better than a path using three or more hops to the same destination…

let’s focus on times used by RIP

One of important aspects of the operation of any implemention of RIP is the timers it uses to maintain its routing information state up to date. It is also interesting to keep in mind this times when trying to understand the logic of operation of these implementations. The great news is that all these implementations agree on these timers: RIP is standardized allowing an integrated network in terms of multi vendor use of technologies such as: Cisco, Alcatel, etc.

Cisco RIP

Cisco’s RIP implementation defines 4 times (more precise to say time than timers) tight to one periodic update interval and 3 states of route information: invalid, hold-down and flush.

The misleading information is that they are referred to as “timers” in the configuration part!

Apart from the periodic update interval the other times correspond to exactly 2 timers that are attached to the route prefix and to path descriptors respectively. It is to note that every network route in routing table is coded as a prefix descriptor that matches one or many path descriptors. That is a route may have multiple patch attached to a specific destination; a route that has no path to destination is not usable!

To a path descriptor we associate the invalid timer so that a route path is invalidated after the invalid time has expired. This is the first timer. Let’s observe also that if multiple paths are attached to a route and one route is being invalidated, this does not mean that the route enters the down and hold down state…

Then to each prefix we associate only ONE timer (this is the second timer) that moves the prefix to garbage state after holddown state (after not receiving an update about the last valid path for 180 seconds by default corresponding to 6 times the update interval by default but are no correlated such as), and removes it from the routing table after garbage time has elapsed (that is the flush time).

more precisions on timers

In addition to the previous elements let’s note also that:

  • Holddown and garbage timer (the first timer for both times) runs separately from invalidation path timer (the second timer);
  • More interesting is that only the garbage time is a specification of the 1058 RFC, the recommendation of the workgroup to vendors on how to implement RIP solution;
  • Each prefix (that is a route in the routing table) can be in one of this states: valid, holddown, or garbage;
  • A prefix in holddown state can not be updated!

The 2 timers are reset every time an update is received which is different from the peridioc interval that triggers an update each time this constant time interval has fired…

further more

To help understand more the operation of those timers please consider our post: RIP time(r)s: let’s understand the flush operation (time) you’ll have the ability to reproduce the same test network and observe how real routers behave, gain more understanding and tools for troubleshooting also (show and debug commands).

Leave a Reply

adsense (1) application (2) architecture (4) asm (4) automatisation (2) backbone (1) cef (1) cisco (5) cloud (1) command (5) controller (1) cost (6) coverage (2) debug (9) distance (6) fiber (1) gns3 (1) google (1) hpe (1) http (1) igmp (5) igp (7) internet (2) ip (2) ipv6 (1) isp (1) label (1) ldp (1) logique (2) loop (5) lsp (1) mac (3) meraki (1) model (2) mpls (3) mroute (4) multicast (5) nat (1) ndp (2) network (3) next-hop (5) osi (5) pat (1) pim (4) poisoning (6) projet (2) qos (1) radio (3) rib (5) rip (5) route (6) router (5) routing (14) rpf (4) rrm (3) security (3) show (5) simulation (2) solution (2) split-horizon (5) sql (1) ssm (4) static (6) stp (2) summarization (5) switching (1) tcp/ip (1) telecom (1) template (1) traffic engineering (1) translation (1) travail (2) vpn (2) wifi (4) wlan (2)

  • Understand RIP Routing Timers All in One Shot!
    This post is part of a series of posts about dynamic routing protocols and especially RIP. We’ll try to get a deep understanding of its operation and function as an introductory to dynamic routing logic in general. You’ll see that what we think easy may hide an incrementing complexity… a little introduction Berfore we start
  • DUAL route FSM Processing of EIGRP Queries
    This blog is a part of series of posts about EIGRP routing protocol. Let’s recall that EIGRP is one of the so called IGP routing protocols. IGP stands for interior routing protocols as opposed to EGP or exterior routing protocols. In addition EIGRP is a hybrid as it borrows some similiarities to distance-vector and link-state
  • Point-to-Point OSPF Network Operation over a LAN that connects multiple routers
    What happens when LAN interfaces are configured as point-to-point network type OSPF interfaces instead of default broadcast type? And more than 2 ospf routers are present on this media? Let’s test this on network (R1, R2, R3): Routers are Cisco 7206VXR GNS3 emulated and run C7200 ADVENTERPRISEK9-M IOS version 15.3(3)XB12. They are configured as: R1
  • VPNv4 BGP AS-Override Feature into play!
    Let’s put into play AS-Override feature in BGP: see when it applies and how it works. First, AS-Override feature applies to sites that have the same AS number but are linked by another different domain with different AS number, as in the next figure. In our example AS number 1 has neighborship (E-BGP links) to
  • EIGRP over a vNET trunk
    In this blog we’ll explore the operation of IGP interior routing protocol EIGRP over vNET trunks (another way to say networking trunking similar to vlan trunks used in L2 network by switches to trunks multiple traffics from different vlans into the same physical link) little introduction New IOS release 15.x introduced Easy Virtual Network (EVN)
September 2025
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  
Table of Contents
Copied!