Cisco EIGRP
Cisco EIGRP
Cisco EIGRP
Enhanced IGRP
Background
The Enhanced Interior Gateway Routing Protocol (IGRP) represents an evolution from its
predecessor IGRP (refer to Chapter 38, “Interior Gateway Routing Protocol).” This evolution
resulted from changes in networking and the demands of diverse, large-scale internetworks.
Enhanced IGRP integrates the capabilities of link-state protocols into distance-vector protocols. It
incorporates the Diffusing-Update Algorithm (DUAL) developed at SRI International by Dr. J.J.
Garcia-Luna-Aceves.
Enhanced IGRP provides compatibility and seamless interoperation with IGRP routers. An
automatic-redistribution mechanism allows IGRP routes to be imported into Enhanced IGRP, and
vice versa, so it is possible to add Enhanced IGRP gradually into an existing IGRP network. Because
the metrics for both protocols are directly translatable, they are as easily comparable as if they were
routes that originated in their own Autonomous Systems (ASs). In addition, Enhanced IGRP treats
IGRP routes as external routes and provides a way for the network administrator to customize them.
This chapter provides an overview of the basic operations and protocol characteristics of Enhanced
IGRP.
IS-IS, Exterior Gateway Protocol (EGP), or Border Gateway Protocol (BGP). The Novell
implementation redistributes routes learned from Novell RIP or Service Advertisement Protocol
(SAP).
Routing Concepts
Enhanced IGRP relies on four fundamental concepts: neighbor tables, topology tables, route states,
and route tagging. Each of these is summarized in the discussions that follow.
Neighbor Tables
When a router discovers a new neighbor, it records the neighbor’s address and interface as an entry
in the neighbor table. One neighbor table exists for each protocol-dependent module. When a
neighbor sends a hello packet, it advertises a hold time, which is the amount of time a router treats
a neighbor as reachable and operational. If a hello packet is not received within the hold time, the
hold time expires and DUAL is informed of the topology change.
The neighbor-table entry also includes information required by RTP. Sequence numbers are
employed to match acknowledgments with data packets, and the last sequence number received from
the neighbor is recorded so that out-of-order packets can be detected. A transmission list is used to
queue packets for possible retransmission on a per-neighbor basis. Round-trip timers are kept in the
neighbor-table entry to estimate an optimal retransmission interval.
Topology Tables
The topology table contains all destinations advertised by neighboring routers. The
protocol-dependent modules populate the table, and the table is acted on by the DUAL finite-state
machine. Each entry in the topology table includes the destination address and a list of neighbors
that have advertised the destination. For each neighbor, the entry records the advertised metric,
which the neighbor stores in its routing table. An important rule that distance vector protocols must
follow is that if the neighbor advertises this destination, it must use the route to forward packets.
The metric that the router uses to reach the destination is also associated with the destination. The
metric that the router uses in the routing table, and to advertise to other routers, is the sum of the best
advertised metric from all neighbors, plus the link cost to the best neighbor.
Route States
A topology-table entry for a destination can exist in one of two states: active or passive. A destination
is in the passive state when the router is not performing a recomputation, or in the active state when
the router is performing a recomputation. If feasible successors are always available, a destination
never has to go into the active state, thereby avoiding a recomputation.
A recomputation occurs when a destination has no feasible successors. The router initiates the
recomputation by sending a query packet to each of its neighboring routers. The neighboring router
can send a reply packet, indicating it has a feasible successor for the destination, or it can send a
query packet, indicating that it is participating in the recomputation. While a destination is in the
active state, a router cannot change the destination’s routing-table information. After the router has
received a reply from each neighboring router, the topology-table entry for the destination returns to
the passive state, and the router can select a successor.
Route Tagging
Enhanced IGRP supports internal and external routes. Internal routes originate within an
Enhanced IGRP AS. Therefore, a directly attached network that is configured to run Enhanced IGRP
is considered an internal route and is propagated with this information throughout the Enhanced
IGRP AS. External routes are learned by another routing protocol or reside in the routing table as
static routes. These routes are tagged individually with the identity of their origin.
External routes are tagged with the following information:
• Router ID of the Enhanced IGRP router that redistributed the route
• AS number of the destination