What is a Dynamic Routing Protocol?
RIP/OSPF/IGP, told as a story about post offices trading news and redrawing their map themselves.
The road is blocked, but the map hasn't changed.The map still says the blocked road is just fine.
Nobody can hand-redraw the map every time.Road conditions keep changing — the map can't just sit still.
Post offices trade news and redraw the map themselves.RIP fixes the map by neighbors' rumor, OSPF by sharing the whole map — both are IGPs, rules inside one company.
RIP and OSPF differ in what they share, how they judge routes, how fast news spreads, and what network size suits them.RIP is simple but spreads news slowly; OSPF is fast and accurate but more complex than RIP.
Map news takes time to spread, and talking to another company needs a different rule.Even with automatic map updates, spreading news takes time — and IGP doesn't reach outside one's own organization.
A dynamic routing protocol is a set of rules by which post offices (routers) trade news and update the delivery map (routing table) themselves — RIP, OSPF, and other IGPs.
RIP (Routing Information Protocol) is a distance-vector protocol that propagates hop counts only to neighbors — simple but slow. OSPF (Open Shortest Path First) is a link-state protocol that shares the whole topology map and computes shortest paths — fast and scalable. Both are IGPs (Interior Gateway Protocols) used inside one organization (autonomous system); between organizations, a separate EGP like BGP is used instead.
When grown-ups say it
- Dynamic routing
- Post offices trading news and redrawing the map themselves. Static routing, by contrast, is redrawn by hand.
- RIP
- Spreading map news only to neighbors, by rumor. Judges distance by counting hops.
- OSPF
- Sharing the whole map with everyone. Computes the shortest path from link state.
- IGP
- A category of routing rules used only inside one organization. RIP and OSPF both belong to this category.
- Hop count
- The number of post offices a parcel passes through. The yardstick RIP uses to judge a route.
- Convergence
- All post offices' maps coming to agree. Until then, some maps are still out of date.
- IPv6
- The far longer new house-address system. The addresses on the routing map itself are moving to this system. → the new, nearly endless address system
- DNS
- The neighborhood address book. No map helps if the address itself is wrong. → the neighborhood address book