Routing information protocol
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. Routing information protocol (rip) is a dynamic routing protocol which uses hop count as a routing metric to find the best path between the source and the destination network. It is a distance vector routing protocol which has ad value 120 and works on the application layer of OSI model. the largest number of hops allowed for rip is 15, which limits the size of networks that rip can support. Rip implements the split horizon, route poisoning, and hold-down mechanisms to prevent incorrect routing information from being propagated.
In most networking environments, rip is not the preferred choice for routing as its time to converge and scalability is poor compared to eigrp, ospf, or is-is. However, it is easy to configure, because rip does not require any parameters, unlike other protocols. Rip uses the user datagram protocol (UDP) as its transport protocol and is assigned the reserved port number 520.
Routing information protocol (rip) is a protocol that routers can use to exchange network topology information. It is characterized as an interior gateway protocol and is typically used in small to medium-sized networks. A router running rip sends the contents of its routing table to each of its adjacent routers every 30 seconds. When a route is removed from the routing table, it is flagged as unusable by the receiving routers after 180 seconds, and removed from their tables after an additional 120 seconds
There are two versions of rip (the managed switch supports both):
Ripv1 defined in RFC 1058: Routes are specified by IP destination network and hop count, the routing table is broadcast to all stations on the attached network.
Ripv2 defined in RFC 1723: Route specification also includes subnet mask and gateway, the routing table is sent to a multicast address, reducing network traffic., authentication is used for security.In ripv1 routers broadcast updates with their routing table every 30 seconds. In the early deployments, routing tables were small enough that the traffic was not significant. As networks grew in size, however, it became evident there could be a massive traffic burst every 30 seconds, even if the routers had been initialized at random times.