RIP
IP (Routing Information Protocol) is a dynamic routing protocol used by routers to automatically
share routing information and determine the best path to a destination [Link] of
configuring routes manually, routers running RIP learn routes from each other.
Type of Routing Protocol
RIP is a:
Distance Vector routing protocol
Uses hop count as its metric
Part of the Interior Gateway Protocols (IGP)
Metric Used by RIP
RIP uses hop count to measure distance.
1 hop = passing through one router
The maximum hop count is 15
16 hops = unreachable network
Example:
If a network is reached through 3 routers → hop count = 3
How RIP Works
Each router sends its routing table to neighboring routers.
Updates are sent every 30 seconds.
Routers compare routes and select the one with the lowest hop count.
Routing tables are updated automatically.
This process continues repeatedly.
Versions of RIP
RIP Version 1 (RIPv1)
Classful routing protocol
Does NOT support subnet masks
Does NOT support VLSM
Sends updates using broadcast
Less secure
RIP Version 2 (RIPv2)
Classless routing protocol
Supports subnet masks and VLSM
Sends updates using multicast ([Link])
Supports authentication
More efficient than RIPv1
Syntax
Router(config)# router rip
Router(config-router)# version 2
Router(config-router)# no auto-summary
Router(config-router)# network [Link]
Router(config-router)# network [Link]
Advantages of RIP
Easy to configure
Good for small networks
Low CPU and memory usage
Simple for learning routing concepts
Disadvantages of RIP
Slow convergence
Maximum of 15 hops
Not suitable for large networks
Sends updates frequently (every 30 seconds)
When to Use RIP
RIP is best used in:
Small networks
Lab environments
Learning and teaching routing fundamentals