Week 7 - EIGRP Module
Week 7 - EIGRP Module
1
Week 7: EIGRP
EIGRP Characteristics
Objectives
After completing this course, students will be able to
Explain the features and characteristics of EIGRP.
• Describe the basic features of EIGRP.
• Describe the types of packets used to establish and maintain an EIGRP neighbor
adjacency.
• Describe the encapsulation of an EIGRP messages.
Implement EIGRP for IPv4 in a small to medium-sized business network.
• Configure EIGRP for IPv4 in a small routed network.
• Verify EIGRP for IPv4 operation in a small routed network.
Explain how EIGRP operates in a small to medium-sized business network.
• Explain how EIGRP forms neighbor relationships.
• Explain the metrics used by EIGRP.
• Explain how DUAL operates and uses the topology table.
• Describe events that trigger EIGRP updates.
Introduction
Enhanced Interior Gateway Routing Protocol (EIGRP) is an advanced
distance vector routing protocol developed by Cisco Systems. As the name
suggests, EIGRP is an enhancement of another Cisco routing protocol IGRP
(Interior Gateway Routing Protocol). IGRP is an older classful, distance
vector routing protocol, now obsolete since IOS 12.3.
Features of EIGRP
EIGRP was initially released in 1992 as a proprietary protocol available only on Cisco
devices. However, in 2013, Cisco released a basic functionality of EIGRP as an open standard
to the IETF, as an informational RFC. This means that other networking vendors can now
implement EIGRP on their equipment to interoperate with both Cisco and non-Cisco routers
running EIGRP. However, advanced features of EIGRP, such as EIGRP stub, needed for the
Dynamic Multipoint Virtual Private Network (DMVPN) deployment, will not be released to
the IETF. As an informational RFC, Cisco will continue to maintain control of EIGRP.
EIGRP includes features of both link-state and distance vector routing protocols. However,
EIGRP is still based on the key distance vector routing protocol principle, in which
information about the rest of the network is learned from directly connected neighbors.
EIGRP is an advanced distance vector routing protocol that includes features not found in
other distance vector routing protocols like RIP and IGRP.
In Cisco IOS Release 15.0(1)M, Cisco introduced a new EIGRP configuration option
called named EIGRP. Named EIGRP enables the configuration of EIGRP for both IPv4 and
IPv6 under a single configuration mode. This helps eliminate configuration complexity that
occurs when configuring EIGRP for both IPv4 and IPv6. Named EIGRP is beyond the scope of
this course.
Features of EIGRP include:
Diffusing Update Algorithm - As the computational engine that drives EIGRP, the
Diffusing Update Algorithm (DUAL) resides at the center of the routing protocol. DUAL
guarantees loop-free and backup paths throughout the routing domain. Using DUAL,
EIGRP stores all available backup routes for destinations so that it can quickly adapt to
alternate routes when necessary.
Establishing Neighbor Adjacencies - EIGRP establishes relationships with directly
connected routers that are also enabled for EIGRP. Neighbor adjacencies are used to
track the status of these neighbors.
Reliable Transport Protocol - The Reliable Transport Protocol (RTP) is unique to
EIGRP and provides delivery of EIGRP packets to neighbors. RTP and the tracking of
neighbor adjacencies set the stage for DUAL.
Partial and Bounded Updates - EIGRP uses the terms partial and bounded when
referring to its updates. Unlike RIP, EIGRP does not send periodic updates and route
entries do not age out. The term partial means that the update only includes information
about the route changes, such as a new link or a link becoming unavailable. The term
bounded refers to the propagation of partial updates that are sent only to those routers
that the changes affect. This minimizes the bandwidth that is required to send EIGRP
updates.
Equal and Unequal Cost Load Balancing - EIGRP supports equal cost load balancing
and unequal cost load balancing, which allows administrators to better distribute traffic
flow in their networks.
Note: The term “hybrid routing” protocol may be used in some older documentation to
define EIGRP. However, this term is misleading because EIGRP is not a hybrid between
distance vector and link-state routing protocols. EIGRP is solely a distance vector routing
protocol; therefore, Cisco no longer uses this term to refer to it.
IT6205A - Data Communication and Networking 3
3
Week 7: EIGRP
Although “reliable” is part of its name, RTP includes both reliable delivery and unreliable
delivery of EIGRP packets, similar to TCP and UDP, respectively. Reliable RTP requires an
acknowledgment to be returned by the receiver to the sender. An unreliable RTP packet does
not require an acknowledgment. For example, an EIGRP update packet is sent reliably over
RTP and requires an acknowledgment. An EIGRP Hello packet is also sent over RTP, but
unreliably. This means that EIGRP Hello packets do not require an acknowledgment.
RTP can send EIGRP packets as unicast or multicast.
IT6205A - Data Communication and Networking 3
5
Week 7: EIGRP
Multicast EIGRP packets for IPv4 use the reserved IPv4 multicast address 224.0.0.10.
Multicast EIGRP packets for IPv6 are sent to the reserved IPv6 multicast address
FF02::A.
Authentication
Like other routing protocols, EIGRP can be configured for authentication. RIPv2, EIGRP,
OSPF, IS-IS, and BGP can each be configured to authenticate their routing information.
Hello packets - Used for neighbor discovery and to maintain neighbor adjacencies.
Sent with unreliable delivery
Multicast (on most network types)
Update packets - Propagates routing information to EIGRP neighbors.
Sent with reliable delivery
Unicast or multicast
Acknowledgment packets - Used to acknowledge the receipt of an EIGRP message that was
sent using reliable delivery.
Sent with unreliable delivery
Unicast
Query packets - Used to query routes from neighbors.
Sent with reliable delivery
Unicast or multicast
Reply packets - Sent in response to an EIGRP query.
Sent with reliable delivery
Unicast
Figure 7.5 shows that EIGRP messages are typically encapsulated in IPv4 or IPv6 packets.
EIGRP for IPv4 messages use IPv4 as the network layer protocol. The IPv4 protocol field uses
88 to indicate the data portion of the packet is an EIGRP for IPv4 message. EIGRP for IPv6
messages are encapsulated in IPv6 packets using the next header field of 88. Similar to the
protocol field for IPv4, the IPv6 next header field indicates the type of data carried in the
IPv6 packet.
IT6205A - Data Communication and Networking 3
7
Week 7: EIGRP
Figure 7.5 Default Hello Intervals and Hold Times for EIGRP
EIGRP Hello packets are sent as IPv4 or IPv6 multicasts, and use RTP unreliable delivery.
This means that the receiver does not reply with an acknowledgment packet.
Note: NBMA networks using slower interfaces include legacy X.25, Frame Relay, and
Asynchronous Transfer Mode (ATM).
EIGRP also uses Hello packets to maintain established adjacencies. An EIGRP router assumes
that as long as it receives Hello packets from a neighbor, the neighbor and its routes remain
viable.
EIGRP uses a Hold timer to determine the maximum time the router should wait to receive
the next Hello before declaring that neighbor as unreachable. By default, the hold time is
three times the Hello interval, or 15 seconds on most networks and 180 seconds on low-
speed NBMA networks. If the hold time expires, EIGRP declares the route as down and DUAL
searches for a new path by sending out queries.
unreliable unicast. Unreliable delivery makes sense; otherwise, there would be an endless
loop of acknowledgments.
In the figure, R2 has lost connectivity to the LAN attached to its Gigabit Ethernet interface.
R2 immediately sends an update to R1 and R3 noting the downed route. R1 and R3 respond
with an acknowledgment to let R2 know that they have received the update.
Note: Some documentation refers to the Hello and acknowledgment as a single type of EIGRP
packet.
EIGRP Query and Reply Packets
EIGRP Query Packets
DUAL uses Query and Reply packets when searching for networks and other tasks. Queries
and replies use reliable delivery. Queries can use multicast or unicast, whereas replies are
always sent as unicast.
All neighbors must send a reply, regardless of whether or not they have a route to the
downed network. Because replies also use reliable delivery, routers, such as R2, must send
an acknowledgment.
It may not be obvious why R2 would send out a query for a network it knows is down.
Actually, only R2’s interface that is attached to the network is down. Another router could be
attached to the same LAN and have an alternate path to this same network. Therefore, R2
queries for such a router before completely removing the network from its topology table.
The EIGRP packet header is included with every EIGRP packet, regardless of its type. The
EIGRP packet header and TLV are then encapsulated in an IPv4 packet. In the IPv4 packet
header, the protocol field is set to 88 to indicate EIGRP, and the IPv4 destination address is
set to the multicast 224.0.0.10. If the EIGRP packet is encapsulated in an Ethernet frame, the
destination MAC address is also a multicast address, 01-00-5E-00-00-0A.
Figures 7.8 to 7.11 show the Data Link Ethernet Frame. EIGRP for IPv4 is encapsulated in an
IPv4 packet. EIGRP for IPv6 would use a similar type of encapsulation. EIGRP for IPv6 is
encapsulated using an IPv6 header. The IPv6 destination address would be the multicast
address FF02::A and the next header field would be set to 88.
IT6205A - Data Communication and Networking 3
11
Week 7: EIGRP
Update
Query
Reply
Hello
The autonomous system number specifies the EIGRP routing process. Unlike RIP, multiple
instances of EIGRP can run on a network. The autonomous system number is used to track
each running EIGRP process.
Figure 7.13 shows the EIGRP parameters TLV. The EIGRP parameters message includes the
weights that EIGRP uses for its composite metric. By default, only bandwidth and delay are
weighted. Both are weighted equally; therefore, the K1 field for bandwidth and the K3 field
for delay are both set to one (1). The other K values are set to zero (0).
The Hold Time is the amount of time the EIGRP neighbor receiving this message should
wait before considering the advertising router to be down.
Figure 7.14 shows the IP Internal Routes TLV. The IP internal message is used to advertise
EIGRP routes within an autonomous system. Important fields include the metric fields
(delay and bandwidth), the subnet mask field (prefix length), and the destination field.
Note: The maximum transmission unit (MTU) is not a metric used by EIGRP. The MTU is
included in the routing updates, but it is not used to determine the routing metric.
Implement EIGRP for IPv4
EIGRP Network Topology
Figure 7.14 displays the topology that is used in this chapter to configure EIGRP for IPv4.
The routers in the topology have a starting configuration that includes addresses on the
interfaces. There is currently no static routing or dynamic routing configured on any of the
routers.
Figures 7.15 to 7. 17 display the interface configurations for the three EIGRP routers in the
topology. Only routers R1, R2, and R3 are part of the EIGRP routing domain. The ISP router
is used as the routing domain’s gateway to the Internet.
EIGRP uses the router eigrp autonomous-system command to enable the EIGRP process.
The autonomous system number referred to in the EIGRP configuration is not associated
with the Internet Assigned Numbers Authority (IANA) globally assigned autonomous system
numbers used by external routing protocols.
So what is the difference between the IANA globally assigned autonomous system number
and the EIGRP autonomous system number?
An IANA globally assigned autonomous system is a collection of networks under the
administrative control of a single entity that presents a common routing policy to the
Internet. In the figure, companies A, B, C, and D are all under the administrative control of
ISP1. ISP1 presents a common routing policy for all of these companies when advertising
routes to ISP2.
The guidelines for the creation, selection, and registration of an autonomous system are
described in RFC 1930. Global autonomous system numbers are assigned by IANA, the same
authority that assigns IP address space. The local regional Internet registry (RIR) is
responsible for assigning an autonomous system number to an entity from its block of
assigned autonomous system numbers. Prior to 2007, assigned autonomous system
numbers were 16-bit numbers ranging from 0 to 65,535. Today, 32-bit autonomous system
numbers are assigned thereby increasing the number of available autonomous system
numbers to over 4 billion.
Usually, only Internet Service Providers (ISPs), Internet backbone providers, and large
institutions connecting to other entities require an autonomous system number. These ISPs
and large institutions use the exterior gateway routing protocol, Border Gateway Protocol
(BGP), to propagate routing information. BGP is the only routing protocol that uses an actual
autonomous system number in its configuration.
The vast majority of companies and institutions with IP networks do not need an
autonomous system number, because they are controlled by a larger entity, such as an ISP.
These companies use interior gateway protocols, such as RIP, EIGRP, OSPF, and IS-IS to route
packets within their own networks. They are one of many independent and separate
networks within the autonomous system of the ISP. The ISP is responsible for the routing of
packets within its autonomous system and between other autonomous systems.
The autonomous system number used for EIGRP configuration is only significant to the
EIGRP routing domain. It functions as a process ID to help routers keep track of multiple
running instances of EIGRP. This is required because it is possible to have more than one
instance of EIGRP running on a network. Each instance of EIGRP can be configured to support
and exchange routing updates for different networks.
Note: EIGRP and OSPF can support multiple instances of the routing protocol. However, this
multiple routing protocol implementation is not usually needed or recommended.
The router eigrp autonomous-system command does not start the EIGRP process itself. The
router does not start sending updates. Rather, this command only provides access to
configure the EIGRP settings.
To completely remove the EIGRP routing process from a device, use the no router
eigrp autonomous-system global configuration mode command, which stops the EIGRP
process and removes all existing EIGRP router configurations.
EIGRP Router ID
The EIGRP router ID is used to uniquely identify each router in the EIGRP routing domain.
The router ID is used in both EIGRP and OSPF routing protocols. However, the role of the
router ID is more significant in OSPF. In EIGRP IPv4 implementations, the use of the router
ID is not that apparent. EIGRP for IPv4 uses the 32-bit router ID to identify the originating
router for redistribution of external routes. The need for a router ID becomes more evident
in the discussion of EIGRP for IPv6. While the router ID is necessary for redistribution, the
details of EIGRP redistribution are beyond the scope of this curriculum. For purposes of this
curriculum, it is only necessary to understand what the router ID is and how it is determined.
To determine its router ID, a Cisco IOS router will use the following three criteria in order:
1. Use the address configured with the eigrp router-id ipv4-address router configuration
mode command.
2. If the router ID is not configured, choose the highest IPv4 address of any of its loopback
interfaces.
3. If no loopback interfaces are configured, choose the highest active IPv4 address of any of
its physical interfaces.
If the network administrator does not explicitly configure a router ID using the eigrp router-
id command, EIGRP generates its own router ID using either a loopback or physical IPv4
address. A loopback address is a virtual interface and is automatically in the up state when
configured. The interface does not need to be enabled for EIGRP, meaning that it does not
need to be included in one of the EIGRP network commands. However, the interface must
be in the up/up state.
Using the criteria described above, the figure 7.21 shows the default EIGRP router IDs that
are determined by the routers’ highest active IPv4 address.
Figure 7.22 shows the configuration of the EIGRP router ID for routers R1 and R2.
EIGRP router configuration mode allows for the configuration of the EIGRP routing protocol.
Figure 7.24 shows that R1, R2, and R3 all have networks that should be included within a
single EIGRP routing domain. To enable EIGRP routing on an interface, use
the network ipv4-network-address router configuration mode command. The ipv4-network-
address is the classful network address for each directly connected network.
IT6205A - Data Communication and Networking 3
23
Week 7: EIGRP
Enables any interface on this router that matches the network address in
the network router configuration mode command to send and receive EIGRP updates.
Figure 7.25 shows the network commands required to configure EIGRP on R1. In the figure,
a single classful network statement, network 172.16.0.0, is used on R1 to include both
interfaces in subnets 172.16.1.0/24 and 172.16.3.0/30. Notice that only the classful network
address is used.
Figure 7.26 shows the network command used to enable EIGRP on R2’s interfaces for
subnets 172.16.1.0/24 and 172.16.2.0/24. When EIGRP is configured on R2’s S0/0/0
interface, DUAL sends a notification message to the console stating that a neighbor adjacency
with another EIGRP router on that interface has been established. This new adjacency
happens automatically because both R1 and R2 use the same autonomous system number
(i.e., 1), and both routers now send updates on their interfaces in the 172.16.0.0 network.
time using a subnet mask in the network command. Notice in the output of the show
running-config command, the IOS converted the subnet mask command to its wildcard
mask.
Passive Interface
As soon as a new interface is enabled within the EIGRP network, EIGRP attempts to form a
neighbor adjacency with any neighboring routers to send and receive EIGRP updates.
At times it may be necessary, or advantageous, to include a directly connected network in
the EIGRP routing update, but not allow any neighbor adjacencies off of that interface to
form. The passive-interface command can be used to prevent the neighbor adjacencies.
There are two primary reasons for enabling the passive-interface command:
The passive-interface router configuration mode command disables the transmission and
receipt of EIGRP Hello packets on these interfaces.
Router(config)# router eigrp as-number
Router(config-router)# passive-interface interface-type interface-number
Figure 2.30 shows the passive-interface command configured to suppress Hello packets on
the LANs for R1 and R3. R2 is configured using the Syntax Checker.
IT6205A - Data Communication and Networking 3
27
Week 7: EIGRP
1. EIGRP is an active dynamic routing protocol on R1 configured with the autonomous system number 1.
2. The EIGRP router ID of R1 is 1.1.1.1.
3. The EIGRP administrative distances on R1 are internal AD of 90 and external of 170 (default values).
4. By default, EIGRP does not automatically summarize networks. Subnets are included in the routing
updates.
5. The EIGRP neighbor adjacencies R1 has with other routers used to receive EIGRP routing updates.
Note: Prior to IOS 15, EIGRP automatic summarization was enabled by default.
The output from the show ip protocols command is useful in debugging routing operations. Information
in the Routing Information Sources field can help identify a router suspected of delivering bad routing
information. The field lists all the EIGRP routing sources the Cisco IOS software uses to build its IPv4
routing table. For each source, note the following:
IPv4 address
Administrative distance
Time the last update was received from this source
As shown in Figure 7.34, EIGRP has a default AD of 90 for internal routes and 170 for routes imported from
an external source, such as default routes. When compared to other IGPs, EIGRP is the most preferred by
the Cisco IOS, because it has the lowest administrative distance. EIGRP has a third AD value of 5, for
summary routes.
Notice that the outputs used throughout this course are from Cisco IOS 15. Prior to IOS 15,
EIGRP automatic summarization was enabled by default. The state of automatic
summarization can make a difference in the information displayed in the IPv4 routing table.
If a previous version of the IOS is used, automatic summarization can be disabled using
the no auto-summary router configuration mode command:
Router(config-router)# no auto-summary
Figure 7.35 shows the topology for R1, R2, and R3.
In Figure 7.36, the IPv4 routing table is examined using the show ip route command. EIGRP
routes are denoted in the routing table with a D. The letter D was used to represent EIGRP
because the protocol is based upon the DUAL algorithm.
Data Communication and Networking 3
IT6205A - Data Communication and Networking 3
32
Week 7: EIGRP
Notice that R1 has installed routes to three IPv4 remote networks in its IPv4 routing table:
R1 has two paths to the 192.168.10.8/30 network, because its cost or metric to reach that
network is the same or equal using both routers. These are known as equal cost routes. R1
uses both paths to reach this network, which is known as load balancing. The EIGRP metric
is discussed later in this chapter.
Figure 7.37 displays the routing table for R2. Notice similar results are displayed including
an equal cost route for the 192.168.10.4/30 network.
IT6205A - Data Communication and Networking 3
33
Week 7: EIGRP
EIGRP Operation
EIGRP Neighbor Adjacency
The goal of any dynamic routing protocol is to learn about remote networks from other
routers and to reach convergence in the routing domain. Before any EIGRP update packets
can be exchanged between routers, EIGRP must first discover its neighbors. EIGRP neighbors
are other routers running EIGRP on directly connected networks.
EIGRP uses Hello packets to establish and maintain neighbor adjacencies. For two EIGRP
routers to become neighbors, several parameters between the two routers must match. For
example, two EIGRP routers must use the same EIGRP metric parameters and both must be
configured using the same autonomous system number.
Each EIGRP router maintains a neighbor table, which contains a list of routers on shared
links that have an EIGRP adjacency with this router. The neighbor table is used to track the
status of these EIGRP neighbors.
The figure 7.39 shows two EIGRP routers exchanging initial EIGRP Hello packets. When an
EIGRP enabled router receives a Hello packet on an interface, it adds that router to its
neighbor table.
3. After both routers have exchanged Hellos, the neighbor adjacency is established. R1 and
R2 update their EIGRP neighbor tables adding the adjacent router as a neighbor.
IT6205A - Data Communication and Networking 3
35
Week 7: EIGRP
EIGRP updates contain networks that are reachable from the router sending the update. As
EIGRP updates are exchanged between neighbors, the receiving router adds these entries to
its EIGRP topology table.
Each EIGRP router maintains a topology table for each routed protocol configured, such as
IPv4 and IPv6. The topology table includes route entries for every destination that the router
learns from its directly connected EIGRP neighbors.
The figure 7.40 shows the continuation of the initial route discovery process from the
previous page. It now shows the update of the topology table.
1. R1 receives the EIGRP update from neighbor R2 that includes information about the routes
that the neighbor is advertising, including the metric to each destination. R1 adds all update
entries to its topology table. The topology table includes all destinations advertised by
neighboring (adjacent) routers and the cost (metric) to reach each network.
2. EIGRP update packets use reliable delivery; therefore, R1 replies with an EIGRP
acknowledgment packet informing R2 that it has received the update.
Data Communication and Networking 3
IT6205A - Data Communication and Networking 3
36
Week 7: EIGRP
3. R1 sends an EIGRP update to R2 advertising the routes that it is aware of, except those
learned from R2 (split horizon).
4. R2 receives the EIGRP update from neighbor R1 and adds this information to its own
topology table.
EIGRP Convergence
The figure 7.41 illustrates the final steps of the initial route discovery process.
1. After receiving the EIGRP update packets from R2, using the information in the topology
table, R1 updates its IP routing table with the best path to each destination, including the
metric and the next-hop router.
2. Similar to R1, R2 updates its IP routing table with the best path routes to each network.
At this point, EIGRP on both routers is considered to be in the converged state.
Bandwidth - The slowest bandwidth among all of the outgoing interfaces, along the
path from source to destination.
Delay - The cumulative (sum) of all interface delay along the path (in tens of
microseconds).
The following values can be used, but are not recommended, because they typically result in
frequent recalculation of the topology table:
Reliability - Represents the worst reliability between the source and destination, which
is based on keepalives.
Load - Represents the worst load on a link between the source and destination, which
is computed based on the packet rate and the configured bandwidth of the interface.
Note: Although the MTU is included in the routing table updates, it is not a routing metric
used by EIGRP.
The metric calculation method (k values) and the EIGRP autonomous system number must
match between EIGRP neighbors. If they do not match, the routers do not form an adjacency.
The default k values can be changed with the metric weights router configuration mode
command:
Router(config-router)# metric weights tos k1 k2 k3 k4 k5
Note: Modifying the metric weights value is generally not recommended and beyond the
scope of this course. However, its relevance is important in establishing neighbor
adjacencies. If one router has modified the metric weights and another router has not, an
adjacency does not form.
Verifying the k Values
The show ip protocols command is used to verify the k values. The command output for R1
is shown in Figure 7.43. Notice that the k values on R1 are set to the default.
The show interfaces command displays interface information, including the parameters
used to compute the EIGRP metric. The figure shows the show interfaces command for the
Serial 0/0/0 interface on R1.
Bandwidth Metric
The bandwidth metric is a static value used by some routing protocols, such as EIGRP and
OSPF, to calculate their routing metric. The bandwidth is displayed in kilobits per second
(kb/s).
On older routers, the serial link bandwidth metric defaults to 1544 kb/s. This is the
bandwidth of a T1 connection. On newer routers, such as the Cisco 4321, serial link
bandwidth defaults to the clock rate used on the link. The serial links in topology in Figure
7.45 have been configured with the bandwidths that will be used in this section.
Always verify bandwidth with the show interfaces command. The default value of the
bandwidth may or may not reflect the actual physical bandwidth of the interface. If actual
bandwidth of the link differs from the default bandwidth value, the bandwidth value should
be modified.
Because both EIGRP and OSPF use bandwidth in default metric calculations, a correct value
for bandwidth is very important to the accuracy of routing information.
Use the following interface configuration mode command to modify the bandwidth metric:
In Figure 7.46, the link between R1 and R2 has a bandwidth of 64 kb/s, and the link between
R2 and R3 has a bandwidth of 1,024 kb/s. The figure shows the configurations used on all
three routers to modify the bandwidth on the appropriate serial interfaces. Modify the
bandwidth metric on both sides of the link to ensure proper routing in both directions.
IT6205A - Data Communication and Networking 3
41
Week 7: EIGRP
Use the show interfaces command to verify the new bandwidth parameters, as shown in
Figure 7.47.
Modifying the bandwidth value does not change the actual bandwidth of the link.
The bandwidth command only modifies the bandwidth metric used by routing protocols,
such as EIGRP and OSPF.
Delay Metric
Delay is the measure of the time it takes for a packet to traverse a route. The delay (DLY)
metric is a static value based on the type of link to which the interface is connected and is
expressed in microseconds. Delay is not measured dynamically. In other words, the router
does not actually track how long packets take to reach the destination. The delay value, much
like the bandwidth value, is a default value that can be changed by the network
administrator.
When used to determine the EIGRP metric, delay is the cumulative (sum) of all interface
delays along the path (measured in tens of microseconds).
The table in Figure 7.48 shows the default delay values for various interfaces. Notice that the
default value is 20,000 microseconds for serial interfaces and 10 microseconds for
GigabitEthernet interfaces.
Although EIGRP automatically calculates the routing table metric used to choose the best
path, it is important that the network administrator understands how these metrics were
determined.
The figure 7.50 shows the composite metric used by EIGRP. Using the default values for K1
and K3, the calculation can be simplified to the slowest bandwidth (or minimum
bandwidth), plus the sum of all of the delays.
The same outgoing interfaces are used to determine the delay value, as shown in Figure 7.53.
IT6205A - Data Communication and Networking 3
45
Week 7: EIGRP
EIGRP uses the sum of all delays to the destination. The Serial 0/0/1 interface on R2 has a
delay of 20,000 microseconds. The Gigabit 0/0 interface on R3 has a delay of 10
microseconds. The sum of these delays is divided by 10. In the example, (20,000+10)/10
results in a value of 2,001 for the delay portion of the composite metric.
Introduction to DUAL
EIGRP uses the DUAL convergence algorithm. Convergence is critical to a network to avoid
routing loops.
Routing loops, even temporary ones, can be detrimental to network performance. Distance
vector routing protocols, such as RIP, prevent routing loops with hold-down timers and split
horizon. Although EIGRP uses both of these techniques, it uses them somewhat differently;
the primary way that EIGRP prevents routing loops is with the DUAL algorithm.
The DUAL algorithm is used to obtain loop-freedom at every instance throughout a route
computation. This allows all routers involved in a topology change to synchronize at the
same time. Routers that are not affected by the topology changes are not involved in the
recomputation. This method provides EIGRP with faster convergence times than other
distance vector routing protocols.
The decision process for all route computations is done by the DUAL Finite State Machine
(FSM). An FSM is a workflow model, similar to a flow chart, which is composed of the
following:
Figure 7.56 shows the topology for this topic. A successor is a neighboring router that is used
for packet forwarding and is the least-cost route to the destination network. The IP address
of a successor is shown in a routing table entry right after the word via.
An FS is a neighbor that has a loop-free backup path to the same network as the successor,
and it satisfies the Feasibility Condition (FC). R2’s successor for the 192.168.1.0/24 network
is R3, providing the best path or lowest metric to the destination network. Notice in Figure
7.58, that R1 provides an alternative path, but is it an FS? Before R1 can be an FS for R2, R1
must first meet the FC.
The EIGRP topology table contains all of the routes that are known to each EIGRP neighbor.
As an EIGRP router learns routes from its neighbors, those routes are installed in its EIGRP
topology table.
As shown in Figure 7.63, use the show ip eigrp topology command to view the topology
table. The topology table lists all successors and FSs that DUAL has calculated to destination
networks. Only the successor is installed into the IP routing table.
As shown in Figure 7.64, the first line in the topology table displays:
P - Route in the passive state. When DUAL is not performing its diffusing computations
to determine a path for a network, the route is in a stable mode, known as the passive
state. If DUAL recalculates or searches for a new path, the route is in an active state and
displays an A. All routes in the topology table should be in the passive state for a stable
routing domain.
192.168.1.0/24 - Destination network that is also found in the routing table.
1 successors - Displays the number of successors for this network. If there are multiple
equal cost paths to this network, there are multiple successors.
FD is 3012096 - FD, the EIGRP metric to reach the destination network. This is the
metric displayed in the IP routing table.
As shown in Figure 7.65, the first subentry in the output shows the successor:
via 192.168.10.10 - Next-hop address of the successor, R3. This address is shown in
the routing table.
3012096 - FD to 192.168.1.0/24. It is the metric shown in the IP routing table.
2816 - RD of the successor and is R3’s cost to reach this network.
Serial 0/0/1 - Outbound interface used to reach this network, also shown in the routing
table.
IT6205A - Data Communication and Networking 3
53
Week 7: EIGRP
As shown in Figure 7.66, the second subentry shows the FS, R1 (if there is not a second entry,
then there are no FSs):
via 172.16.3.1 - Next-hop address of the FS, R1.
41024256 - R2’s new FD to 192.168.1.0/24, if R1 became the new successor and would
be the new metric displayed in the IP routing table.
2170112 - RD of the FS, or R1’s metric to reach this network. RD must be less than the
current FD of 3,012,096 to meet the FC.
Serial 0/0/0 - This is the outbound interface used to reach FS, if this router becomes
the successor.
Figure 7.67 displays a partial output from the show ip route command on R1. The route to
192.168.1.0/24 shows that the successor is R3 via 192.168.10.6 with an FD of 2,170,112.
As shown in Figure 7.69, the show ip eigrp topology all-links command shows all possible
paths to a network, including successors, FSs, and even those routes that are not FSs. R1’s FD
to 192.168.1.0/24 is 2,170,112 via the successor R3. For R2 to be considered a FS, it must
meet the FC. R2’s RD to R1 to reach 192.168.1.0/24 must be less the R1’s current FD. Per the
figure, R2’s RD is 3,012,096, which is higher than R1’s current FD of 2,170,112.
IT6205A - Data Communication and Networking 3
55
Week 7: EIGRP
R2 can be used as a successor if R3 fails; however, there is a longer delay before adding it to
the routing table. Before R2 can be used as a successor, DUAL must do further processing.
The centerpiece of EIGRP is DUAL and its EIGRP route-calculation engine. The actual name
of this technology is DUAL Finite State Machine (FSM). This FSM contains all of the logic used
to calculate and compare routes in an EIGRP network. The figure shows a simplified version
of the DUAL FSM.
An FSM is an abstract machine, not a mechanical device with moving parts. FSMs define a set
of possible states that something can go through, what events cause those states, and what
events result from those states. Designers use FSMs to describe how a device, computer
program, or routing algorithm reacts to a set of input events.
FSMs are beyond the scope of this course. However, the concept is used to examine some of
the output from EIGRP’s FSM using the debug eigrp fsm command. Use this command to
examine what DUAL does when a route is removed from the routing table.
The debug output displays the activity generated by DUAL when a link goes down. R2 must
inform all EIGRP neighbors of the lost link, as well as update its own routing and topology
tables. This example only shows selected debug output. In particular, notice that the DUAL
FSM searches for and finds an FS for the route in the EIGRP topology table.
Occasionally, the path to the successor fails and there are no FSs. In this instance, DUAL does
not have a guaranteed loop-free backup path to the network, so the path is not in the
topology table as an FS. If there are no FSs in the topology table, DUAL puts the network into
the active state. DUAL actively queries its neighbors for a new successor.
Before the link failure is simulated, DUAL debugging is enabled with the debug eigrp
fsm command on R1, as shown in Figure 7.77. A link failure is simulated using
the shutdown command on the Serial 0/0/1 interface on R1.
The selected debug output in Figure 7.77shows the 192.168.1.0/24 network put into the
active state and EIGRP queries sent to other neighbors. R2 replies with a path to this
network, which becomes the new successor and is installed into the routing table.
If the sender of the EIGRP queries receives EIGRP replies that include a path to the requested
network, the preferred path is added as the new successor and added to the routing table.
This process takes longer than if DUAL had an FS in its topology table and was able to quickly
add the new route to the routing table. In Figure 7.78, notice that R1 has a new route to the
192.168.1.0/24 network. The new EIGRP successor is router R2.
Conclusion
EIGRP (Enhanced Interior Gateway Routing Protocol) is a classless, distance vector routing
protocol.
EIGRP uses the source code of "D" for DUAL in the routing table. EIGRP has a default
administrative distance of 90 for internal routes and 170 for routes imported from an
external source, such as default routes. These features include: Diffusing Update Algorithm
(DUAL), establishing neighbor adjacencies, Reliable Transport Protocol (RTP), partial and
bounded updates, and equal and unequal cost load balancing.
EIGRP uses PDMs (Protocol Dependent Modules) giving it the capability to support different
Layer 3 protocols including IPv4 and IPv6. EIGRP uses reliable delivery for EIGRP updates,
queries and replies; and uses unreliable delivery for EIGRP Hellos and acknowledgments.
Reliable RTP means an EIGRP acknowledgment must be returned.
Before any EIGRP updates are sent, a router must first discover its neighbors using EIGRP
Hello packets. The Hello and hold-down values do not need to match for two routers to
become neighbors. The show ip eigrp neighbors command is used to view the neighbor
table and verify that EIGRP has established an adjacency with its neighbors.
EIGRP sends partial or bounded updates, which include only route changes. Updates are sent
only to those routers that are affected by the change. EIGRP composite metric uses
bandwidth, delay, reliability, and load to determine the best path. By default only bandwidth
and delay are used.
At the center of EIGRP is DUAL (Diffusing Update Algorithm). The DUAL Finite State Machine
is used to determine best path and potential backup paths to every destination network. The
successor is a neighboring router that is used to forward the packet using the least-cost route
to the destination network. Feasible distance (FD) is the lowest calculated metric to reach
the destination network through the successor. A feasible successor (FS) is a neighbor who
has a loop-free backup path to the same network as the successor, and also meets the
feasibility condition. The feasibility condition (FC) is met when a neighbor's reported
distance (RD) to a network is less than the local router's feasible distance to the same
destination network. The reported distance is simply an EIGRP neighbor's feasible distance
to the destination network.
EIGRP is configured with the router eigrp autonomous-system command. The autonomous-
system value is actually a process-id and must be the same on all routers in the EIGRP routing
domain. The network command is similar to that used with RIP. The network is the classful
network address of the directly connected interfaces on the router. A wildcard mask is an
optional parameter that can be used to include only specific interfaces.