Professional Documents
Culture Documents
EIGRP Objectives
Describe the key capabilities that distinguish EIGRP from other routing protocols Identify the four key technologies employed by EIGRP Describe how EIGRP operates Describe the five components of the metric used by EIGRP Calculate the EIGRP metric for a range of pathways between routers Explain how IGRP routes are integrated into EIGRP routes and vice-versa Describe the commands used in a basic EIGRP configuration task Verify EIGRP operation Describe and configure MD5 router authentication Explain how to mark the spokes of large network as stubs to reduce EIGRP queries and thus improve network scaling Explain how to minimise active routes Describe how graceful shut down prevents loss of packets when routers go down
Routing Protocols
In the first lecture we said that there two kinds of routing protocol Distance Vector Link State To add to this list EIGRP is a hybrid protocol Taking features from both Distance Vector and Link State EIGRP is designed to improve upon the scaling limits of IGRP IGRP only operates as distance vector protocol EIGRP is backwardly compatible with IGRP if that is still used in a company the routing tables will converge EIGRP is proprietary to Cisco
EIGRP Features
EIGRP is an advanced distance vector routing protocol but also acts as a link-state protocol in the way that it updates neighbors and maintains routing information. The following are advantages of EIGRP over simple distance vector protocols: Rapid convergence Efficient use of bandwidth Uses both Unicast and Multicast (224.0.0.10) communications Support for VLSM and CIDR Multiple network layer support Independence from routed protocols IPv4, IPv6, IPX appletalk Routing update Authentication
EIGRP Features
Neighbor discovery and recovery Reliable Transport Protocol ( RTP ) DUAL finite-state machine algorithm Protocol-dependent modules ( PDM )
Reliable
Reliable in terms of what we want simply indicates that data is acknowledged using Reliable Transport Protocol ( RTP )
This is not the Real-Time Protocol used in the IPTelephony course RTP in this case will provide a sequence number and to inform if an acknowledgement is required As an example update packets require an acknowledgement but hello packets do not This gives the reliability of TCP without all of the overhead that is involved with that protocol Acknowledgment do not need to be sent as an independent packet if other traffic is being sent to that router the ack will be sent with the other data In the IP stack all EIGRP data marks the protocol as 88, TCP is 6 (http://tools.ietf.org/html/rfc790)
Hello?
R2
Hellos at a fixed (default 5 seconds), but is configurable with the hello interval. The default hello interval depends on the bandwidth of the interface. Default hold time = 3 x hello interval after this the router is declared as dead
Split Horizon
Split Horizon
The concept of this is to prevent a route from being advertised back on the interface that it was learnt C learns about B via A If the link between And B is removed C still has an entry for router B so A would send the traffic to C At which point it would be returned to router A Split horizon prevents this as router C will not update A about router B as it was learnt through router A
Router A
Router C
Router B
EIGRP Terms
Successor Route
This is a router which has the best path to a particular network This is a backup route to the particular network This is the distance which is advertised by the adjacent router to the location A to C would be 15 This is the total metric from your router to the destination network A to C would be 35 All other routes which can not be used and are simply stored
Possibility route
20 B
15 C
10 10 30
20 25 45
10 15
R2
10 10
FC = RD<FD R5
192.168.10.0/24
R1
R3
15
R4
30
10 10 30
20 25 45
Update
R2
ACK
10 10
R1
Update
15
FC = RD<FD R5
192.168.10.0/24
R3
15
ACK
R4
30
10 10 30
20 25 45
R2 15
10
FC = RD<FD R3 30 R5
192.168.10.0/24
R1
Query
15
Reply
R4
Packet Types
The five EIGRP packet types are as follows: 1. Hello - used to discover, verify, and rediscover neighbor routers. Multicast 224.0.0.10 2. Acknowledgment - Ack updates, queries and replies 3. Update send out routing updates 4. Query - try and discover new routes from other routers 5. Reply respond to a query
EIGRP Metrics
Metrics that can be used for EIGRP are
Bandwidth Lowest bandwidth between source and destination Delay Total delay along the path Reliability Worst reliability along the path based on lost keep alives Loading Worst load on a link between source and destination based on packet rate and the configured bandwidth of the link
(256 x Load)
(Reliability + K4)
Metric = [K1 x bandwidth (min) + K3 x delay (cumulative)] The default K values can be changed with the EIGRP router command: R2(config-router)# metric weights tos k1 k2 k3 k4 k5
Although the K values can be changed to routers will only exchange information if the K values are the SAME, which is a very good reason not to adjust the default values
Modifying the bandwidth value does not change the actual bandwidth of the link. If actual bandwidth of the link differs from the default bandwidth value, then the default should be changed to reflect the actual.
ISP
172.16.3.0/24
S0/0/0 DCE .1
Loopback 10.1.1.1/30
S0/0/0 .2 64 kbps S0/0/1 .5
.1
R2
.9
S0/0/1 DCE
192.168.10.8/30
S0/0/1 .10 S0/0/0 DCE .6
Fa0/0
Fa0/0
172.16.1.0/24
.1
R1
192.168.10.4/30
R3
.1
192.168.1.0/24
Bandwidth = (10,000,000 / BW in kbps) x 256 R2 Slowest Interface = S0/0/1 link at 1024kbps 10,000,000 / 1024 = 9765.625 Round Down = 9765 9765 x 256 =2,499,840
ISP
172.16.3.0/24
S0/0/0 DCE .1
Loopback 10.1.1.1/30
S0/0/0 .2 64 kbps S0/0/1 .5
.1
R2
.9
S0/0/1 DCE
192.168.10.8/30
S0/0/1 .10 S0/0/0 DCE .6
Fa0/0
Fa0/0
172.16.1.0/24
.1
R1
192.168.10.4/30
R3
.1
192.168.1.0/24
Delay = (Sum of delay / 10) x 256 Sum = 100 + 20,000 = 20,100uS Sum /10 = 20,100 / 10 = 2,010 23 2,010 x 256 = 514,560
ISP
172.16.3.0/24
S0/0/0 DCE .1
Loopback 10.1.1.1/30
S0/0/0 .2 64 kbps S0/0/1 .5
.1
R2
.9
S0/0/1 DCE
192.168.10.8/30
S0/0/1 .10 S0/0/0 DCE .6
Fa0/0
Fa0/0
172.16.1.0/24
.1
R1
192.168.10.4/30
R3
.1
192.168.1.0/24
Metric = [K1 x bandwidth (min) + K3 x delay (cumulative)] Metric = [2,499,840 + 514,560] Metric = 3,014,400
EIGRP Tables
Router Cs tables:
Topology
EIGRP States
There are two states for EIGRP routing entries Passive Active Passive indicates that there are no routing updates being received or sent for that particular route the table on that route is stable Active Indicates that the successor route is no longer valid and there is no feasible successor a new route is being searched for that route via computation or being queried If there is always a feasible successor then there is no need to enter the active state As one route fails then another is added to the table
The topology table is updated when a directly connected route or interface changes or when a neighbouring router reports a change to a route.
Topology Table
To view detailed information about the metrics of a specific entry in the topology table, add the optional parameter [network] to the show ip eigrp topology command:
Automatic Summarisation
Update: C- 2.0.0.0/8
EIGRP automatically summarises routes at the classful boundarythe boundary where the network address ends as defined by class-based addressing. In most cases, auto summarisation is beneficial, because it keeps the routing tables as compact as possible. Auto summarisation causes problems when two subnets are discontiguous This is shown in the diagram above where auto summary means that RTC will ignore updates from RTD
ISP
172.16.3.0/24
S0/0/0 DCE .1
Loopback 10.1.1.1/30
S0/0/0 .2 64 kbps S0/0/1 .5
.1
R2
.9
S0/0/1 DCE
192.168.10.8/30
S0/0/1 .10 S0/0/0 DCE .6 192.168.1.0/24
Fa0/0
Fa0/0
172.16.1.0/24
.1
R1
192.168.10.4/30
R3
.1 Lo2 192.168.2.1/24
Lo2 192.168.3.1/24
Verifying EIGRP
R1#show ip protocols Routing Protocol is "eigrp 100" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Default networks flagged in outgoing updates Default networks accepted from incoming updates EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0 EIGRP maximum hopcount 100 EIGRP maximum metric variance 1 Redistributing: eigrp 100 EIGRP NSF-aware route hold timer is 240s <output omitted> Maximum path: 4 Routing for Networks: 172.16.1.0/24 192.168.1.0 Routing Information Sources: Gateway Distance Last Update (this router) 90 00:09:38 Gateway Distance Last Update 192.168.1.102 90 00:09:40 Distance: internal 90 external 170
10 10 30
20 25 45
10 15
R2
10 10
FC = RD<FD R5
192.168.10.0/24
R1
R3
15
R4
30
This commands needs careful usage as traffic will be sent across links which are not equal Consider something like IPTelephony where multiple links are used
EIGRP uses the bandwidth specified with the bandwidth command, or the default bandwidth of the link if none is configured, when calculating how much bandwidth to use.
Percentage can be set to a value greater than 100% which will be useful if you set the bandwidth command low for routing purposes i.e. an expensive 128kbps link you advertised as 64 kbps to prevent usage
MD5 authentication
Configure a key (password) and key-id; router generates a message digest, or hash, of the key, key-id and message. Message digest is sent with packet; key is not sent. Secure.
R6
192.168.10.0/24
10
R2 Query Reply
100
Query
10
Reply
100
R1 Query
R3
20 200
R5 Reply
R1 loses its link to R6, and sends query packets to all neighbors on interfaces other than the one used to reach the previous successor (split horizon), inquiring whether they have a route to the given destination. If a router has an alternate route, it answers the query and does not propagate it further. If a neighbor does not have an alternate route, it queries each of its own neighbors for an alternate path. The queries then propagate through the network, creating an expanding tree of queries.
R4 Query Reply
R6
192.168.10.0/24
10
R2 Query
100
Query
10
100
R1 Query
3 Mins Reset
20
R3
200
R5 Reply
Once a route goes active and the query sequence is initiated, the route can only come out of the active state and move to passive state when it receives a reply for every generated query. If the router does not receive a reply to all the outstanding queries within 3 minutes (the default time), the route goes to the SIA state.
R4 Query Reply
When a route is SIA, the querying router resets the neighbor relationship to the neighbor that fails to reply.
R6
192.168.10.0/24
10
R2 Query R3
100
Query R1 Query
SIA-Q SIA-R
20
SIA-Q
R1 queries R3 downstream (with an SIA-Query) at the midway point of the active timer (1.5 minutes by default) about the status of the route.
R5 Reply
200
R3 responds (with an SIAReply) that it is searching for a replacement route. R3 sends up to three SIAQueries to R5. If they go unanswered, R3 terminates the neighbor relationship with R5. R3 then updates R1 with an SIA-Reply indicating that the network is unreachable.
R4 Query Reply
Hub Network
A
Router A
B
Router B
Stub routing is commonly used in hub-and-spoke topology. Stub router sends a special peer information packet to all neighboring routers to report its status as a stub router. Any neighbor that receives a packet informing it of the stub status does not query the stub router for any routes.
10.1.1.0/24
Query B
Router B
EIGRP Objectives
Describe the key capabilities that distinguish EIGRP from other routing protocols Identify the four key technologies employed by EIGRP Describe how EIGRP operates Describe the five components of the metric used by EIGRP Calculate the EIGRP metric for a range of pathways between routers Explain how IGRP routes are integrated into EIGRP routes and vice-versa Describe the commands used in a basic EIGRP configuration task Verify EIGRP operation Describe and configure MD5 router authentication Explain how to mark the spokes of large network as stubs to reduce EIGRP queries and thus improve network scaling Explain how to minimise active routes Describe how graceful shut down prevents loss of packets when routers go down
Any Questions?