https://www.techtarget.com/searchnetworking/definition/Routing-Information-Protocol
Routing Information Protocol (RIP) is a distance vector protocol that uses hop count as its primary metric. RIP defines how routers should share information when moving traffic among an interconnected group of local area networks.
RIP was originally designed for the Xerox PARC Universal Packet protocol suite and was known as Gateway Information Protocol in the Xerox Network Systems protocol suite in 1981. RIP -- defined in Request for Comments 1058 in 1988 -- is easy to configure and easy to use in small networks.
Open Shortest Path First routing has replaced RIP as the most widely used interior gateway protocol in the enterprise. This is mainly due to its simplicity and inability to scale to large, complex networks. In contrast, Border Gateway Protocol (BGP) is a path vector routing protocol used to transfer routing information across autonomous systems on the internet.
RIP uses a distance vector algorithm to decide which path to put a packet on so it arrives at its destination. Each RIP router maintains a routing table listing all the destinations the router knows how to reach and broadcasts it to its closest neighbors every 30 seconds. In this context, neighbors are the other routers that the first router connects directly to. This only includes the other routers on the same network segments as the selected router. The neighbors, in turn, pass the information on to their nearest neighbors, and so on, until all RIP hosts within the network have the same knowledge of routing paths. This shared knowledge is known as convergence.
If a router receives an update on a route and the new path is shorter, it updates its table entry with the shorter path's length and next-hop address. If the new path is longer, it waits through a hold-down period to see if later updates also reflect the higher value. It only updates the table entry if it determines the new, longer path is stable.
If a router crashes or something severs the network connection, the router stops sending and receiving updates to or from its neighbors or along the severed connection. If a given route in the routing table isn't updated across six successive update cycles -- 180 seconds -- a RIP router drops that route and notifies the rest of the network about the problem through its own periodic updates.
RIP only supports 15 hops in a path. By default, a router has one hop if its neighbor owns a destination network and can deliver packets directly without using other routers. Network management terminology describes this as a cost of one. If a packet can't reach a destination in 15 hops, it's considered unreachable.
RIP uses a modified hop count to determine network distance. A modified hop count reflects how network engineers can assign paths a higher cost -- as if they involved extra hops -- if they want to limit or discourage their use. For example, they might assign a satellite backup link a cost of 10 hops to force traffic to follow other routes when available.
Three versions of Routing Information Protocol exist:
Once the involved computers and router interfaces have assigned IP addresses, developers can issue the router RIP command, which tells the router to enable RIP. Then, developers can use the network command, enabling users to identify the networks they want to work with. They only need to specify the networks directly associated with the router.
Users can also configure any port to perform the following actions:
RIP timers help regulate performance. They include the following:
Poison reverse is another stability feature that assists with routing loops. A poison reverse is a way for a gateway node to tell its neighbor gateways that one of the gateways is no longer connected. The notifying gateway sets the number of hops to the unconnected gateway to 16, a number that indicates the hops are infinite. This tells the neighboring gateways that packets can't get there.
Advantages of RIP include the following:
Disadvantages of RIP include the following:
Users might encounter various limitations while using RIP. For example, RIP increases network traffic due to the checks and updates it performs on neighboring routers every 30 seconds. Furthermore, because RIP only updates neighboring routers, it might forget updates for non-neighboring routers because the information isn't immediately accessible.
Another limitation is the enforcement of the maximum hop count of 15. As a result, it might be hard to access or reach remote routers in large networks. Furthermore, the closest path might not be the shortest path because RIP doesn't consider certain factors when calculating the shortest route.
06 May 2025