NET · Series · EIGRP, in context · Part 1 of 3

EIGRP: from IGRP and DUAL to RFC 7868, wide metrics and named mode

Why Cisco built IGRP, what DUAL brought, how Enhanced IGRP was born in 1993, what changed with RFC 7868, why wide metrics and named mode arrived, and how EIGRP runs on IPv6. The context before the EIGRP Masterclass.

EIGRP timeline from 1987 to 2016: IGRP (1987), Enhanced IGRP with DUAL announced (1993), draft-savage-eigrp (2013) and RFC 7868 (2016)
Illustration: The House of Routing

If you have ever typed router eigrp 100, you used a protocol whose story starts in 1987. EIGRP, the Enhanced Interior Gateway Routing Protocol, wasn’t born in an IETF working group. It was born at Cisco as the improved version of IGRP, and for about 20 years it ran only on Cisco routers.

In this three-part series I give you the context before the THoR EIGRP Masterclass. Today we go from point A, an IGRP that freezes routes for minutes to avoid loops, to point B: an EIGRP with DUAL, documented in RFC 7868, with 64-bit metrics, named mode and IPv6. I checked every date against the RFC Editor, the IETF or Cisco documents.

Why did Cisco build IGRP?

According to a Cisco press release from May 1993, the company developed IGRP, the Interior Gateway Routing Protocol, in 1987. The tech note “An Introduction to IGRP” explains why. RIP describes every path with a number from 1 to 15, so it can’t tell a slow serial line from an Ethernet.

Cisco concluded that a 24-bit metric was needed to represent every speed and large networks. Simply widening RIP’s metric wouldn’t work: with counting to infinity, a loop would last until it counted up to 2 to the 24th power. IGRP brought four ideas:

  • A composite metric. It combines delay, bandwidth, reliability and load into a single number. It also carries hop count and MTU, but doesn’t use them in the metric.
  • Periodic updates. Each router sends its table to its neighbors every 90 seconds by default.
  • Holddowns. To avoid loops, IGRP ignores new information for a few minutes after certain changes.
  • Variance. You define a factor V, and the router uses in parallel every path with a metric lower than V × M, where M is the best one. Yes: EIGRP’s unequal-cost load balancing comes from IGRP.

IGRP was still distance vector. Cisco admitted it: an SPF protocol, with data from the whole network, can act on new information immediately.

What did DUAL bring?

The piece that turned IGRP into EIGRP came from outside Cisco. DUAL, the Diffusing Update Algorithm, is the work of J. J. Garcia-Luna-Aceves, a researcher at SRI International. RFC 7868 cites two of his papers: one from SIGCOMM in 1989 and “Loop-Free Routing Using Diffusing Computations,” published in 1993 in IEEE/ACM Transactions on Networking.

DUAL keeps routes loop-free at every instant of the computation. Here’s how it works:

  1. Each router stores in its topology table the reported distance each neighbor advertises.
  2. With the feasibility condition, it checks which neighbors offer a loop-free path.
  3. If the best path fails and there is a feasible successor, it uses it without asking anyone.
  4. If there isn’t one, the route goes Active and the router sends a Query to its neighbors. The computation ends when every Reply arrives.

The RFC sums it up in one sentence: routers not affected by the change are not involved in the recalculation.

Cisco’s EIGRP tech note shows the difference with RIP. If the primary path fails, a RIP router waits for the route to time out (90 seconds) and for another neighbor to advertise it (every 30 seconds). Not counting holddown, it takes 90 to 120 seconds to switch paths. EIGRP doesn’t throw away what its neighbors advertise: it looks for an alternative in its topology table and, if it finds none, it asks.

How did Cisco introduce Enhanced IGRP?

On May 11, 1993, Cisco announced plans to enhance three protocols: OSPF, IS-IS and IGRP. The press release promised Enhanced IGRP for mid-1994 and presented it as the best of two worlds:

  • From distance vector, ease of use and scalability.
  • From link state, like OSPF and Integrated IS-IS, fast convergence and variable-length subnet masks (VLSM).

Cisco described it as the first commercial implementation of Garcia-Luna’s algorithm. The context matters too: that year, the largest IGRP networks were expected to top 1,000 routers each.

Compatibility with IGRP was an explicit promise. RFC 7868 explains how it was kept: EIGRP uses the same composite metric as IGRP, multiplied by 256, to go from 24 to 32 bits. That’s why the classic formula starts with 256 *.

What changed when EIGRP became an RFC?

For about 20 years, EIGRP was proprietary: only Cisco implemented it. According to Boson’s training blog, in February 2013 Cisco announced at Cisco Live London that it would publish EIGRP as an informational RFC. The draft-savage-eigrp-00 draft is dated February 18, 2013.

The result was RFC 7868, “Cisco’s Enhanced Interior Gateway Routing Protocol (EIGRP),” from May 2016. Notice three details:

  • It’s informational, not a standard. It came through the RFC Editor’s Independent Submission stream, not through an IETF working group. The RFC itself states it isn’t a candidate for any level of Internet Standard.
  • Its authors come from several places. Cisco, Cumulus Networks, the University of Žilina and LinkedIn.
  • It doesn’t include everything. Boson noted in 2013 that advanced features such as EIGRP stub would stay on Cisco products only. RFC 7868 doesn’t describe stub routing.

The RFC pins down what you see in a capture: IP protocol 88, multicast 224.0.0.10 in IPv4 and FF02::A in IPv6, five packet types, and MD5 or SHA2 authentication. Its acknowledgments credit two open-source implementations: one for Linux, by the Quagga team, and one for BSD, by Renato Westphal.

A detail with a taste of history: in the field that identifies the source protocol of an external route, value 1 is still IGRP.

Why were wide metrics needed?

The classic 32-bit metric comes from IGRP, from the days of 56 kb/s links. With tens of gigabits, it fell short. Cisco’s configuration guide puts it this way: the lowest delay you can set on an interface is 10 microseconds. So a 10 Gigabit Ethernet link or an EtherChannel can look like a single Gigabit link, with equal-cost load balancing you didn’t want.

Do the math for a single link with RFC 7868’s formulas and delay table. In the classic formula, bandwidth is in kb/s and delay in tens of microseconds; in the wide formula, delay is in picoseconds and the scale is 65,536:

LinkClassic: bandwidth + delayClassic metricWide: throughput + latencyWide metric (approx.)
50 Gb/s10⁷ / 50,000,000 = 0 (truncated) + 125613,107.2 + 13,107.226,214
100 Gb/s10⁷ / 100,000,000 = 0 (truncated) + 12566,553.6 + 6,553.613,107

With the classic metric, both links tie. The EIGRP Wide Metrics feature solved it with 64-bit calculations, times in picoseconds and support for interfaces of up to about 4.2 terabits. It also added a K6 for extended attributes such as jitter and energy.

Because the Cisco RIB expects a 4-byte value, the metric rib-scale command scales the metric when the route is installed. Watch out: according to Cisco, 64-bit calculations only work in named mode. Classic mode stays at 32 bits.

What did named mode fix?

In classic mode, the configuration is scattered: part of it under router eigrp 1 and part on each interface. IPv4 and IPv6 need separate instances, and classic EIGRP for IPv6 doesn’t support VRFs. Named mode puts everything in one place:

  1. router eigrp TEST creates the instance, but doesn’t start anything yet.
  2. address-family ipv4 unicast autonomous-system 1 starts EIGRP for IPv4 in AS 1.
  3. af-interface Gi0/0 groups what used to live on the interface: hello, authentication, split horizon and summarization.
  4. topology base gathers routing-table options such as variance and traffic-share.

According to Cisco, named mode is available from IOS 15.0(1)M, 12.2(33)SRE, 12.2(33)XNE and IOS XE 2.5. And you don’t have to rewrite it by hand: inside the classic process, eigrp upgrade-cli TEST converts the configuration without affecting established neighbors.

How did EIGRP get to IPv6?

EIGRP doesn’t depend on IPv4. RFC 7868 says its packets ride directly on the network layer, IPv4 or IPv6, and that both use protocol 88. In IPv6, the hello leaves from the interface’s link-local address toward FF02::A. Two neighbors don’t even need to share a prefix on the link.

Cisco documents the rules for EIGRP for IPv6 in classic mode:

  • There is no network statement: you enable it on each interface with ipv6 eigrp 1.
  • You must configure a router ID with eigrp router-id before the process can run.
  • The ipv6 router eigrp 1 process has a shutdown feature: make sure it ends up in no shutdown.

In named mode, IPv6 is just another address family inside the same instance: address-family ipv6 unicast autonomous-system 1.

What changed and what didn’t?

TopicWhat didn’t changeWhat changed
AlgorithmDUAL, feasibility condition, Query and ReplyNothing fundamental: it’s still the core
MetricComposite formula inherited from IGRP; K1 and K3 set to 1 by default64 bits, picoseconds, K6 and metric rib-scale
StatusDesigned and maintained by CiscoDocumented in RFC 7868, informational and without stub
ConfigurationClassic mode is still availableNamed mode with address families and eigrp upgrade-cli
FamiliesIPv4IPv6 with link-local and FF02::A, in the same instance in named mode

I took these topics to the console live on January 22, 2022, in the 1st EIGRP Marathon, while I was preparing for the CCIE Enterprise Infrastructure. A second session followed. There you see with debug what this story tells.

Today an AI can read your show ip eigrp topology and propose a change. AI proposes; you decide. And to decide well, you need to know what a feasible successor is and why a 50 Gb/s link and a 100 Gb/s link tie in classic mode.

What you take away

  • IGRP (Cisco, 1987) improved on RIP with a 24-bit composite metric, but it still sent updates every 90 seconds and used holddowns of minutes.
  • DUAL, by J. J. Garcia-Luna-Aceves (SRI International), keeps routes loop-free at every instant and only involves the affected routers.
  • Cisco announced Enhanced IGRP on May 11, 1993, compatible with IGRP: the same metric multiplied by 256, from 24 to 32 bits.
  • After the February 2013 draft, RFC 7868 (May 2016) documented EIGRP as an informational RFC, not a standard, and without stub routing.
  • Wide metrics use 64 bits and picoseconds to tell high-speed links apart, and they only work in named mode.
  • Named mode (since IOS 15.0(1)M) brings IPv4, IPv6 and VRFs into one instance with address families; on IPv6, EIGRP uses link-local and FF02::A.

In the next part: EIGRP in the enterprise. Feasible successor, variance, summarization, stub routing and the limits you should know before choosing it.

Take the history to the console

In the THoR EIGRP Masterclass, recorded live on Cisco routers, you go through the 1st EIGRP Marathon (January 22, 2022) and a second session. You start with the core concepts: DUAL, successor and feasible successor, FD, RD and the feasibility condition, RTP and PDM. Then you cover classic and named mode, states and packets (passive, active, SIA, Hello, Update, Query, Reply and ACK), timers, and MD5 and SHA-256 authentication.

You finish with the composite metric and K values, ECMP and unequal-cost load balancing with variance, summarization, the default route, stub routing, debug and troubleshooting. Every topic comes with free readings: the first one is open to everyone, and you unlock the rest with a free sign-up.

Would you rather get the guide “The 100 EIGRP commands” in your inbox? Send EIGRP to @thehouseofrouting on Instagram (as a comment or a direct message) and we’ll email it to you.

Download the free PDF guide “The 100 EIGRP commands”. Cisco IOS commands to configure, verify and troubleshoot EIGRP in classic mode and named mode, with the IOS mode for each one.

Download the free PDF

Go to the EIGRP Masterclass

Sources

Text by Jesús Espinoza, prepared with AI assistance and reviewed by him. Original illustration by The House of Routing.

↑ Start of the article