Exp 2-Ch 9-EIGRP
Exp 2-Ch 9-EIGRP
Cisco Public
Introduction
Cisco Public
EIGRP
Roots of EIGRP: IGRP
-Developed in 1985 to overcome RIPv1s limited hop count -Distance vector routing protocol -Metrics used by IGRP bandwidth (used by default) Delay (used by default) Reliability (not used by default) Load (not used by default)
Cisco Public
EIGRP
EIGRP is a distance vector, classless routing protocol that was released in 1992 with IOS 9.21. As its name suggests, EIGRP is an enhancement of Cisco IGRP (Interior Gateway Routing Protocol). Both are Cisco proprietary protocols and only operate on Cisco routers. The main purpose in Cisco's development of EIGRP was to create a classless version of IGRP. EIGRP includes several features that are not commonly found in other distance vector routing protocols like RIP (RIPv1 and RIPv2) and IGRP. These features include:
Reliable Transport Protocol (RTP) Bounded Updates Diffusing Update Algorithm (DUAL) Establishing Adjacencies Neighbor and Topology Tables
Although EIGRP may act like a link-state routing protocol, it is still a distance vector routing protocol.
Cisco Public
EIGRP
The Algorithm
EIGRP uses the Diffusing Update Algorithm (DUAL). EIGRP does not send periodic updates and route entries do not age out. Only changes in the routing information, such as a new link or a link becoming unavailable cause a routing update to occur.
Cisco Public
EIGRP
Path Determination
EIGRP's DUAL maintains a topology table separate from the routing table, which includes both the best path to a destination network and any backup paths that DUAL has determined to be loop-free. If a route becomes unavailable, DUAL will search its topology table for a valid backup path. If one exists, that route is immediately entered into the routing table. If one does not exist, DUAL performs a network discovery process to see if there happens to be a backup path that did not meet the requirement of the feasibility condition.
ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
EIGRP
Convergence
EIGRP does not use holddown timers.
Instead, loop-free paths are achieved through a system of route calculations (diffusing computations) that are performed in a coordinated fashion among the routers.
The detail of how this is done is beyond the scope of this course, but the result is faster convergence than traditional distance vector routing protocols.
Cisco Public
EIGRP
Protocol Dependent Modules (PDM)
EIGRP uses PDM to route several different protocols i.e. IP, IPX & AppleTalk PDMs are responsible for the specific routing task for each network layer protocol
As you can see in the figure, EIGRP uses different EIGRP packets and maintains separate neighbor, topology, and routing tables for each Network layer protocol.
How do people route IPX or Appletalk today if they still get either IPX or Appletalk?
ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
EIGRP
Reliable Transport Protocol (RTP)
Purpose of RTP
Used by EIGRP to transmit and receive EIGRP packets EIGRP was designed as a Network layer independent routing protocol; therefore, it cannot use the services of UDP or TCP because IPX and Appletalk do not use protocols from the TCP/IP protocol suite.
Characteristics of RTP
Involves both reliable & unreliable delivery of EIGRP packet Reliable delivery requires acknowledgment from destination Unreliable delivery does not require an acknowledgement from destination Packets can be sent Unicast Multicast Using address 224.0.0.10
Cisco Public
EIGRP
Hello Update EIGRPs 5 Packet Types ACK Query Hello packets Reply Used to discover & form adjacencies with neighbors
EIGRP hello packets are multicasts and use unreliable delivery.
Cisco Public
10
EIGRP
Update packets
Update packets are used to propagate routing information Update packets are sent only when necessary. EIGRP updates are sent only to those routers that require it. When a new neighbor is discovered, unicast update packets are sent so that the neighbor can build up its topology table. In other cases, such as a link-cost change, updates are multicast. Updates always are transmitted reliably
Acknowledgement packets
Used to acknowledge receipt of update, query & reply packets An acknowledgment packet is a hello packet that has no data. EIGRP acknowledgement packets are always sent as an unreliable unicast
ITE PC v4.0 Chapter 1
R2 has lost connectivity to the LAN attached to its FastEthernet interface. R2 immediately sends an unicast Update to R1 and R3 noting the downed route. R1 and R3 respond with an unicast acknowledgement.
Cisco Public
11
EIGRP
Query & Reply packets
Used by DUAL for searching for networks Queries and replies use reliable delivery. Query packets can use Multicast Reply packet use only unicast
R2 has lost connectivity to the LAN and it sends out queries to all EIGRP neighbors. All neighbors must send a reply regardless of whether or not they have a route to the downed network.
ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
12
EIGRP
Query Update Reply Hello
Acknowledge
Reliable
Reliable
Reliable
Unreliable
(not require acknowledgment )
Unreliable
(a hello packet that has no data )
multicast
unicast
multicast
unicast
Cisco Public
13
EIGRP
Purpose of Hello Protocol
To discover neighbors & establish adjacencies with neighbor routers
15 seconds
ITE PC v4.0 Chapter 1
180 seconds
2007 Cisco Systems, Inc. All rights reserved. Cisco Public
14
EIGRP
EIGRP Bounded Updates EIGRP only sends update when there is a change in route status
Partial update
A partial update includes only the route information that has changed the whole routing table is NOT sent
Bounded update
When a route changes, only those devices that are impacted will be notified of the change
Cisco Public
15
EIGRP
Diffusing Update Algorithm (DUAL)
Purpose EIGRPs primary method for preventing routing loops And also hold-down timers and split horizon, too. Advantage of using DUAL Provides for fast convergence time by keeping a list of loopfree backup routes DUAL maintains a list of backup routes it has already determined to be loop-free. If the primary route in the routing table fails, the best backup route is immediately added to the routing table.
Cisco Public
16
EIGRP
Administrative Distance (AD)
Defined as the trustworthiness of the source route
Cisco Public
17
EIGRP
Authentication
EIGRP can
Encrypt routing information Authenticate routing information
Cisco Public
18
EIGRP
Network Topology Topology used is the same as previous chapters with the addition of an ISP router
Cisco Public
19
Cisco Public
20
Example
Router(config)#router eigrp autonomous-system
Cisco Public
21
Cisco Public
22
Example
Router(config-router)#network network-address
The network-address is the classful network address for this interface. a single classful network statement is used on R1 to include both 172.16.1.0/24 and 172.16.3.0/30 subnets:
When EIGRP is configured on R2, DUAL sends a notification message to the console stating that a neighbor relationship with another EIGRP router has been established.
2007 Cisco Systems, Inc. All rights reserved. Cisco Public
23
Cisco Public
24
To calculate the inverse of the subnet mask, subtract the subnet mask from 255.255.255.255:
255.255.255.255
- 255.255.255.252
--------------0. 0. 0. 3 Wildcard mask
Cisco Public
25
Cisco Public
26
EIGRP
The show ip protocols command is also used to verify that EIGRP is enabled Remember, the process ID must be the same on all routers for EIGRP to establish neighbor adjacencies and share routing information. EIGRP's internal and external administrative distances are also displayed:
Distance: internal 90 external 170
Cisco Public
27
By default , EIGRP automatically summarizes routes at major network boundary We can disable the automatic summarization with the no autosummary command. We will examine this in more detail in a later.
Cisco Public
28
Cisco Public
29
[Tony] We will configure the bandwidth later. Once the bandwidth is reconfigured, you will not see the equal-cost route on R3.
ITE PC v4.0 Chapter 1
Cisco Public
30
Cisco Public
31
Verifying bandwidth
Use the show interface command
Note bandwidth command does not change the links physical bandwidth
The bandwidth command only modifies the bandwidth metric used by routing protocols such as EIGRP and OSPF.
Cisco Public
32
bandwidth delay
Cisco Public
33
Cisco Public
34
10,000,000 is divided by 1024. If the result is not a whole number, then the value is rounded down. In this case, 10,000,000 divided by 1024 equals 9765.625. The .625 is dropped before multiplying by 256. The bandwidth portion of the composite metric is 2,499,840.
Cisco Public
35
End of part 1
Cisco Public
36
DUAL Concepts
The Diffusing Update Algorithm (DUAL) is used to prevent looping
Successor Feasible Distance (FD)
Cisco Public
37
DUAL Concepts
Successor The best least cost route to a destination found in the routing table Feasible distance The lowest calculated metric along a path to a destination network
38
DUAL Concepts
EIGRP Topology Table dissected
Cisco Public
39
DUAL Concepts
Feasible Successors, Feasibility Condition & Reported Distance Feasible Successor
This is a loop free backup route to the same destination as successor route
If the link between R2 and R3 failed, the R1 will become the successor for sending traffic to 192.168.1.0
Cisco Public
40
RTZ is NOT Feasible Successor, FC: RD220 not< FD31 Neighbor X In Topology Table Y In Routing Table Z Not in Topology Table
Cisco Public
Advertised or Destination Feasible Dist. Reported. Dist. 172.30.1.0 40 30 172.30.1.0 31 21 172.30.1.0 230 220
ITE PC v4.0 Chapter 1
41
Cisco Public
42
This may be because the Reported Distance is greater than the Feasible Distance.
Before this route can be installed, it must be placed in the active state and recomputed. Routing of packets continue but with more of a delay.
Cisco Public
43
DUAL Concepts
Feasibility Condition (FC) Met when a neighbors reported distance (RD) is less than the local routers FD to the same destination network
The reported distance is simply an EIGRP neighbor's feasible distance to the same destination network. The reported distance is the metric that a router reports to a neighbor about its own cost to that network.
ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
44
DUAL Concepts
Reported distance (RD) The metric that a router reports to a neighbor about its own cost to that network
R2 examines the reported distance (RD) of 2172416 from R1. Because the reported distance (RD) of R1 is less than R2's own feasible distance (FD) of 3014400, R1 meets the feasibility condition. R1 is now a feasible successor for R2 to the 192.168.1.0/24 network.
Why isn't R1 the successor if its reported distance (RD) is less than R2's feasible distance (FD) to 192.168.1.0/24?
Because the total cost for R2, its feasible distance (FD), to reach 192.168.1.0/24 is greater through R1 than it is through R3.
ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
45
DUAL Concepts
EIGRP Topology table
Viewed using the show ip eigrp topology command Contents of table include: all successor routes all feasible successor routes
Cisco Public
46
DUAL Concepts
EIGRP Topology Table dissected
P - This route is in the passive state. When DUAL is not performing its diffusing computations to determine a path for a network, the route will be in a stable mode, known as the passive state. A - If DUAL is recalculating or searching for a new path, the route will be in an active state. All routes in the topology table should be in the passive state for a stable routing domain.
ITE PC v4.0 Chapter 1
47
DUAL Concepts
Finite State Machines (FSM) To examine output from EIGRPs finite state machine us the debug eigrp fsm command
Cisco Public
48
Cisco Public
49
This causes all EIGRP neighbors to send updates that will not be automatically summarized this will cause changes in both -routing tables
-topology tables
Cisco Public
50
Cisco Public
51
Manual Summarization
EIGRP can be configured to summarize routes, whether or not automatic summarization (auto-summary) is enabled.
EIGRP is a classless routing protocol & include subnet mask in update
Cisco Public
52
Cisco Public
53
Cisco Public
54
Changing the hello interval also requires changing the hold time to a value greater than or equal to the hello interval
-The command to configure hold time value is
Router(config-if)#ip hold-time eigrp as-number seconds
Defaults For low-speed, NBMA networks: 60 seconds For all other networks: 5 seconds
Defaults For low-speed, NBMA networks: 180 seconds For all other networks: 15 seconds
ITE PC v4.0 Chapter 1
Cisco Public
55
Summary
Background & History
EIGRP is a derivative of IGRP EIGRP is a Cisco proprietary distance vector routing protocol released in 1994
Acknowledgement packets
Query packets Reply packets Supports VLSM & CIDR
ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
56
Summary
EIGRP terms and characteristics
EIGRP uses a hello protocol Purpose of hello protocol is to discover & establish adjacencies EIGRP routing updates Aperiodic Partial and bounded
Fast convergence
Cisco Public
57
Summary
EIGRP commands
The following commands are used for EIGRP configuration RtrA(config)#router eigrp [autonomous-system #] RtrA(config-router)#network network-number The following commands can be used to verify EIGRP Show ip protocols Show ip eigrp neighbors Show ip route
Cisco Public
58
Summary
EIGRP metrics include
Bandwidth (default) Delay (default)
Reliability
Load
Cisco Public
59
Summary
DUAL
Purpose of DUAL To prevent routing loops Successor Primary route to a destination Feasible successor Backup route to a destination Feasible distance Lowest calculated metric to a destination Reported distance The distance towards a destination as advertised by an upstream neighbor
ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
60
Summary
Choosing the best route
After router has received all updates from directly connected neighbors, it can calculate its DUAL 1st metric is calculated for each route 2nd route with lowest metric is designated successor & is placed in routing table 3rd feasible successor is found
Criteria for feasible successor: it must have lower reported distance to the destination than the installed routes feasible distance
Feasible routes are maintained in topology table
ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
61
Summary
Automatic summarization
On by default Summarizes routes on classful boundary
Cisco Public
62
Cisco Public
63