Routing Information Protocol (RIP)

This is one of the first protocols that implemented Distance vector routing algorithms. For the distance metric it just used the number of different routers it would have to go through. The messages each router sends are the routing table with each subnet, the next router it would go through and the distance to that network in terms of “hops”. This table is refereed to as the RIP table. Later iterations of RIP use address aggregation. To maintain connection with their neighbours they use a UDP message on port 520 if they don’t hear from neighbours every 180 seconds they will assume they are no longer available and change the RIP table then broadcast it to its neighbours. This algorithms has challenges with updating routes and the time that takes to converge due to the count to infinity problem.