RIP Metric Hope Count and Hop Count Calculation

RIP (Routing Information Protocol) uses hop count as its metric value.

Hop count is the number of routers (number of hops) from the source router through which data must pass to reach the destination network.

RIP Hop Count Lab

In above lab topology, is the Source Network router and is the Destination Network router. From Source Network Router, an IP datagram must hop three routers to reach the Destination Network, which are,, and

Below show command "show ip route" output (from shows the metric of RIP (Hop count) as 3. ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

C is directly connected, Loopback0
R [120/3] via, 00:00:06, Serial1/0
C is directly connected, Serial1/0
R [120/1] via, 00:00:06, Serial1/0
R [120/2] via, 00:00:06, Serial1/0

From above output, [120/3] shows 120 is the default Administrative Distance of RIP (Routing Information Protocol) and 3 is the metric (Hop Count) of RIP (Routing Information Protocol) for above topology.

RIP (Routing Information Protocol) selects the best path to a Destination Network based only on the number of hops to the destination network.  If you have multiple paths with different bandwidth to the destination network, then RIP’s best path calculation may become wrong.


Related Tutorials
• Introduction to Distance Vector Routing Protocols
• Introduction to Routing Information Protocol (RIP)
• Difference between RIPv1 and RIPv2
• How to configure Routing Information Protocol (RIP)
• Auto Summarization in RIP
• RIP Authentication, RIPv2 Authentication, RIP Authentication Keychain Configuration