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

EIGRP vs OSPF and IS-IS: what they share, what sets them apart and when to choose each one

Advanced distance vector vs link state: metric, convergence, hierarchy, scalability and multivendor support. Why Internet providers run IS-IS or OSPF with BGP, and when EIGRP is still the best option. The series finale before the EIGRP Masterclass.

Three hexagons: OSPF (LSA, areas, IP 89), EIGRP (DUAL, IP 88, K values) and IS-IS (L1/L2, TLV, CLNS), with the caption “advanced distance vector vs link state (SPF)”
Illustration: The House of Routing

You join a new company, and in the first meeting someone asks: “Should we migrate from EIGRP to OSPF?” Someone else says the Internet provider runs IS-IS. And you need to weigh in with data, not preferences.

This is the last part of “EIGRP, in context.” We go from point A, three acronyms that seem to do the same thing, to point B: you know what they share, where they part ways and when each one is the best option. Every fact comes from an RFC, from Cisco or from operator material you can open in the sources.

What do they share, and how do they differ?

All three are IGPs: they route inside a single domain. All three can route IPv4 and IPv6. The big difference is how they think.

  • EIGRP is distance vector. That’s how RFC 7868 defines it. Cisco calls it an enhanced distance-vector protocol: each router knows what its neighbors report, not the full map. What makes it advanced is DUAL, which coordinates changes instead of waiting for uncoordinated updates.
  • OSPF and IS-IS are link state. Each router floods a description of its links, all of them build the same database, and each one runs SPF, Dijkstra’s algorithm. RFC 1195 says it about IS-IS: it’s a dynamic routing protocol based on SPF.
AttributeEIGRPOSPFIS-IS
FamilyDistance vector with DUALLink state (SPF)Link state (SPF)
TransportIP, protocol 88IP, protocol 89Directly over the link layer
MetricComposite, with K valuesCost per interfaceMetric per link
HierarchyFlat; scales with summarization and filteringAreas around area 0Level 1 and level 2
DocumentRFC 7868, Informational (2016)RFC 2328, STD 54 (1998)ISO 10589 and RFC 1195 (1990)

Look at the transport row. RFC 2328 says OSPF runs directly over IP, using protocol 89. RFC 7868 assigns 88 to EIGRP, for both IPv4 and IPv6. IS-IS doesn’t even use IP: its packets go directly over the link layer, with OSI encapsulation.

How does each one measure the best path?

EIGRP: a formula with K values

EIGRP’s classic metric combines bandwidth, delay, load and reliability. RFC 7868 explains that it reuses IGRP’s composite metric, multiplied by 256. With the default K values (K1 = K3 = 1; K2, K4 and K5 set to 0), only the path’s minimum bandwidth and cumulative delay count. Wide metrics added K6 for extended attributes.

OSPF: a cost per interface

In OSPF, each interface has an output cost. RFC 2328 leaves it to whoever runs the network: the lower the cost, the more likely the interface is used. The path with the lowest sum of costs wins.

IS-IS: a metric that grew

IS-IS also adds up a value per link. The original metric in ISO 10589 and RFC 1195 was 6 bits, and RFC 3787 admits it “has proved too limited.” The TE extensions brought wide metrics: 24 bits per link and 32 bits per IP prefix. As long as one device doesn’t support them, RFC 3787 requires you to keep using narrow metrics.

The practical consequence: in EIGRP, changing bandwidth or delay on an interface changes the metric. In OSPF and IS-IS, you decide the cost of each link.

What happens when a link goes down?

Here’s a lab example. R1 reaches a branch network over two paths: through R2, the best one, and through R3, a slower one. The R1–R2 link goes down.

With EIGRP

  1. R1 already has R3 in its topology table. If R3’s reported distance is lower than R1’s feasible distance, R3 meets the feasibility condition: it’s a feasible successor.
  2. R1 installs it right away. The route stays PASSIVE: no Query, no recomputation.
  3. If there’s no feasible successor, the route goes ACTIVE and R1 sends Queries to its neighbors. If a reply takes too long, SIA-QUERY packets come into play.

RFC 7868 sums it up: routers not affected by the change don’t take part in the recomputation. It adds that, thanks to DUAL, EIGRP converges comparably to, and in some cases better than, the most common link state protocols. Keep in mind that’s a claim in Cisco’s own document; verify it in your own lab.

With OSPF or IS-IS

  1. R1 originates a new LSA (an LSP in IS-IS) saying the link is gone.
  2. It floods it through the area or the level.
  3. According to RFC 2328, when a router-LSA or a network-LSA changes, the entire routing table is recalculated, starting with the SPF of each area.

Philip Smith’s slides for ISP workshops conclude that OSPF and IS-IS, both using Dijkstra, show the same convergence properties. The difference with EIGRP isn’t that one is slow: it’s what each router does when something changes.

How does each one scale?

  • OSPF uses areas. According to RFC 2328, area 0 is the backbone: it contains every ABR, distributes information between areas and must be contiguous. If it isn’t, you need virtual links.
  • IS-IS uses levels. RFC 1195 describes two: level 1 routers know their area’s topology; level 2 routers know the backbone and route between areas. Philip Smith sums up the difference: OSPF’s model is rigid, with everything attached to area 0; IS-IS is more relaxed, though easier to misconfigure.
  • EIGRP is flat. It has no areas or levels. According to RFC 7868, you limit the reach of Queries by hiding information through summarization, filtering or other means. That’s your design tool.

Here’s EIGRP’s risk. In a flat design with no summarization, a Query can travel across the whole network. The farther it travels, the more likely an SIA becomes. In part 2 we saw how stub routing and summarization cut that domain down.

How open is each one?

This question matters in any equipment purchase.

  • OSPF is an Internet Standard: RFC 2328 carries the number STD 54.
  • IS-IS was born at ISO (ISO 10589). RFC 1195, by Ross Callon of Digital Equipment Corporation, from December 1990, adapted it to route IP. Its IPv6 support, RFC 5308, is on the Standards Track.
  • EIGRP was designed and developed by Cisco. In 2013, at Cisco Live London, Cisco announced it would publish it at the IETF as an informational RFC. According to the Boson blog, Cisco would keep control, and advanced features such as EIGRP stub would be left out.

The result was RFC 7868, from May 2016. It’s an Independent Submission, and the document itself states it is not a Standards Track specification. Try it: search its text for “stub.” It doesn’t appear. If your network mixes vendors, check which parts of EIGRP each device supports before you design.

Why do Internet providers choose IS-IS or OSPF, and BGP between domains?

An Internet provider splits two jobs.

  1. Inside its network, a link state IGP. In Philip Smith’s ISP workshop material, one line is blunt: “Biggest ISPs tend to use IS-IS.” The reason is historical: in the early 1990s, Cisco’s IS-IS implementation was more stable than its OSPF one, and large operators pushed for more tuning knobs. Later, the OSPF implementation was rewritten and is now competitive. Smith leaves the choice open: OSPF fits a network with a central core and regional PoPs; IS-IS fits stringier or more diverse networks.
  2. Between domains, BGP. RFC 4271 defines BGP-4 as an inter-Autonomous System routing protocol. It carries the list of ASes each route traverses, which lets you prune loops and apply policy.

An ISP’s IGP carries very little. Some OSPF-for-ISPs slides from the AfNOG 2012 workshop put it this way: the IGP only carries the BGP next hop, meaning infrastructure and loopbacks. Transit information goes over iBGP. In those slides, BGP carried about 400,000 prefixes, against 9,000 to 10,000 routes in the largest known IGP table.

And EIGRP? It doesn’t show up in that material. For an operator connecting gear from several vendors, an open, standard IGP is the natural choice.

When is EIGRP still the best option?

Cisco describes EIGRP as commonly used in many large enterprise networks. Its arguments are concrete: ease of deployment, fast convergence, updates that only send what changed, ECMP and unequal-cost load sharing, and scaling in large DMVPN deployments.

With that in mind, here’s my rule of thumb:

  • Choose EIGRP if your network is Cisco end to end, has hub-and-spoke or DMVPN topologies, and you want feasible successors and variance without redesigning into areas.
  • Choose OSPF if you have several vendors, an open-standards policy or a hierarchical design with a clear core.
  • Choose IS-IS if you run a provider backbone or a large network with IPv4 and IPv6 that you want in a single protocol.
  • Use BGP as soon as you talk to another autonomous system, whatever your IGP.

There’s no universal winner. There are requirements: vendors, size, your team and the topology you already have. An AI tool can compare configurations and propose a migration. AI proposes; you decide, and you decide better when you know what DUAL and SPF do when a link fails. I took EIGRP to the console live in 2022, on my path to the CCIE Enterprise Infrastructure: watching it fail teaches more than any table.

What you take away

  • EIGRP is distance vector with DUAL (RFC 7868); OSPF and IS-IS are link state and compute with SPF.
  • EIGRP uses a composite metric (by default, minimum bandwidth and delay); OSPF adds up per-interface costs; IS-IS moved from 6-bit narrow metrics to 24-bit wide ones.
  • With a feasible successor, EIGRP switches paths with no Query and no recomputation; OSPF and IS-IS flood the change and rerun SPF.
  • OSPF scales with areas around area 0, IS-IS with levels 1 and 2, and EIGRP with summarization, filtering and stub.
  • OSPF is STD 54 and IS-IS rests on ISO and Standards Track RFCs; EIGRP’s RFC 7868 is informational and doesn’t include stub.
  • ISPs use IS-IS or OSPF only for their infrastructure and BGP (RFC 4271) between domains; EIGRP shines in Cisco enterprise, hub-and-spoke and DMVPN networks.

This part wraps up the “EIGRP, in context” series. You now have the history, the enterprise attributes and the comparison with OSPF and IS-IS. The next step is the console: I’ll see you in the EIGRP Masterclass.

From the comparison to the console

In the THoR EIGRP Masterclass, recorded live on Cisco routers, you watch EIGRP work packet by packet. The 1st EIGRP Marathon took place on January 22, 2022, and a second session completed the journey.

It covers the core concepts (DUAL, successor and feasible successor, FD, RD and the feasibility condition, RTP and PDMs), classic mode and named mode, states and packets (passive, active, SIA, Hello, Update, Query, Reply and ACK), timers, and MD5 and SHA-256 authentication. It also covers the composite metric with K values, ECMP and unequal-cost load balancing with variance, summarization, the default route and stub routing, plus debugging 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