- The Routing Information Protocol(RIP) is one of the oldest distance-vector routing protocols which employ the hop count as a routingmetric. RIP prevents routing loops by implementing limit on the number of hops allowed in a path from source to destination.
- Developed for smaller network.
- RIP uses UDP port 520 route updates.
- RIP calculate the route based on hope count.
- Open standard version RIP, sometimes referred to as IP RIP.
- The maximum number of hops allowed for RIP is 15.
- A hope count of 16 is considered an infinite distance and used to discourage inaccessible, inactive, or undesirable routes. Periodic-RIP uses a 30-sec update interval by default.
- Full updates- The routers send full updates every time instead of just sending new or changed routing information.
RIP Convergence:
- RIP takes some time to converge.
- While RIP requires less CPU power and RAM than some other routing protocols.
RIP Working:
- Router using RIP advertise information about each subnet to their neighbors.
- Their neighbors in turn advertise the information to their neighbors , and so on, until all routers have learned the information.
After IP Configuration:
R1:
- ROUTER(CONFIG)#ROUTER$RIP
- ROUTER(CONFIG-ROUTER)#NETWORK$NID(10.0.0.0)
- ROUTER(CONFIG-ROUTER)#NETWORK$50.0.0.0
R2
- ROUTER(CONFIG)#ROUTER$RIP (#VERSION$2- If we want to configure RIPv2) R2
- ROUTER(CONFIG-ROUTER)#NETWORK$NID(20.0.0.0)
- ROUTER(CONFIG-ROUTER)#NETWORK$50.0.0.0
- ROUTER(CONFIG-ROUTER)#NETWORK$60.0.0.0
R3
- ROUTER(CONFIG)#ROUTER$RIP
- ROUTER(CONFIG-ROUTER)#NETWORK$NID(60.0.0.0)
- ROUTER(CONFIG-ROUTER)#NETWORK$30.0.0.0
ROUTER#SHOW$IP$ROUTE (To show routing details with AD value and hop count)
ROUTER#SHOW$IP$PROTOCOLS (To see protocol info)