Routing Information Protocol (RIP) (original) (raw)

Last Updated : 15 Jan, 2026

The Routing Information Protocol (RIP) is designed to help routers determine the best path for sending data packets across a network. It uses hop count as its routing metric and is primarily used in small to medium-sized networks due to its scalability limitations.

**Note: RIP supports a maximum hop count of 15, which limits its use in larger networks. A hop count of 16 is considered unreachable.

**Hop Count

Hop count is a routing metric that represents the total number of routers a data packet must pass through to travel from the source device to the destination device.

Features of RIP

How RIP Works

Routing Information Protocol (RIP) is a distance-vector routing protocol that determines the best path to a destination network based on hop count.

Types of RIP Versions

Feature RIPv1 (1988) RIPv2 (1993) RIPng (1997) for IPv6
Updates sent via Broadcast (255.255.255.255) Multicast (224.0.0.9) Multicast (FF02::9)
Addressing Classful (no subnet info) Classless (includes subnet mask) Classless (IPv6 only)
Authentication Not supported Supported Supported
IP version supported IPv4 only IPv4 only IPv6 only

RIP Timers

**Note: Adjustable using the timers basic command.

RIP Configuration Example

Consider three routers (R1, R2, R3) connected in a network. Configuration on each router:

420046722

RIP Configuration

For R1

R2(config)# router rip
R2(config-router)# version 2
R2(config-router)# no auto-summary
R2(config-router)# network 192.168.10.0
R2(config-router)# network 172.16.10.0

For R2

R2(config)# router rip
R2(config-router)# version 2
R2(config-router)# no auto-summary
R2(config-router)# network 192.168.10.0
R2(config-router)# network 172.16.10.0

For R3

R3(config)# router rip
R3(config-router)# version 2
R3(config-router)# no auto-summary
R3(config-router)# network 10.10.10.0
R3(config-router)# network 172.16.10.0
R3(config-router)# network 172.16.10.4

Useful Commands

Where is RIP Used?