Skip to content

Link-state Routing

Distribute local connectivity state so network nodes can calculate routes from a topology view.

Core Idea

Link-state routing has network nodes share descriptions of their local connectivity so each can calculate routes from the topology information it receives. The recurring pattern is local-link report → distribution within a routing scope → local path or next-hop calculation. OSPF is one protocol implementing it, not a synonym for the broader pattern.[1][2][3]

How would you explain it like I'm…

Everyone Draws the Map

Imagine a group of friends trying to find the best path through a big maze of hallways. Each friend tells everyone which doors are right next to them. Once everyone has heard all the reports, each friend draws their own map and picks the best way to go.

Share Your Links, Find Your Path

Link-state routing is a way for computers in a network to figure out the best paths for sending messages. Each computer, or router, tells the others about its own direct connections — who it is linked to. That information gets passed around the network. Then each router uses everything it has heard to work out its own routes. This is different from other methods where routers just pass along 'here's how far I think each place is.' After everyone has caught up on the latest news, their routes should agree, but while news is still spreading, mistakes can happen.

Link-State Route Computation

Link-state routing is a family of network routing methods. Each router describes its own local connections — its links or which neighbors it can reach — and this information is spread across a defined part of the network. Each router then calculates routes or next hops for every destination from the picture of the network it has built. This differs from distance-vector routing, where routers only pass along their neighbors' distance estimates. OSPF is a well-known example: routers flood their local state, keep a link-state database, and build shortest-path trees. IS-IS and OLSR are other examples that differ in their details, and the routes are only guaranteed to be loop-free after the network's information has settled down, or converged.

 

Link-state routing is a routing architecture in which participants originate descriptions of their local connectivity — links or neighbor reachability — within a defined routing scope, disseminate that information, and each independently compute destination routes or next hops from the topology view it has received. The distinctive move is distributing link state for local route calculation, as opposed to distance-vector schemes that pass on each neighbor's current destination-distance estimates. OSPF, documented in RFC 2328, is a canonical instance: routers flood local state, maintain an area-relevant link-state database, and construct shortest-path trees. IS-IS exchanges Level 1 and Level 2 link-state packets under different packet and domain rules, and OLSR uses selected multipoint relays to reduce flooding in mobile ad hoc networks, possibly computing routes from advertised links that omit some physical connections. What these share is the information architecture and route-computation role, not a single full-network map, packet format, hierarchy, or algorithm. Agreement claims are conditional: once compatible participants have sufficiently synchronized state and applied the protocol's rules, routes can be assessed for consistency; RFC 2328 describes loop-free routes only after a convergence period, so transient loops or drops while state is inconsistent are not ruled out.

Scope of Application

OSPFv2 floods link-state advertisements for IP routing and calculates per-router shortest-path trees, with areas limiting what topology is visible outside them. IS-IS uses Level ½ link-state packets under a different protocol scheme. OLSR adapts the pattern to mobile ad hoc networks, using multipoint relays and selected announced links to reduce control traffic. These are unlike network settings that retain the same information-and-calculation relation.[1][2][3]

Clarity

Do not say every router always has one complete map: information can differ during convergence, be hidden across OSPF areas, or be selected rather than exhaustive in OLSR. RFC 2328's loop-free route statement is expressly after convergence, not a guarantee during every update. A specific Dijkstra implementation, sequence-number format or area hierarchy is not mandatory for the broader identity.[1][3]

Manages Complexity

The abstraction separates five questions: who reports local links, how reports propagate, which state each calculator has, how it chooses routes, and what forwarding state results. This exposes whether a wrong route came from stale topology, missing information, calculation or installation. OSPF areas and OLSR relays illustrate different tradeoffs between detail and control traffic.[1][3]

Abstract Reasoning

Given a routing system, test whether participants distribute local-link state and compute routes from it. RIP-style distance-vector exchange instead sends destination distances to adjacent routers. Then state the scope and time of any correctness claim: synchronized information after convergence is different from asynchronous views during a failure update.[4][1]

Knowledge Transfer

The role pattern transfers across OSPF, IS-IS and OLSR; their packet formats, hierarchy, relay optimization and exact topology coverage do not. Live Routing is the proposed strict parent because all complete instances compute and maintain network routes for forwarding. The OSPF Wikipedia candidate remains a narrower protocol identity pending separate coverage/alias adjudication, and this staged draft changes no canonical DAG.[1][2][3]

Relationships to Other Abstractions

Local relationship map for Link-state RoutingParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Link-state RoutingDOMAINDomain-specific abstraction: Routing — is a kind ofRoutingDOMAIN

Current abstraction Link-state Routing Domain-specific

Parents (1) — outgoing typed relations

  • Link-state Routing is a kind of Routing Domain-specific

    Link-state routing is network routing with distributed local-link state and topology-derived route computation.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Link-state Routing sits in a sparse region of the domain-specific corpus (68th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Network Security Vulnerabilities & Trust (32 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] John Moy, RFC 2328, “OSPF Version 2” (1998), Abstract and §§1.1, 3, 13, 16. registry ↩a ↩b ↩c ↩d ↩e ↩f

[2] Ross Callon, RFC 1195, “Use of OSI IS-IS for Routing in TCP/IP and Dual Environments” (1990), §§3.10, 5.1 and route-calculation clauses. registry ↩a ↩b ↩c

[3] Thomas Clausen and Philippe Jacquet, RFC 3626, “Optimized Link State Routing Protocol (OLSR)” (2003), §§1, 3, 8, 10. registry ↩a ↩b ↩c ↩d ↩e

[4] Gary Malkin, RFC 2453, “RIP Version 2” (1998), §3.4. registry ↩