Introduction to Routing Information Protocol (RIP)


Tech Talk

Introduction to Routing Information Protocol (RIP)

RIP (Routing Information Protocol) is a forceful protocol type used in local area networks and wide area networks which employ the hop count as a routing metric. RIP sends the complete routing table out to all active interfaces every 30 seconds.  It uses broadcast to share routing information. It is characterized as an interior gateway protocol. Routers running RIP protocol periodically broadcast the configured networks from all ports. IP RIP (Routing Information Protocol) comes in two different versions: 1 and 2. Version 1 is a distance vector protocol (RFC 1058) and Version 2 is a hybrid protocol.

What is Border Gateway Protocol?

is a standardized exterior gateway protocol exchange routing and reachability information between autonomous systems (AS).

What is a rip in dynamic routing?

It allows a router to exchange its routing information automatically with other routers,

Routing by rumor

RIP’s typical operation uses two types of packets: request packets and response packets. When a RIP-enabled router is first started, the router sends request packets out all RIP interfaces to the broadcast address All RIP packets, whether they are request or response packets, use UDP (port 520) as the Transport layer protocol. All RIP-enabled routers will respond to the request packets by sending response packets.

Response packets contain the contents of each router’s routing table. The response packet can contain up to 25 routes. Response packets are only received by directly connected routers and are not forwarded. Since each router only speaks to its neighbors, we say that RIP routes by rumor. Networks are learned only from neighbors, not necessarily from the router that is directly connected to the network. Each route sent in response packets includes the network address and the metric associated with the network address.