EIGRP Basics: Neighbors, the Metric, and DUAL

EIGRP Basics: Neighbors, the Metric, and DUAL

EIGRP is Cisco’s advanced distance-vector protocol — often called a hybrid, because it carries the fast, loop-free convergence people associate with link-state while never building a full topology map the way OSPF does. A router runs it per autonomous system number, forms neighbor adjacencies, and feeds everything it learns through one algorithm — DUAL — that is the real reason to study EIGRP. This walk-through starts at hellos and metrics and ends where experts actually live: the feasibility condition, the active process, and query scoping.

1. How the pieces fit

EIGRP is built from four cooperating parts: Protocol-Dependent Modules (one per address family — IPv4, IPv6), Neighbor Discovery over Hello packets, the Reliable Transport Protocol (RTP) that guarantees ordered delivery of updates, and DUAL, the diffusing-update algorithm that picks loop-free paths. Routes learned from neighbors land in the topology table; DUAL selects the best, and only those are pushed into the routing table (RIB).

EIGRP architectureNET BY MENeighbor DiscoveryHello / hold timeRTPreliable, ordered updatesDUALdiffusing update algorithmTopology tableRIB (routing table)best onlyPDM per address family wraps all of this (IPv4 / IPv6)

2. Neighbors before routes

Nothing is exchanged until two routers become neighbors. Hellos go to multicast 224.0.0.10 every 5 s on most links (60 s on low-speed NBMA), and a neighbor is declared dead after the hold time (3× hello by default) with no Hello. Two gotchas decide whether the adjacency ever forms: the K-values must match, and the routers must share a subnet with matching AS number. Authentication and primary/secondary address mismatches silently block it too.

EIGRP neighbor formationNET BY MER1R2Hello -> 224.0.0.10 (every 5s)Hello -> 224.0.0.10 (every 5s)Must match: AS, K-values, subnet, auth

3. The composite metric

EIGRP does not use hop count. By default it weighs minimum bandwidth along the path and cumulative delay, combined through the K-values. With the defaults (K1=1, K3=1, K2=K4=K5=0) the classic metric is a scaled sum of a bandwidth term and a delay term. Load and reliability are available (K2, K4, K5) but left off on purpose — they make the metric change with traffic and destabilise DUAL.

EIGRP composite metricNET BY MEmetric = 256 x ( 10^7 / min_bandwidth_kbps + sum_delay_usec / 10 )Bandwidth termuses the SLOWEST link on the path(a bottleneck caps the whole route)Delay termADDS the delay of every hop(tune delay, not bandwidth, to steer)

Expert note: change interface delay, not bandwidth, to influence path selection — bandwidth is read by QoS and other features, so editing it has side effects. Named-mode EIGRP adds a 64-bit wide metric (throughput + latency) so links above ~1 Gbps no longer all collapse to the same value, but the FD/FS logic below is identical.

4. DUAL vocabulary — FD, RD, successor

Everything DUAL does rests on three terms. Reported Distance (RD), also called Advertised Distance, is a neighbor’s own metric to the destination. Feasible Distance (FD) is my lowest-ever metric to that destination. The successor is the neighbor on the least-metric path — the one installed in the RIB.

DUAL: successor selectionNET BY MER1R2R3NET Xcost 10cost 25R2 RD = 20R3 RD = 15Via R2: FD = 10+20 = 30 (SUCCESSOR) · Via R3: 25+15 = 40

5. The feasibility condition — loop-free backups

A feasible successor (FS) is a backup next-hop DUAL can switch to instantly, with no recomputation, because it is guaranteed loop-free. The guarantee is one inequality — the Feasibility Condition: a neighbor qualifies only if its RD is strictly less than my current FD. That proves the neighbor’s path does not loop back through me, since its own distance is already shorter than my best.

EIGRP feasibility conditionNET BY MEFeasibility Condition: neighbor RD < my FD -> feasible successorR3 via example aboveRD 15 < FD 30 -> PASSESinstalled as feasible successor (hot backup)a neighbor with RD 35RD 35 >= FD 30 -> FAILSnot usable, even if its path is loop-free

Expert note: the FC is deliberately conservative — it can reject a perfectly good loop-free backup (the RD-35 case) because the test is sufficient, not necessary. When no FS exists, DUAL cannot shortcut, and the route must go active.

6. Passive, active, and SIA

A route with a valid successor is passive — the steady state. Lose the successor with a feasible successor waiting, and the switch is immediate, still passive. Lose it with no FS, and the route goes active: the router sends queries to every neighbor and cannot use the route until all replies return. If a reply never comes back within the active timer (default 3 minutes), the route is Stuck-In-Active (SIA) and the neighbor is torn down.

EIGRP active process and queriesNET BY MER1ACTIVER2R3R4QUERYQUERYquery floods onwardREPLYNo reply within active timer (default 3 min) -> Stuck-In-Active, neighbor reset

7. Variance — unequal-cost load balancing

Unlike most IGPs, EIGRP can load-balance over paths of different cost. Set variance N and DUAL installs every feasible-successor path whose metric is below N × FD. The feasibility condition still gates it — a path that fails FC is never used, no matter how low the variance multiplier makes the threshold. Traffic is shared in inverse proportion to metric.

EIGRP varianceNET BY MEinstall path if: metric < variance x FD AND path is a feasible successorSuccessor FD = 30always installedFS metric 40variance 2 -> 40 < 60 : installedpath metric 7070 > 60 : excluded

8. Summarization, stub, and query scope

EIGRP queries are the scaling risk: a large query domain means slow, SIA-prone convergence. Two tools bound it. Manual summarization at a boundary stops a query at the summarizing router — it answers for the whole block and installs a Null0 discard route for the summary. Stub routers tell neighbors not to query them at all; a stub advertises only its connected and summary routes and is skipped during the diffusing computation — ideal for spokes and access switches.

EIGRP query scoping: summary and stubNET BY MEDistribution (summarizes)query stops here · Null0 for summarySpoke (STUB)never queriedSpoke (STUB)never queriedSpoke (STUB)never queried

Takeaways

EIGRP’s whole personality is DUAL: a metric to rank paths, a feasible distance to remember the best, and one inequality — RD < FD — that turns a backup into an instant, loop-free switch. When that inequality fails, the protocol pays for it with queries, and everything operational about EIGRP — stub design, summarization, SIA troubleshooting — is about keeping those queries small.

Generic, vendor-neutral fundamentals from my own study and lab work. No client- or employer-specific configuration.

Mokrane ASSAM

Comments are closed.