Skip to content

Routing Loop

A destination-specific cycle in installed router next hops that permits a packet to revisit a router instead of reaching its destination.

Version
v1 · 2026-10-17 · History
Domain-specific #
14282
Domain group
Applied Sciences & Engineering
Origin domain
Computer Science & Software Engineering
Subdomain
Network Routing → Computer Science & Software Engineering
Aliases
Forwarding loop

Core Idea

A routing loop is a cycle in the forwarding choices installed for one destination or prefix. Following the chosen next hop from router to router eventually returns to a router already visited, so a packet for that destination can revisit it instead of reaching the destination. The loop can be identified from the forwarding entries even without an observed packet trace. An individual packet may stop when its hop limit expires, while the entries causing the loop remain.[1][2][3]

How would you explain it like I'm…

Signs That Point in a Circle

Imagine signs at street corners that are supposed to point you toward the park. But the first sign points to a second corner, the second points to a third, and the third points back to the first. The signs make a circle, so anyone following them could go around and around. That's a routing loop, and you can spot it just by reading the signs.

When Network Paths Go in Circles

On a network, routers pass data packets along by sending each one to a 'next hop', the next router on the way to its destination. A routing loop happens when, for some destination, router A sends packets to B, B sends them to C, and C sends them back to A. The packets could then go around in a circle instead of reaching the destination. You can find a loop just by checking where each router is set to send things, even before a packet gets stuck. A limit on how many hops a packet can take may stop a packet, but it doesn't fix the loop.

Next-Hop Cycles in Forwarding State

A routing loop exists when, for a particular destination, the forwarding choices installed in routers form a cycle. One router's next hop points to another router whose choice eventually points back to a router already visited, rather than toward the destination. That means a packet following those choices can come back to the same router. You can identify the loop from the routers' forwarding state alone; seeing a packet go around is evidence, but not required. A loop is specific to one destination at one moment, and it doesn't depend on a particular routing protocol, a link failure, how long it lasts, or packets circling until they're discarded. A hop limit (time-to-live) can stop a packet without changing the next-hop choices that caused the loop.

 

A routing loop exists when the installed forwarding choices for a given destination or prefix send a packet through a directed cycle of routers: each router's chosen next hop leads to another router whose choice eventually points back to one already visited, rather than onward to the destination. The operational consequence is that a packet following those choices can revisit a router. The loop is a property of the forwarding state and can be identified from it before any specific packet is captured; an observed packet trace is useful evidence but not definitional. The cycle is specific to the destination and the moment examined. Its identity does not require any particular routing protocol, an initiating link failure, a fixed duration, or repeated circulation until the packet disappears. Time-to-live or hop-limit expiry can terminate a packet without altering the installed next hops that constitute the loop.

Scope of Application

Use the test where installed router next hops can be traced for one destination or prefix. These are the two source-backed settings here; another setting needs its own forwarding-state evidence:

  • RIP routing: RFC 2453 gives a possible A→B→C→A route cycle for one destination.[1]
  • Link-state convergence: RFC 8333 gives a conditional S→B→S microloop after an S–D link failure, if S updates its next hop before B does.[2]

Clarity

Hold the destination and time fixed, then inspect the installed next hop at each router. Physical links forming a ring do not establish a routing loop; the installed choices might follow an acyclic route. Advertised or computed routes alone also do not prove which forwarding entries were in effect. A cycle assembled from choices for different destinations is not one packet's routing loop. The cited RFC patterns are worked cases, not reports of observed outages or packet traces; another delivery failure needs its own forwarding-state evidence.[1][2][3]

Manages Complexity

The useful ledger is one destination → installed next-hop relation → cyclic closure → possible packet revisit. It separates recognition of the loop from the protocol details explaining how it formed. Split horizon and count-to-infinity matter in the RIP case, while update ordering matters in the link-state example. Those mechanisms are not requirements for every routing loop.[1][2]

Abstract Reasoning

Starting at a router, follow its installed next hop for a fixed destination, then repeat at the next router. Reaching the destination or leaving the examined path without repetition does not demonstrate a loop. Revisiting a router before arrival identifies the closed segment. In RFC 8333's worked state, S→B paired with B→S closes that relation; if B has already changed its entry away from S, that particular loop is absent.[2]

Knowledge Transfer

The same four-role test applies to the RIP and link-state cases despite their different route-update mechanisms. The prerequisite Relation is the destination-specific association between routers established by installed next-hop entries; composing it reveals a return path. An acyclic relation can exist without a routing loop. Generic Cycle shares closure, but the live Prime's additional commitments are not established by these routing examples. A cyclic project dependency may be a cycle without being a routing loop.[1][2]

Relationships to Other Abstractions

Local relationship map for Routing LoopParents 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.Routing LoopDOMAINPrime abstraction: Relation — presupposesRelationPRIME

Current abstraction Routing Loop Domain-specific

Parents (1) — outgoing typed relations

  • Routing Loop presupposes Relation Prime

    A routing loop presupposes a destination-specific installed next-hop relation whose composition closes back to a router.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

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

Family — Unclustered & Miscellaneous (3155 abstractions)

Nearest neighbors

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

References

[1] Gary Malkin, RFC 2453, “RIP Version 2” (1998), especially §3.4.4. Official Standards Track RFC; its three-router loop is a possible route pattern, not an observed incident. registry ↩a ↩b ↩c ↩d ↩e

[2] Stéphane Litkowski, Bruno Decraene, Clarence Filsfils, and Pierre Francois, “Micro-loop Prevention by Introducing a Local Convergence Delay,” RFC 8333 (2018), especially §1 Figure 1 and §6. https://www.rfc-editor.org/rfc/rfc8333.html. Official RFC; the S/B loop is conditional on forwarding update order. registry ↩a ↩b ↩c ↩d ↩e ↩f

[3] Mike Shand and Stewart Bryant, “A Framework for Loop-Free Convergence,” RFC 5715 (2010), especially §2. https://www.rfc-editor.org/rfc/rfc5715.html. Official Informational RFC; its discussion of transient microloops does not make every routing loop transient. registry ↩a ↩b