RIP (Routing Information Protocol) is a widely used protocol for managing router information within a self-contained network such as a corporate local area network or an interconnected group of such LANs. is classified by the IETF (Internet Engineering Task Force) as one of several internal gateway protocols.
RIP sends routing-update messages at regular intervals and when the network topology changes. When a router receives a routing update that includes changes to an entry, it updates its routing table to reflect the new route. The metric value for the path is increased by 1, and the sender is indicated as the next hop. RIP routers maintain only the best route (the route with the lowest metric value) to a destination. After updating its routing table, the router immediately begins transmitting routing updates to inform other network routers about the change. These updates are sent independently of the regularly scheduled updates that RIP routers send. RIP uses a hop count to determine network distance. Each host with a router in the network uses the routing table information to determine the next host to route a packet for a specified destination.