The Routing Information Protocol (RIP) is one of the oldest distance-vector routing protocols which employ the hop count as a routing metric. RIP prevents routing loops by implementing a limit on the number of hops allowed in a path from source to destination.
RIP is a relatively old but still commonly used interior gateway protocol created for use in small, homogeneous networks.
RIP uses broadcast User Datagram Protocol (UDP) data packets to exchange routing information. This RIP routing protocol updates routing in every 30 seconds to active interface, which is termed advertising. If a router does not receive an update from another router for 180 seconds or more, it marks the routes served by the non updating router as being unusable. If there is still no update after 240 seconds, the router removes all routing table entries for the non updating router.
RIP sends updates to the interfaces in the specified networks. If the network of an interface network is not specified, it will not be advertised in any RIP update.
RIP Version 2 supports authentication, key management, route summarization, CIDR, and VLSMs.
In One sentence RIPv1 is a classful routing protocol but RIP v2 is a classless routing protocol.
(This information is enough for CCNA. For more information go to http://www.9tut.com/rip-routing-protocol-tutorial. There is no any LAB of RIP in CCNA Exam).
***R0***
Router#
Router#conf t
Router(config)#router rip
Router(config-router)#ver
Router(config-router)#version 2
Router(config-router)#network 1.1.1.0
Router(config-router)#exit
Router(config)#exit
Router#
***R1***
Router#
Router#conf t
Router(config)#router rip
Router(config-router)#ver
Router(config-router)#version 2
Router(config-router)#network 1.1.1.0
Router(config-router)#exit
Router(config)#exit
Router#
</div>