Comparing RIP Versions 1 and 2

Posted on August 10, 2009. Filed under: CCNA, ICND1 break down | Tags: , , , |

Routing Information Protocol (RIP) is a standard for exchange of routing information among gateways and hosts. RIP is most useful as an “interior gateway protocol”.

The default RIP administrative distance is 120. RIP use hop count as the metrics to measure how trust-worthy a route is.

To configure RIP protocol on a router, use command “router rip”, followed by command “network“. The example address is an network address the router directly attached to, and the rip will advertize this address ( to its neighbors, so that they all know how to reach it.

To turn off automatic network summarization, a function we generally don’t want in real-world, use command “no auto-summarization”.

RIPv1 Timers

The Cisco implementation of RIP uses four timers:

  • Update

  • Invalid

  • Flush

  • Holddown

RIP sends its full routing table out all configured interfaces. The table is sent periodically as a broadcast ( to all hosts.

Update Timer

The update timer specifies the frequency of the periodic broadcasts. By default, the update timer is set to 30 seconds. Each route has a timeout value associated with it. The timeout gets reset every time the router receives a routing update containing the route.

Invalid Timer

When the timeout value expires, the route is marked as unreachable because it is marked invalid. The router marks the route invalid by setting the metric to 16. The route is retained in the routing table. By default, the invalid timer is 180 seconds, or six updates periods (30 x 6 = 180).

Flush Timer

A route entry marked as invalid is retained in the routing table until the flush timer expires. By default, the flush timer is 240 seconds, which is 60 seconds longer than the invalid timer.

Holddown Timer

Cisco implements an additional timer for RIP, the holddown timer. The holddown timer stabilizes routes by setting an allowed time for which routing information regarding different paths is suppressed. After the metric for a route entry changes, the router accepts no updates for the route until the holddown timer expires. By default, the holddown timer is 180 seconds.

With RIP, load balancing is performed over multiple paths that have equal cost.

To block RIP broadcasts on an interface connected to a subnet of a RIP-enabled network, use command “passive-interface“.

R1(config)#router rip
R1(config-router)#passive-interface Ethernet0

There are two types of RIP, RIP version 1 and RIP version 2. The command “version 1” or “version 2” set the RIP version to version 1 or version 2 respectively.

For example: we have a router dirctly attched to network address, we want to configure rip version 2 on this router, and also turn off the automatic summarization. We issue the following commands:

R1(config)#router rip
R1(config-router)#no auto-summarization
R1(config-router)#version 2

The default configuration for both versions of RIP is to send only RIP v1 routing updates and accept both RIP v1 and v2 routing updates.

There are several RIP debugging commands worth mention here.

R1#show ip protocols
R1#show ip route rip

By default, the rip update the routing table every 30 seconds. To force the routing table to update immediatly, use command:

R1#clear ip route *

It’s a good idea to gain information with debug command “debug ip rip”, but don’t forget to turn off the debug with command “undebug all”

R1#debug ip rip
R1#undebug all

Now, let’s spend sometime to compare RIP version 1 and 2.

RIP2 derives from RIP, which is an extension of the Routing Information Protocol (RIP) intended to expand the amount of useful information carried in the RIP messages and to add a measure of security. RIP2 is an UDP-based protocol. For detail, check RFC 2453.

RIP version 1 and RIP version 2 have similarities and differences.


  • Both use the Beliman-Ford algorithm. (OSPF uses SPF or Dijkstra algorithm, EIGRP uses DUAL)
  • Both are configured with “router rip”
  • Both send routing updates at fixed times
  • Both have a maximum hop-count of 15
  • Both use the same metric for route poisoning, that is, if the routes has a hop count greater than 15, it is “unreachable” with RIP routes.
  • Both versions can be verified/debugged with “show ip protocols” and “debug ip rip”


  • RIPv1 is a classful routing protocol, RIPv2 is classless protocol.
  • RIPv1 use broadcast to update the routing table, RIPv2 uses multicasts ( rather than broadcasts to
  • RIPv1 don’t support VLSM, RIPv2 supports VLSM
  • RIPv1 don’t support manual route summarization, RIPv2 support manual route summarization.
  • RIPv2 supports MD5 authentication for routing updates

Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

7 Responses to “Comparing RIP Versions 1 and 2”

RSS Feed for IT Certifications Comments RSS Feed

Very informative
Thanks very much


p0ta,…..! waa ko ganahi ..! wa ko ka xabot..

its very wrong dear your information about rip timer is wrong please update proper and correct information

[…] Static Routing Theory * Floating Static Routing * RIP Routing Theory * Video Lab -Static Routing and RIP […]

[…] xxxxx http// […]

Where's The Comment Form?

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: