RIP: Routers Count Hops, Not Seconds
Routing Information Protocol, or RIP, gives routers rules for telling neighboring routers which networks they can reach. A router directs data between networks. RIP helps it learn which neighbor to send data to next, using a distance measure rather than a live speed test.
That is the distinction at the center of RIP. It shares information used to choose routes; the user's traffic then follows those choices. A route with a smaller distance can win even when another route would carry a particular transfer faster.
What one router learns from another
RIP uses a distance-vector approach. The “distance” is a route's cost, normally counted in hops, or steps along the route. The “vector” is the direction to take: the neighboring router through which the destination can be reached.
A router doesn't need a complete drawing of every connection to make that choice. It receives reports of destinations and costs from neighbors and uses them to build its routing table, the information consulted when choosing where to forward data.
For a simplified example, suppose a neighbor advertises that a destination has a cost of two. The receiving router normally adds one for the additional step through that neighbor, producing a cost of three. It can compare that with information about other available routes.
How Routers Learn the Way on Their Own
The report says whether the destination can be reached and gives its routing cost. It doesn't measure how many seconds a page will take to load.
Imagine two otherwise eligible routes to the same destination. One has a hop count of three but includes a slow connection. The other has a hop count of four and faster connections. RIP's normal hop-count comparison favors the three-hop route. Its metric, the number used to compare routes, doesn't describe that speed difference.
The RIP version 2 specification explains this limit of fixed metrics: they don't measure changing delay or traffic load. “Shortest” in this context means lowest routing cost, not necessarily quickest delivery.
Why sixteen means stop
RIP's largest usable metric is 15. The value 16 means the destination is unreachable through that route.
The network can contain more routers, but RIP cannot represent a route with a metric beyond 15 as usable. Once the metric reaches 16, it treats that route as unavailable.
A deliberately small definition of “infinity” also matters when route information goes wrong. If routers keep repeating stale information about a destination, a cost can rise step by step until it reaches the unreachable value. A smaller limit bounds that particular counting problem, while also limiting the network distances the protocol can accommodate.
- Get five gigabit ports and a fast ARM processor for the price of a basic home router.
- Practice real routing at your desk on gear that network pros also deploy.
- Tuck it beside your modem: it takes up almost no room.
A lost connection can take time to become shared knowledge
Routers don't all learn about a change at exactly the same moment. After a connection fails, one router may still advertise a route based on older information. Neighbors can temporarily make inconsistent forwarding decisions, including sending traffic around a loop.
RIP includes mechanisms that reduce particular problems. Split horizon avoids advertising a learned route back in the direction it came from. Poisoned reverse reports that route back as unreachable instead. Triggered updates send changed information without waiting for the next routine update.
These mechanisms help the routers reach convergence, the state in which their routing information has settled after a change. They don't guarantee that every possible loop is prevented or that the network changes its view instantly.
The versions speak different address formats
RIPv1 and RIPv2 use IPv4, one version of the Internet Protocol, the rules used for addressing and delivering this traffic. RIPv2 adds subnet masks, information identifying which part of an address describes the destination network. RIPv1 lacked that field.
For IPv6, another version with a different address format, RIPng adapts the distance-vector approach. These are interior routing protocols: they share routes within a network under one administration, rather than supplying one routing system for the entire internet.
Distance-Vector Routing: How Routers Learn the Way

Split Horizon: Why Routers Don’t Echo Every Route

Poison Reverse: How Routers Reject a False Backup Route

QUOTE:
"Amateurs hack systems, professionals hack people."
