Distance Vector Protocols
100%

Routing · Lesson 5

Distance Vector Protocols

Learn how distance-vector protocols derive routes from neighbor advertisements and limit loops.

Distance-vector routing tells neighbors which destinations are reachable and a metric describing the distance. A router combines a neighbor's advertisement with the cost to that neighbor to derive its own candidate path.

Learning Through Neighbors

If Router A advertises a distance of three to a prefix and Router B reaches A with cost one, B can derive distance four through A. The information describes a direction and metric, not a complete topology map, which is why the approach is sometimes called routing by rumor.

If a neighbor advertises metric 3 and the link cost is 1, what metric is derived through it?

Loops and Count to Infinity

After a failure, neighbors can mistakenly advertise a route back to each other, gradually increasing its metric. Protocols mitigate this with finite infinity values, split horizon, route poisoning, poison reverse, triggered updates, and timers. These mechanisms reduce but do not turn every topology change into instantaneous convergence.

What is split horizon intended to reduce?

RIP Metrics and Limits

RIP uses hop count. A route with metric 16 is unreachable, so the largest usable metric is 15. That bounds loop escalation but also limits network diameter. Fewer hops do not necessarily mean lower latency or more bandwidth.

RIPv2 uses periodic and triggered updates and supports CIDR information. It commonly multicasts updates rather than broadcasting an entire table in every circumstance. Authentication and filtering still require deliberate configuration.

What does RIP metric 16 represent?

Evaluating a Learned Route

Check neighbor state, received and advertised prefixes, metric, next hop, route installation, and data-plane reachability. A route can be valid within RIP but lose to another route source under local preference policy.

Why can RIP's lowest-hop route perform poorly?

Lesson complete

You finished Distance Vector Protocols

You can now explain both the simplicity and limitations of distance-vector routing.

  • Derive candidate distance from a neighbor's advertisement.

  • Recognize loop and count-to-infinity behavior.

  • Explain RIP's 15-hop usable limit and metric 16.

  • Verify route installation and data-plane outcome separately.

Keep your learning progress

Create a free account to save this lesson and continue learning on any device.

Create a free account
Next Lesson
Back to Routing