eigrp (enhanced interior gateway routing protocol) w.lilakiatsakun

132
EIGRP EIGRP (Enhanced Interior (Enhanced Interior Gateway Routing Gateway Routing Protocol) Protocol) W.Lilakiatsakun W.Lilakiatsakun

Upload: genevieve-marris

Post on 30-Mar-2015

226 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP EIGRP (Enhanced Interior Gateway (Enhanced Interior Gateway

Routing Protocol)Routing Protocol)

W.LilakiatsakunW.Lilakiatsakun

Page 2: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Introduction (1)Introduction (1)

• A classless version of IGRP. A classless version of IGRP. • EIGRP includes several features that are not EIGRP includes several features that are not

commonly found in other distance vector routing commonly found in other distance vector routing protocols like RIP (RIPv1 and RIPv2) and IGRP. protocols like RIP (RIPv1 and RIPv2) and IGRP.

• These features include:These features include:– Reliable Transport Protocol (RTP)Reliable Transport Protocol (RTP)– Bounded UpdatesBounded Updates– Diffusing Update Algorithm (DUAL)Diffusing Update Algorithm (DUAL)– Establishing AdjacenciesEstablishing Adjacencies– Neighbor and Topology TablesNeighbor and Topology Tables

• Although EIGRP may act like a link-state routing Although EIGRP may act like a link-state routing protocol, it is still a distance vector routing protocol, it is still a distance vector routing protocol.protocol.

Page 3: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Introduction (2)Introduction (2)

• Note: The term Note: The term hybrid routing protocolhybrid routing protocol is sometimes used to define EIGRP. is sometimes used to define EIGRP.

• However, this term is misleading However, this term is misleading because EIGRP is not a hybrid because EIGRP is not a hybrid between distance vector and link-between distance vector and link-state routing protocols state routing protocols

• it is solely a distance vector routing it is solely a distance vector routing protocol. Therefore, Cisco is no longer protocol. Therefore, Cisco is no longer using this term to refer to EIGRP.using this term to refer to EIGRP.

Page 4: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP VS IGRPEIGRP VS IGRP

Page 5: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

The AlgorithmThe Algorithm• Traditional distance vector routing protocols all use Traditional distance vector routing protocols all use

some variant of the Bellman-Ford or Ford-Fulkerson some variant of the Bellman-Ford or Ford-Fulkerson algorithm. algorithm.

• These protocols, such as RIP and IGRP, age out These protocols, such as RIP and IGRP, age out individual routing entries, and therefore individual routing entries, and therefore need to need to periodically send routing table updatesperiodically send routing table updates. .

• EIGRP uses the Diffusing Update Algorithm (DUAL). EIGRP uses the Diffusing Update Algorithm (DUAL). • EIGRP does not send periodic updates and route EIGRP does not send periodic updates and route

entries do not age outentries do not age out. . • Instead, EIGRP uses a lightweight Hello protocol to Instead, EIGRP uses a lightweight Hello protocol to

monitor connection status with its neighbors. monitor connection status with its neighbors. • Only changes in the routing information, such as a Only changes in the routing information, such as a

new link or a link becoming unavailable cause a new link or a link becoming unavailable cause a routing update to occur. routing update to occur.

Page 6: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Path Determination (1)Path Determination (1)• Traditional distance vector routing protocols such Traditional distance vector routing protocols such

as RIP and IGRP keep track of only the preferred as RIP and IGRP keep track of only the preferred routes; the best path to a destination network. routes; the best path to a destination network.

• If the route becomes unavailable, the router waits If the route becomes unavailable, the router waits for another routing update with a path to this for another routing update with a path to this remote network. remote network.

• EIGRP's DUAL maintains a topology table separate EIGRP's DUAL maintains a topology table separate from the routing table. from the routing table. – including both the best path to a destination network and including both the best path to a destination network and

any backup paths that DUAL has determined to be loop-any backup paths that DUAL has determined to be loop-free. free.

• Loop-free means that the neighbor does not have a Loop-free means that the neighbor does not have a route to the destination network that passes route to the destination network that passes through this router. through this router.

Page 7: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Path Determination (2)Path Determination (2)

• If a route becomes unavailable, DUAL will If a route becomes unavailable, DUAL will search its topology table for a valid backup search its topology table for a valid backup path.path.

• If one exists, that route is immediately If one exists, that route is immediately entered into the routing table. entered into the routing table.

• If one does not exist, DUAL performs a If one does not exist, DUAL performs a network discovery process to see if there network discovery process to see if there happens to be a backup path that did not happens to be a backup path that did not meet the requirement of the feasibility meet the requirement of the feasibility condition. condition.

Page 8: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

ConvergenceConvergence

• Traditional distance vector routing protocols such as Traditional distance vector routing protocols such as RIP and IGRP use periodic updates. RIP and IGRP use periodic updates.

• Due to the unreliable nature of periodic updates, Due to the unreliable nature of periodic updates, traditional distance vector routing protocols are prone traditional distance vector routing protocols are prone to routing loops and the count-to-infinity problem. to routing loops and the count-to-infinity problem.

• RIP and IGRP use several mechanisms to help avoid RIP and IGRP use several mechanisms to help avoid these problems including holddown timers, which these problems including holddown timers, which cause long convergence times.cause long convergence times.

• EIGRP does not use holddown timers. EIGRP does not use holddown timers. • Instead, loop-free paths are achieved through a Instead, loop-free paths are achieved through a

system of route calculations (diffusing computations) system of route calculations (diffusing computations) that are performed in a coordinated fashion among that are performed in a coordinated fashion among the routers. the routers.

Page 9: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Message Format (1)EIGRP Message Format (1)

Page 10: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Message Format (2)EIGRP Message Format (2)

• The data portion of an EIGRP message is The data portion of an EIGRP message is encapsulated in a packet. encapsulated in a packet.

• This data field is called This data field is called Type/Length/Value or Type/Length/Value or TLVTLV. .

• The EIGRP packet header and TLV are then The EIGRP packet header and TLV are then encapsulated in an IP packet. encapsulated in an IP packet.

• In the IP packet header, the protocol field is In the IP packet header, the protocol field is set to set to 88 to indicate EIGRP88 to indicate EIGRP, and the , and the destination address is set to the destination address is set to the multicast multicast 224.0.0.10224.0.0.10. .

• If the EIGRP packet is encapsulated in an If the EIGRP packet is encapsulated in an Ethernet frame, the Ethernet frame, the destination MAC address destination MAC address is also a multicast address: 01-00-5E-00-00-is also a multicast address: 01-00-5E-00-00-0A0A..

Page 11: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Packet HeaderEIGRP Packet Header

Page 12: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Packet HeaderEIGRP Packet Header (2)(2)

• Important fields for our discussion include Important fields for our discussion include the Opcode field and the Autonomous the Opcode field and the Autonomous System Number fieldSystem Number field. .

• Opcode specifies the EIGRP packet type: Opcode specifies the EIGRP packet type: – UpdateUpdate– QueryQuery– ReplyReply– HelloHello

• The Autonomous System (AS) Number The Autonomous System (AS) Number specifies the EIGRP routing process. specifies the EIGRP routing process.

Page 13: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

TLVTLV : : EIGRP Parameters (1)EIGRP Parameters (1)

Page 14: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

TLVTLV : : EIGRP Parameters (2)EIGRP Parameters (2)

• The EIGRP parameters message includes the The EIGRP parameters message includes the weights that EIGRP uses for its composite metric. weights that EIGRP uses for its composite metric.

• By default, only By default, only bandwidth and delaybandwidth and delay are weighted. are weighted. • Both are equally weighted, therefore, the Both are equally weighted, therefore, the K1 fieldK1 field

for bandwidth and the for bandwidth and the K3 fieldK3 field for delay are both for delay are both set to 1. set to 1.

• The other K values are set to zero. The other K values are set to zero. • The The Hold TimeHold Time is the amount of time the EIGRP is the amount of time the EIGRP

neighbor receiving this message should wait before neighbor receiving this message should wait before considering the advertising router to be down.considering the advertising router to be down.

Page 15: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

TLVTLV : : IP Internal (1)IP Internal (1)

Page 16: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

TLVTLV : : IP Internal (2)IP Internal (2)

• The IP Internal message is used to advertise EIGRP The IP Internal message is used to advertise EIGRP routes within routes within an autonomous system. an autonomous system.

• Important fields for our discussion include: Important fields for our discussion include: the metric the metric fieldsfields (Delay and Bandwidth), (Delay and Bandwidth), the subnet mask fieldthe subnet mask field (Prefix Length), and the (Prefix Length), and the Destination fieldDestination field. .

• Delay is calculated as the sum of delays from source Delay is calculated as the sum of delays from source to destination in units of 10 microseconds. to destination in units of 10 microseconds.

• Bandwidth is the lowest configured bandwidth of any Bandwidth is the lowest configured bandwidth of any interface along the route. interface along the route.

• The subnet mask is specified as the prefix length or The subnet mask is specified as the prefix length or the number of network bits in the subnet mask. the number of network bits in the subnet mask. – For example, the prefix length for the subnet mask For example, the prefix length for the subnet mask

255.255.255.0 is 24 because 24 is the number of network 255.255.255.0 is 24 because 24 is the number of network bits. bits.

Page 17: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

TLVTLV : : IP Internal (3)IP Internal (3)

• The Destination field stores the address of the The Destination field stores the address of the destination network. destination network.

• Although only 24 bits are shown in this figure, this Although only 24 bits are shown in this figure, this field varies based on the value of the network field varies based on the value of the network portion of the 32-bit network address. portion of the 32-bit network address.

• For example, the network portion of 10.1.0.0/16 is For example, the network portion of 10.1.0.0/16 is 10.1. 10.1.

• Therefore, the Destination field stores the first 16 Therefore, the Destination field stores the first 16 bits. bits.

• Because the minimum length of this field is 24 bits, Because the minimum length of this field is 24 bits, the remainder of the field is padded with zeros. the remainder of the field is padded with zeros.

• If a network address is longer than 24 bits If a network address is longer than 24 bits (192.168.1.32/27, for example), then the Destination (192.168.1.32/27, for example), then the Destination field is extended for another 32 bits (for a total of 56 field is extended for another 32 bits (for a total of 56 bits) and the unused bits are padded with zeros.bits) and the unused bits are padded with zeros.

Page 18: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

TLVTLV : : IP External (1) IP External (1)

Page 19: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

TLVTLV : : IP External (2)IP External (2)

• The IP External message is used when external The IP External message is used when external routes are imported into the EIGRP routing process. routes are imported into the EIGRP routing process.

• In later example, we will import or redistribute a In later example, we will import or redistribute a default static route into EIGRP. default static route into EIGRP.

• Notice that the bottom half of the IP External TLV Notice that the bottom half of the IP External TLV includes all the fields used by the IP Internal TLV. includes all the fields used by the IP Internal TLV.

• NoteNote: : • Some EIGRP literature may incorrectly state that Some EIGRP literature may incorrectly state that

the Maximum Transmission Unit (MTU) is one of the the Maximum Transmission Unit (MTU) is one of the metrics used by EIGRP. metrics used by EIGRP.

• MTU is not a metric used by EIGRP. MTU is not a metric used by EIGRP. • The MTU is included in the routing updates but it is The MTU is included in the routing updates but it is

not used to determine the routing metric.not used to determine the routing metric.

Page 20: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Protocol Dependent Modules Protocol Dependent Modules (PDM)(PDM)• EIGRP has the capability for routing several EIGRP has the capability for routing several

different protocols including IP, IPX, and AppleTalk different protocols including IP, IPX, and AppleTalk using protocol-dependent modules (PDM). using protocol-dependent modules (PDM).

• PDMs are responsible for the specific routing tasks PDMs are responsible for the specific routing tasks for each Network layer protocol. for each Network layer protocol.

• For example:For example:• The IP-EIGRP module is responsible for sending and The IP-EIGRP module is responsible for sending and

receiving EIGRP packets that are encapsulated in IP receiving EIGRP packets that are encapsulated in IP and for using DUAL to build and maintain the IP and for using DUAL to build and maintain the IP routing table. routing table.

• The IPX EIGRP module is responsible for exchanging The IPX EIGRP module is responsible for exchanging routing information about IPX networks with other routing information about IPX networks with other IPX EIGRP routers. IPX EIGRP routers.

Page 21: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Protocol Dependent Modules Protocol Dependent Modules (PDM)(PDM)

Page 22: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

RTP and EIGRP Packet types RTP and EIGRP Packet types (1)(1)• Reliable Transport Protocol (RTP) is the protocol used by EIGRP Reliable Transport Protocol (RTP) is the protocol used by EIGRP

for the delivery and reception of EIGRP packets. for the delivery and reception of EIGRP packets. • EIGRP was designed as a Network layer independent routing EIGRP was designed as a Network layer independent routing

protocol; therefore, it cannot use the services of UDP or TCP protocol; therefore, it cannot use the services of UDP or TCP because IPX and Appletalk do not use protocols from the TCP/IP because IPX and Appletalk do not use protocols from the TCP/IP protocol suite. protocol suite.

• Although "Reliable" is part of its name, RTP includes both Although "Reliable" is part of its name, RTP includes both reliable delivery and unreliable delivery of EIGRP packets, reliable delivery and unreliable delivery of EIGRP packets, similar to TCP and UDP, respectively. similar to TCP and UDP, respectively.

• Reliable RTP requires an acknowledgement to be returned by Reliable RTP requires an acknowledgement to be returned by the receiver to the sender. the receiver to the sender.

• An unreliable RTP packet does not require an An unreliable RTP packet does not require an acknowledgement. acknowledgement.

• RTP can send packets either as a unicast or a multicast. RTP can send packets either as a unicast or a multicast. • Multicast EIGRP packets use the reserved multicast address of Multicast EIGRP packets use the reserved multicast address of

224.0.0.10.224.0.0.10.

Page 23: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

RTP and EIGRP Packet types RTP and EIGRP Packet types (2)(2)

Page 24: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

RTP and EIGRP Packet types RTP and EIGRP Packet types (3)(3)

• EIGRP uses five different packet EIGRP uses five different packet types, some in pairs.types, some in pairs.

• Hello packetsHello packets

• Update packetsUpdate packets

• Acknowledgement Acknowledgement ((ACKACK ) ) packets packets

• Query and reply packetsQuery and reply packets

Page 25: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Hello packetsHello packets

Hello packets are used by EIGRP to discover neighbors and to form adjacencies with those neighbors. EIGRP hello packets are multicasts and use unreliable delivery.

Page 26: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Update packetsUpdate packets

• Update packets are used by EIGRP to propagate Update packets are used by EIGRP to propagate routing information. routing information.

• Unlike RIP, EIGRP does not send periodic updates. Unlike RIP, EIGRP does not send periodic updates. Update packets are sent only when necessary.Update packets are sent only when necessary.

• EIGRP updates contain only the routing EIGRP updates contain only the routing information needed and are sent only to those information needed and are sent only to those routers that require it. EIGRP update packets use routers that require it. EIGRP update packets use reliable delivery. reliable delivery.

• Update packets are sent as a multicast when Update packets are sent as a multicast when required by multiple routers, or as a unicast when required by multiple routers, or as a unicast when required by only a single router. required by only a single router.

• In the figure, because the links are point-to-point, In the figure, because the links are point-to-point, the updates are sent as unicasts.the updates are sent as unicasts.

Page 27: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Update and ACK packetsUpdate and ACK packets

Page 28: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Acknowledgement (ACK) Acknowledgement (ACK) packetspackets

• Acknowledgement (ACK) packets are sent by Acknowledgement (ACK) packets are sent by EIGRP when reliable delivery is used. EIGRP when reliable delivery is used.

• RTP uses reliable delivery for EIGRP update, query, RTP uses reliable delivery for EIGRP update, query, and reply packets. and reply packets.

• EIGRP acknowledgement packets are always sent EIGRP acknowledgement packets are always sent as an as an unreliable unicast (unreliable delivery).unreliable unicast (unreliable delivery).

• In the figure, R2 has lost connectivity to the LAN In the figure, R2 has lost connectivity to the LAN attached to its FastEthernet interface. attached to its FastEthernet interface.

• R2 immediately sends an Update to R1 and R3 R2 immediately sends an Update to R1 and R3 noting the downed route. noting the downed route.

• R1 and R3 respond with an acknowledgement.R1 and R3 respond with an acknowledgement.

Page 29: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Query and reply packets (1)Query and reply packets (1)

Query and reply packets are used by DUAL 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.

Page 30: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Query and reply packets (2)Query and reply packets (2)

• In the figure, R2 has lost connectivity to the LAN In the figure, R2 has lost connectivity to the LAN and it sends out queries to all EIGRP neighbors and it sends out queries to all EIGRP neighbors searching for any possible routes to the LAN. searching for any possible routes to the LAN.

• Because queries use reliable delivery, the Because queries use reliable delivery, the receiving router must return an EIGRP receiving router must return an EIGRP acknowledgement. acknowledgement.

• (To keep this example simple, acknowledgements (To keep this example simple, acknowledgements were omitted in the graphic.)were omitted in the graphic.)

• All neighbors must send a reply regardless of All neighbors must send a reply regardless of whether or not they have a route to the downed whether or not they have a route to the downed network. network.

• Because replies also use reliable delivery, routers Because replies also use reliable delivery, routers such as R2, must send an acknowledgement.such as R2, must send an acknowledgement.

Page 31: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Hello ProtocolHello Protocol (1)(1)

• EIGRP routers discover neighbors and establish EIGRP routers discover neighbors and establish adjacencies with neighbor routers using the Hello adjacencies with neighbor routers using the Hello packet. packet.

• On most networks, EIGRP Hello packets are sent On most networks, EIGRP Hello packets are sent every 5 seconds. every 5 seconds.

• On multipoint nonbroadcast multiaccess networks On multipoint nonbroadcast multiaccess networks (NBMA) such as X.25, Frame Relay, and ATM (NBMA) such as X.25, Frame Relay, and ATM interfaces with access links of T1 (1.544 Mbps) or interfaces with access links of T1 (1.544 Mbps) or slower, Hellos are unicast every 60 seconds. slower, Hellos are unicast every 60 seconds.

• An EIGRP router assumes that as long as it is An EIGRP router assumes that as long as it is receiving Hello packets from a neighbor, the receiving Hello packets from a neighbor, the neighbor and its routes remain viable. neighbor and its routes remain viable.

Page 32: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Hello ProtocolHello Protocol (2)(2)

• Holdtime tells the router the maximum time Holdtime tells the router the maximum time the router should wait to receive the next the router should wait to receive the next Hello before declaring that neighbor as Hello before declaring that neighbor as unreachable. unreachable.

• By default, the hold time is three times the By default, the hold time is three times the Hello interval, or 15 seconds on most networks Hello interval, or 15 seconds on most networks and 180 seconds on low speed NBMA and 180 seconds on low speed NBMA networks. If the hold time expires, EIGRP will networks. If the hold time expires, EIGRP will declare the route as down and DUAL will declare the route as down and DUAL will search for a new path by sending out queries. search for a new path by sending out queries.

Page 33: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun
Page 34: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Bounded updateEIGRP Bounded update (1)(1)

• EIGRP uses the term partial or bounded when EIGRP uses the term partial or bounded when referring to its update packets. referring to its update packets.

• Unlike RIP, EIGRP does not send periodic Unlike RIP, EIGRP does not send periodic updates. updates.

• Instead, EIGRP sends its updates only when Instead, EIGRP sends its updates only when the metric for a route changes. the metric for a route changes.

• The term partial means that the update only The term partial means that the update only includes information about the route changes. includes information about the route changes.

• EIGRP sends these incremental updates when EIGRP sends these incremental updates when the state of a destination changes, instead of the state of a destination changes, instead of sending the entire contents of the routing sending the entire contents of the routing table. table.

Page 35: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Bounded updateEIGRP Bounded update (2)(2)

• The term bounded refers to the propagation The term bounded refers to the propagation of partial updates sent only to those routers of partial updates sent only to those routers that are affected by the change. that are affected by the change.

• The partial update is automatically The partial update is automatically "bounded" so that only those routers that "bounded" so that only those routers that need the information are updated. need the information are updated.

• By sending only the routing information that By sending only the routing information that is needed and only to those routers that is needed and only to those routers that need it, EIGRP minimizes the bandwidth need it, EIGRP minimizes the bandwidth required to send EIGRP packets.required to send EIGRP packets.

Page 36: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Bounded updateEIGRP Bounded update (3)(3)

Page 37: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Diffusing Update Algorithm Diffusing Update Algorithm ((DUALDUAL ) ) (1)(1)

• Routing loops can be extremely detrimental to Routing loops can be extremely detrimental to network performance. network performance.

• Distance vector routing protocols such as RIP Distance vector routing protocols such as RIP prevent routing loops with hold-down timers and prevent routing loops with hold-down timers and split horizon. split horizon.

• Although EIGRP uses both of these techniques, it Although EIGRP uses both of these techniques, it uses them somewhat differently; the primary way uses them somewhat differently; the primary way that EIGRP prevents routing loops is with the DUAL that EIGRP prevents routing loops is with the DUAL algorithm. algorithm.

• The DUAL algorithm is used to obtain loop-freedom The DUAL algorithm is used to obtain loop-freedom at every instant throughout a route computation. at every instant throughout a route computation.

• This allows all routers involved in a topology This allows all routers involved in a topology change to synchronize at the same time.change to synchronize at the same time.

Page 38: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Diffusing Update Algorithm Diffusing Update Algorithm ((DUALDUAL)) (2) (2)

• Routers that are not affected by the topology Routers that are not affected by the topology changes are not involved in the recomputation. changes are not involved in the recomputation.

• This method provides EIGRP with faster This method provides EIGRP with faster convergence times than other distance vector convergence times than other distance vector routing protocols.routing protocols.

• The decision process for all route computations The decision process for all route computations is done by the DUAL Finite State Machine. is done by the DUAL Finite State Machine.

• A finite state machine (FSM) is a model of A finite state machine (FSM) is a model of behavior composed of a finite number of behavior composed of a finite number of states, transitions between those states, and states, transitions between those states, and events or actions that create the transitions events or actions that create the transitions

Page 39: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Diffusing Update Algorithm Diffusing Update Algorithm ((DUALDUAL)) (3) (3)• The DUAL FSM tracks all routes, uses its The DUAL FSM tracks all routes, uses its

metric to select efficient, loop-free paths, and metric to select efficient, loop-free paths, and selects the routes with the least cost path to selects the routes with the least cost path to insert into the routing table. insert into the routing table.

• Because recomputation of the DUAL algorithm Because recomputation of the DUAL algorithm can be processor-intensive, it is advantageous can be processor-intensive, it is advantageous to avoid recomputation whenever possible. to avoid recomputation whenever possible.

• Therefore, DUAL maintains a list of backup Therefore, DUAL maintains a list of backup routes it has already determined to be loop-routes it has already determined to be loop-free. free.

• If the primary route in the routing table fails, If the primary route in the routing table fails, the best backup route is immediately added the best backup route is immediately added to the routing table. to the routing table.

Page 40: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Administrative Distance Administrative Distance (AD) (1)(AD) (1)• Administrative distance (AD) is the trustworthiness Administrative distance (AD) is the trustworthiness

(or preference) of the route source. (or preference) of the route source. • EIGRP has a default administrative distance of 90 for EIGRP has a default administrative distance of 90 for

internal routes and 170 for routes imported from an internal routes and 170 for routes imported from an external source, such as default routes. external source, such as default routes.

• When compared to other interior gateway protocols When compared to other interior gateway protocols (IGPs), EIGRP is the most preferred by the Cisco IOS (IGPs), EIGRP is the most preferred by the Cisco IOS because it has the lowest administrative distance. because it has the lowest administrative distance.

• Notice in the figure that EIGRP has a third AD value, Notice in the figure that EIGRP has a third AD value, of 5, for summary routes. Later in this chapter, you of 5, for summary routes. Later in this chapter, you will learn how to configure EIGRP summary routes.will learn how to configure EIGRP summary routes.

Page 41: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Administrative Distance Administrative Distance (AD) (2)(AD) (2)

Page 42: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Authentication (1)Authentication (1)

• EIGRP can be configured for authentication. EIGRP can be configured for authentication. • RIPv2, EIGRP, OSPF, IS-IS, and BGP can all be RIPv2, EIGRP, OSPF, IS-IS, and BGP can all be

configured to encrypt and authenticate their routing configured to encrypt and authenticate their routing information.information.

• It is good practice to authenticate transmitted It is good practice to authenticate transmitted routing information. routing information.

• This practice ensures that routers will only accept This practice ensures that routers will only accept routing information from other routers that have routing information from other routers that have been configured with the same password or been configured with the same password or authentication information. authentication information.

• Note: Authentication does not encrypt the router's Note: Authentication does not encrypt the router's routing table.routing table.

Page 43: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Authentication (2)Authentication (2)

Page 44: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Autonomous System (1)Autonomous System (1)

• An autonomous system (AS) is a collection of networks An autonomous system (AS) is a collection of networks under the administrative control of a single entity that under the administrative control of a single entity that presents a common routing policy to the Internet. presents a common routing policy to the Internet.

• In the figure, companies A, B, C, and D are all under the In the figure, companies A, B, C, and D are all under the administrative control of ISP1. administrative control of ISP1.

• ISP1 "presents a common routing policy" for all of these ISP1 "presents a common routing policy" for all of these companies when advertising routes to ISP2. companies when advertising routes to ISP2.

• The guidelines for the creation, selection, and registration of The guidelines for the creation, selection, and registration of an autonomous system are described in RFC 1930. an autonomous system are described in RFC 1930.

• AS numbers are assigned by the Internet Assigned Numbers AS numbers are assigned by the Internet Assigned Numbers Authority (IANA), the same authority that assigns IP address Authority (IANA), the same authority that assigns IP address space.space.

• Prior to 2007, AS numbers were 16-bit numbers, ranging Prior to 2007, AS numbers were 16-bit numbers, ranging from 0 to 65535. Now 32-bit AS numbers are assigned, from 0 to 65535. Now 32-bit AS numbers are assigned, increasing the number of available AS numbers to over 4 increasing the number of available AS numbers to over 4 billion. billion.

Page 45: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Autonomous System (2)Autonomous System (2)

Page 46: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Autonomous System (3)Autonomous System (3)

• Who needs an autonomous system number? Usually ISPs Who needs an autonomous system number? Usually ISPs (Internet Service Providers), Internet backbone providers, (Internet Service Providers), Internet backbone providers, and large institutions connecting to other entities that also and large institutions connecting to other entities that also have an AS number. have an AS number.

• These ISPs and large institutions use the exterior gateway These ISPs and large institutions use the exterior gateway routing protocol Border Gateway Protocol, or BGP, to routing protocol Border Gateway Protocol, or BGP, to propagate routing information. propagate routing information.

• BGP is the only routing protocol that uses an actual BGP is the only routing protocol that uses an actual autonomous system number in its configuration. autonomous system number in its configuration.

• The vast majority of companies and institutions with IP The vast majority of companies and institutions with IP networks do not need an AS number because they come networks do not need an AS number because they come under the control of a larger entity such as an ISP. under the control of a larger entity such as an ISP.

• These companies use interior gateway protocols such as RIP, These companies use interior gateway protocols such as RIP, EIGRP, OSPF, and IS-IS to route packets within their own EIGRP, OSPF, and IS-IS to route packets within their own networks. networks.

• They are one of many independent and separate networks They are one of many independent and separate networks within the autonomous system of the ISP. within the autonomous system of the ISP.

Page 47: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Process ID (1)Process ID (1)

• Both EIGRP and OSPF use a process ID to represent Both EIGRP and OSPF use a process ID to represent an instance of their respective routing protocol an instance of their respective routing protocol running on the router. running on the router.

• Router(config)#router eigrpautonomous-systemRouter(config)#router eigrpautonomous-system

• Although EIGRP refers to the parameter as an Although EIGRP refers to the parameter as an "autonomous-system" number, it actually functions "autonomous-system" number, it actually functions as a process ID. This number is not associated with as a process ID. This number is not associated with an autonomous system number discussed an autonomous system number discussed previously and can be assigned any 16-bit value. previously and can be assigned any 16-bit value.

• Router(config)#router eigrp 1Router(config)#router eigrp 1

Page 48: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Process ID (2)Process ID (2)

Page 49: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Process ID (3)Process ID (3)

• In this example, the number 1 identifies this In this example, the number 1 identifies this particular EIGRP process running on this router.particular EIGRP process running on this router.

• In order to establish neighbor adjacencies, EIGRP In order to establish neighbor adjacencies, EIGRP requires all routers in the same routing domain to requires all routers in the same routing domain to be configured with the same process ID. be configured with the same process ID.

• Typically, only a single process ID of any routing Typically, only a single process ID of any routing protocol would be configured on a router. protocol would be configured on a router.

• Note: RIP does not use process IDs; therefore, it Note: RIP does not use process IDs; therefore, it can only support a single instance of RIP. can only support a single instance of RIP.

• Both EIGRP and OSPF can support multiple Both EIGRP and OSPF can support multiple instances of each routing protocol, although this instances of each routing protocol, although this type of multiple routing protocol implementation is type of multiple routing protocol implementation is not usually needed or recommendednot usually needed or recommended

Page 50: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

The network commandThe network command (1)(1)

• The network command in EIGRP has the same function as The network command in EIGRP has the same function as in other IGP routing protocols: in other IGP routing protocols: – Any interface on this router that matches the network address in Any interface on this router that matches the network address in

the network command will be enabled to send and receive EIGRP the network command will be enabled to send and receive EIGRP updates.updates.

– This network (or subnet) will be included in EIGRP routing updates.This network (or subnet) will be included in EIGRP routing updates.

• Router(config-router)#network network-addressRouter(config-router)#network network-address• The network-address is the classful network address for The network-address is the classful network address for

this interface. The figure shows the network commands this interface. The figure shows the network commands configured for R1 and R2.configured for R1 and R2.

• In the figure, a single classful network statement is used In the figure, a single classful network statement is used on R1 to include both 172.16.1.0/24 and 172.16.3.0/30 on R1 to include both 172.16.1.0/24 and 172.16.3.0/30 subnets:subnets:

• R1(config-router)#network 172.16.0.0R1(config-router)#network 172.16.0.0

Page 51: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun
Page 52: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

The network commandThe network command (2)(2)

• When EIGRP is configured on R2, DUAL sends a When EIGRP is configured on R2, DUAL sends a notification message to the console stating that a notification message to the console stating that a neighbor relationship with another EIGRP router has neighbor relationship with another EIGRP router has been established. been established.

• This new adjacency happens automatically because This new adjacency happens automatically because both R1 and R2 are using the same eigrp 1 routing both R1 and R2 are using the same eigrp 1 routing process and both routers are now sending updates on process and both routers are now sending updates on the 172.16.0.0 network.the 172.16.0.0 network.

• R2(config-router)#network 172.16.0.0R2(config-router)#network 172.16.0.0

%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.1 %DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.1 (Serial0/0) is up: new adjacency(Serial0/0) is up: new adjacency

Page 53: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

The network command with a The network command with a wildcard maskwildcard mask (1)(1)• By default, when using the network command By default, when using the network command

and a classful network address such as and a classful network address such as 172.16.0.0, all interfaces on the router that 172.16.0.0, all interfaces on the router that belong to that classful network address will be belong to that classful network address will be enabled for EIGRP. enabled for EIGRP.

• However, there may be times when the network However, there may be times when the network administrator does not want to include all administrator does not want to include all interfaces within a network when enabling EIGRP. interfaces within a network when enabling EIGRP.

• To configure EIGRP to advertise specific subnets To configure EIGRP to advertise specific subnets only, use the wildcard-mask option with the only, use the wildcard-mask option with the network command:network command:

• Router(config-router)#network network-address Router(config-router)#network network-address [wildcard-mask] [wildcard-mask]

Page 54: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

The network command with a The network command with a wildcard maskwildcard mask (2)(2)• in the figure, R2 is configured with the subnet in the figure, R2 is configured with the subnet

192.168.10.8 and the wildcard mask 0.0.0.3.192.168.10.8 and the wildcard mask 0.0.0.3.

• R2(config-router)#network 192.168.10.8 0.0.0.3R2(config-router)#network 192.168.10.8 0.0.0.3

• Some IOS versions will also let you simply enter Some IOS versions will also let you simply enter the subnet mask. For example, you might enter the subnet mask. For example, you might enter the following:the following:

• R2(config-router)#network 192.168.10.8 R2(config-router)#network 192.168.10.8 255.255.255.252255.255.255.252

Page 55: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Verifying EIGRP (1)Verifying EIGRP (1)

• Before any updates can be sent or received by Before any updates can be sent or received by EIGRP, routers must establish adjacencies with EIGRP, routers must establish adjacencies with their neighbors. their neighbors.

• EIGRP routers establish adjacencies with neighbor EIGRP routers establish adjacencies with neighbor routers by exchanging EIGRP Hello packets. routers by exchanging EIGRP Hello packets.

• Use the Use the show ip eigrp neighborsshow ip eigrp neighbors command to view command to view the neighbor table and verify that EIGRP has the neighbor table and verify that EIGRP has established an adjacency with its neighbors. established an adjacency with its neighbors.

• In the figure, we can verify that all routers have In the figure, we can verify that all routers have established the necessary adjacencies. established the necessary adjacencies. – Each router has two neighbors listed in the neighbor Each router has two neighbors listed in the neighbor

table.table.

Page 56: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Verifying EIGRP (2)Verifying EIGRP (2)

Page 57: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Verifying EIGRP (3)Verifying EIGRP (3)

• H columnH column - Lists the neighbors in the order - Lists the neighbors in the order they were learned.they were learned.

• AddressAddress - The IP address of the neighbor. - The IP address of the neighbor.• InterfaceInterface - The local interface on which - The local interface on which

this Hello packet was received.this Hello packet was received.• Hold Hold - The current hold time. Whenever a - The current hold time. Whenever a

Hello packet is received, this value is reset Hello packet is received, this value is reset to the maximum hold time for that to the maximum hold time for that interface and then counts down to zero. If interface and then counts down to zero. If zero is reached, the neighbor is considered zero is reached, the neighbor is considered "down"."down".

• UptimeUptime - Amount of time since this - Amount of time since this neighbor was added to the neighbor table.neighbor was added to the neighbor table.

Page 58: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Verifying EIGRP (4)Verifying EIGRP (4)

• SRTT (Smooth Round Trip Timer) and RTOSRTT (Smooth Round Trip Timer) and RTO (Retransmit Interval) - Used by RTP to (Retransmit Interval) - Used by RTP to manage reliable EIGRP packets. SRTT and manage reliable EIGRP packets. SRTT and RTO are discussed further in CCNP courses.RTO are discussed further in CCNP courses.

• Queue CountQueue Count - Should always be zero. If - Should always be zero. If more than zero, then EIGRP packets are more than zero, then EIGRP packets are waiting to be sent. Queue count is waiting to be sent. Queue count is discussed further in CCNP courses.discussed further in CCNP courses.

• Sequence NumberSequence Number - Used to track updates, - Used to track updates, queries, and reply packets..queries, and reply packets..

Page 59: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Verifying EIGRP (5)Verifying EIGRP (5)

Page 60: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Examine Routing Table (1)Examine Routing Table (1)

• By default, EIGRP automatically summarizes routes By default, EIGRP automatically summarizes routes at the major network boundary. at the major network boundary.

• We can disable the automatic summarization with We can disable the automatic summarization with the the no auto-summary commandno auto-summary command, just as we did in , just as we did in RIPv2. RIPv2.

• Notice that EIGRP routes are denoted in the routing Notice that EIGRP routes are denoted in the routing table with a D, which stands for DUAL. table with a D, which stands for DUAL.

• Remember, because EIGRP is a Remember, because EIGRP is a classless routing classless routing protocolprotocol (includes the subnet mask in the routing (includes the subnet mask in the routing update), it supports update), it supports VLSM and CIDRVLSM and CIDR. .

• We can see in the routing table for R1 that the We can see in the routing table for R1 that the 172.16.0.0/16 parent network is variably subnetted 172.16.0.0/16 parent network is variably subnetted with three child routes using either a /24 or /30 with three child routes using either a /24 or /30 mask. mask.

Page 61: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Auto summary from other routers which make the route has the same metric (load balancing)

Page 62: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun
Page 63: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Introducing the Null0 Summary Introducing the Null0 Summary Route (1)Route (1)• The summary routes are sourced from Null0 - this is because The summary routes are sourced from Null0 - this is because

these routes are used for advertisement purposes. these routes are used for advertisement purposes. • The 192.168.10.0/24 and 172.16.0.0/16 routes do not The 192.168.10.0/24 and 172.16.0.0/16 routes do not

actually represent a path to reach the parent networks. actually represent a path to reach the parent networks. • If a packet does not match one of the level 2 child routes, it If a packet does not match one of the level 2 child routes, it

is sent to the Null0 interface. In other words, if the packet is sent to the Null0 interface. In other words, if the packet matches the level 1 parent - the classful network address - matches the level 1 parent - the classful network address - but none of the subnets, the packet is discarded. but none of the subnets, the packet is discarded.

• Note: EIGRP automatically includes a null0 summary route as Note: EIGRP automatically includes a null0 summary route as a child route whenever both of following conditions exist:a child route whenever both of following conditions exist:– There is at least one subnet that was learned via EIGRP.There is at least one subnet that was learned via EIGRP.– Automatic summarization is enabled.Automatic summarization is enabled.

• The null0 summary route is removed when automatic The null0 summary route is removed when automatic summary is disabled.summary is disabled.

Page 64: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Introducing the Null0 Summary Introducing the Null0 Summary Route (2)Route (2)

Page 65: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Metric calculationEIGRP Metric calculation• EIGRP uses the following values in its EIGRP uses the following values in its

composite metric to calculate the preferred composite metric to calculate the preferred path to a network:path to a network:– BandwidthBandwidth– DelayDelay– ReliabilityReliability– LoadLoad

• By default, only bandwidth and delay are By default, only bandwidth and delay are used to calculate the metric. used to calculate the metric.

• Cisco recommends that reliability and load Cisco recommends that reliability and load are not used unless the administrator has are not used unless the administrator has an explicit need to do so.an explicit need to do so.

Page 66: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP composite metricEIGRP composite metric

The tos (Type of Service) value is left over from IGRP and was never implemented. The tos value is always set to 0.

Page 67: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun
Page 68: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Metrics (1)EIGRP Metrics (1)• By using By using the show interface commandthe show interface command we we

can examine the actual values used for can examine the actual values used for bandwidth, delay, reliability, and load in the bandwidth, delay, reliability, and load in the computation of the routing metric. computation of the routing metric.

Page 69: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Metrics (2)EIGRP Metrics (2)• The bandwidth metricThe bandwidth metric (1544 Kbit) is a static value (1544 Kbit) is a static value

used by some routing protocols such as EIGRP and used by some routing protocols such as EIGRP and OSPF to calculate their routing metric.OSPF to calculate their routing metric.

• The bandwidth is displayed in Kbit (kilobits). The bandwidth is displayed in Kbit (kilobits). • Most serial interfaces use the default bandwidth Most serial interfaces use the default bandwidth

value of 1544 Kbit or 1,544,000 bps (1.544 Mbps). value of 1544 Kbit or 1,544,000 bps (1.544 Mbps). • This is the This is the bandwidth of a T1 connectionbandwidth of a T1 connection. . • The value of the bandwidth may or may not reflect The value of the bandwidth may or may not reflect

the actual physical bandwidth of the interface. the actual physical bandwidth of the interface. • Modifying the bandwidth value does not change Modifying the bandwidth value does not change

the actual bandwidth of the linkthe actual bandwidth of the link

Page 70: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Metrics (3)EIGRP Metrics (3)

• DelayDelay is a measure of the time it takes for a is a measure of the time it takes for a packet to traverse a route. packet to traverse a route.

• The delay (DLY) metric is a static value The delay (DLY) metric is a static value based on based on the type of linkthe type of link to which the interface is to which the interface is connected and is expressed in microseconds.connected and is expressed in microseconds.

• Delay Delay is not measured dynamicallyis not measured dynamically. In other . In other words, the router does not actually track how words, the router does not actually track how long packets are taking to reach the destination. long packets are taking to reach the destination.

• The delay value, much like the bandwidth value, The delay value, much like the bandwidth value, is a default value that can be changed by the is a default value that can be changed by the network administrator.network administrator.

Page 71: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Metrics (4)EIGRP Metrics (4)

• The table in the figure The table in the figure shows the default shows the default delay values for delay values for various interfaces. various interfaces.

• Notice that the default Notice that the default value is 20,000 value is 20,000 microseconds for Serial microseconds for Serial interfaces and 100 interfaces and 100 microseconds for microseconds for FastEthernet FastEthernet interfaces.interfaces.

Page 72: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Metrics (5)EIGRP Metrics (5)• Reliability Reliability is a measure of the probability that is a measure of the probability that

the link will fail or how often the link has the link will fail or how often the link has experienced errors. experienced errors.

• Unlike delay, Reliability is measured dynamically Unlike delay, Reliability is measured dynamically with a value between 0 and 255, with 1 being a with a value between 0 and 255, with 1 being a minimally reliable link and 255 one hundred minimally reliable link and 255 one hundred percent reliable. percent reliable.

• Reliability is calculated on a Reliability is calculated on a 5-minute weighted 5-minute weighted averageaverage to avoid the sudden impact of high (or to avoid the sudden impact of high (or low) error rates. low) error rates.

• Reliability is expressed as a fraction of 255 - the Reliability is expressed as a fraction of 255 - the higher the value, the more reliable the link. higher the value, the more reliable the link.

• So, 255/255 would be 100 percent reliable, So, 255/255 would be 100 percent reliable, whereas a link of 234/255 would be 91.8 percent whereas a link of 234/255 would be 91.8 percent reliable.reliable.

Page 73: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Metrics (6)EIGRP Metrics (6)

• LoadLoad reflects the amount of traffic utilizing the link. reflects the amount of traffic utilizing the link.

• Like reliability, load is measured dynamically with a Like reliability, load is measured dynamically with a value between 0 and 255. value between 0 and 255.

• Similar to reliability, load is expressed as a fraction Similar to reliability, load is expressed as a fraction of 255. of 255.

• However, in this case a lower load value is more However, in this case a lower load value is more desirable because it indicates less load on the link. desirable because it indicates less load on the link.

• So, 1/255 would be a minimally loaded link. 40/255 So, 1/255 would be a minimally loaded link. 40/255 is a link at 16 percent capacity, and 255/255 would is a link at 16 percent capacity, and 255/255 would be a link that is 100 percent saturated.be a link that is 100 percent saturated.

Page 74: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Metrics (7)EIGRP Metrics (7)

• Load is displayed as both an outbound, or transmit, load Load is displayed as both an outbound, or transmit, load value (txload) and an inbound, or receive, load value value (txload) and an inbound, or receive, load value (rxload). (rxload).

• This value is calculated on a 5-minute weighted average to This value is calculated on a 5-minute weighted average to avoid the sudden impact of high (or low) channel usage.avoid the sudden impact of high (or low) channel usage.

Page 75: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Changing metrics – bandwidth Changing metrics – bandwidth (1)(1)

• On most serial links, the bandwidth metric will On most serial links, the bandwidth metric will default to 1544 Kbits.default to 1544 Kbits.

• Because both EIGRP and OSPF use bandwidth Because both EIGRP and OSPF use bandwidth in default metric calculations, a correct value in default metric calculations, a correct value for bandwidth is very important to the for bandwidth is very important to the accuracy of routing informationaccuracy of routing information

• Use the interface command bandwidth to Use the interface command bandwidth to modify the bandwidth metric: modify the bandwidth metric:

Router(config-if)#bandwidth kilobitsRouter(config-if)#bandwidth kilobits• Use the interface command Use the interface command no bandwidthno bandwidth to to

restore the default value.restore the default value.

Page 76: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun
Page 77: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Changing metrics – bandwidth Changing metrics – bandwidth (2)(2)

• Note: A common misconception for students Note: A common misconception for students new to networking and the Cisco IOS is to new to networking and the Cisco IOS is to assume that the bandwidth command will assume that the bandwidth command will change the physical bandwidth of the link. change the physical bandwidth of the link.

• The The bandwidth command only modifies the bandwidth command only modifies the bandwidth metricbandwidth metric used by routing protocols used by routing protocols such as EIGRP and OSPF. such as EIGRP and OSPF.

• Sometimes, a network administrator will Sometimes, a network administrator will change the bandwidth value in order have change the bandwidth value in order have more control over the chosen outgoing more control over the chosen outgoing interface.interface.

Page 78: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Changing metrics – bandwidth Changing metrics – bandwidth (3)(3)

Page 79: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Metric calculation (1)Metric calculation (1)

Page 80: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Metric calculation (2)Metric calculation (2)

• The routing table output for R2 shows that The routing table output for R2 shows that the route to 192.168.1.0/24 has an EIGRP the route to 192.168.1.0/24 has an EIGRP metric of 3,014,400metric of 3,014,400

Page 81: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Metric calculation – bandwidth Metric calculation – bandwidth (1)(1)

• Because EIGRP uses the slowest bandwidth in Because EIGRP uses the slowest bandwidth in its metric calculation, we can find the slowest its metric calculation, we can find the slowest bandwidth by examining each interface bandwidth by examining each interface between R2 and the destination network between R2 and the destination network 192.168.1.0. 192.168.1.0.

• The Serial 0/0/1 interface on R2 has a The Serial 0/0/1 interface on R2 has a bandwidth of 1,024 Kbps or 1,024,000 bps. bandwidth of 1,024 Kbps or 1,024,000 bps.

• The FastEthernet 0/0 interface on R3 has a The FastEthernet 0/0 interface on R3 has a bandwidth of 100,000 Kbps or 100 Mbps. bandwidth of 100,000 Kbps or 100 Mbps.

• Therefore, Therefore, the slowest bandwidth is 1024 Kbpsthe slowest bandwidth is 1024 Kbps and is used in the calculation of the metric.and is used in the calculation of the metric.

Page 82: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Metric calculation – bandwidth Metric calculation – bandwidth (2)(2)

Page 83: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Metric calculation – bandwidth Metric calculation – bandwidth (3)(3)

• EIGRP takes the bandwidth value in kbps and EIGRP takes the bandwidth value in kbps and divides it by a reference bandwidth value of divides it by a reference bandwidth value of 10,000,000. 10,000,000.

• This will result in higher bandwidth values This will result in higher bandwidth values receiving a lower metric and lower bandwidth receiving a lower metric and lower bandwidth values receiving a higher metric. values receiving a higher metric.

• In this case, 10,000,000 divided by 1024 In this case, 10,000,000 divided by 1024 equals 9765.625. equals 9765.625.

• The .625 is dropped before multiplying by The .625 is dropped before multiplying by 256. The bandwidth portion of the composite 256. The bandwidth portion of the composite metric is 2,499,840.metric is 2,499,840.

Page 84: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Metric calculation – delay Metric calculation – delay (1)(1)

• EIGRP uses the cumulative sum of delay EIGRP uses the cumulative sum of delay metrics of all of the outgoing interfaces. metrics of all of the outgoing interfaces. – The Serial 0/0/1 interface on R2 has a delay of The Serial 0/0/1 interface on R2 has a delay of

20000 microseconds. 20000 microseconds. – The FastEthernet 0/0 interface on R3 has a delay of The FastEthernet 0/0 interface on R3 has a delay of

100 microseconds. 100 microseconds.

• Each delay value is divided by 10 and then Each delay value is divided by 10 and then summed. summed. – 20,000/10 + 100/10 results in a value of 2,010. 20,000/10 + 100/10 results in a value of 2,010. – This result is then multiplied by 256. This result is then multiplied by 256. – The delay portion of the composite metric is The delay portion of the composite metric is

514,560.514,560.

Page 85: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Metric calculation – delay Metric calculation – delay (2)(2)

Page 86: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

• Simply add the two values together, 2,499,840 + 514,560,Simply add the two values together, 2,499,840 + 514,560, to obtain the EIGRP metric of 3,014,400. to obtain the EIGRP metric of 3,014,400. • This is a result of the slowest bandwidth and the sum of the This is a result of the slowest bandwidth and the sum of the delaysdelays

Page 87: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

DUAL conceptsDUAL concepts

• DUAL uses several terms which will be discussed in DUAL uses several terms which will be discussed in more detail: more detail:

• SuccessorSuccessor• Feasible Distance (FD)Feasible Distance (FD)• Feasible Successor (FS)Feasible Successor (FS)• Reported Distance (RD) or Advertised Distance (AD)Reported Distance (RD) or Advertised Distance (AD)• Feasible Condition or Feasibility Condition (FC)Feasible Condition or Feasibility Condition (FC)

Page 88: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Successor and Feasible Successor and Feasible Distance (1)Distance (1)

• A A successorsuccessor is a neighboring router that is is a neighboring router that is used for packet forwarding and is the least-used for packet forwarding and is the least-cost route to the destination network. cost route to the destination network. – The IP address of a successor is shown in a routing The IP address of a successor is shown in a routing

table entry right after the word via. table entry right after the word via.

• Feasible distance (FD) is the lowest calculated Feasible distance (FD) is the lowest calculated metric to reach the destination network. metric to reach the destination network. – FD is the metric listed in the routing table entry as FD is the metric listed in the routing table entry as

the second number inside the brackets. the second number inside the brackets. – As with other routing protocols this is also known As with other routing protocols this is also known

as the metric for the route. as the metric for the route.

Page 89: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Successor and Feasible Successor and Feasible Distance (2)Distance (2)

Page 90: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Feasible Successor Feasible Successor

• One of the reasons DUAL can converge One of the reasons DUAL can converge quickly after a change in the topology is quickly after a change in the topology is because it can use backup paths to because it can use backup paths to other routers known as feasible other routers known as feasible successors without having to recompute successors without having to recompute DUAL. DUAL.

• A feasible successor (FS)A feasible successor (FS) is a neighbor is a neighbor who has a loop-free backup path to the who has a loop-free backup path to the same network as the successor by same network as the successor by satisfying the feasibility condition. satisfying the feasibility condition.

Page 91: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

• In our topology, would R2 consider R1 to be a In our topology, would R2 consider R1 to be a feasible successor to network 192.168.1.0/24? feasible successor to network 192.168.1.0/24?

• In order to be a feasible successor, R1 must In order to be a feasible successor, R1 must satisfy the satisfy the feasibility condition (FC).feasibility condition (FC).

Page 92: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Feasibility condition (FC)Feasibility condition (FC)

• The feasibility condition (FC)The feasibility condition (FC) is met is met when a neighbor's reported distance when a neighbor's reported distance (RD) to a network is less than the local (RD) to a network is less than the local router's feasible distance to the same router's feasible distance to the same destination network. destination network.

• The reported distanceThe reported distance or advertised or advertised distance is simply an EIGRP neighbor's distance is simply an EIGRP neighbor's feasible distance to the same feasible distance to the same destination network. destination network.

Page 93: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Reported distance (RD) (1)Reported distance (RD) (1)

• The reported distanceThe reported distance is the metric that is the metric that a router reports to a neighbor about its a router reports to a neighbor about its own cost to that network. own cost to that network. – In the figure, R1 is reporting to R2 that its In the figure, R1 is reporting to R2 that its

feasible distance to 192.168.1.0/24 is feasible distance to 192.168.1.0/24 is 2172416. 2172416.

– From R2's perspective, 2172416 is R1's From R2's perspective, 2172416 is R1's reported distance. From R1's perspective, reported distance. From R1's perspective, 2172416 is its feasible distance.2172416 is its feasible distance.

Page 94: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Reported distance (RD) (2)Reported distance (RD) (2)

Page 95: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

• R2 examines the reported distance (RD) of 2172416 R2 examines the reported distance (RD) of 2172416 from R1. from R1.

• Because the reported distance (RD) of R1 is less than Because the reported distance (RD) of R1 is less than R2's own feasible distance (FD) of 3014400, R1 meets R2's own feasible distance (FD) of 3014400, R1 meets the feasibility condition. the feasibility condition.

• R1 is now a feasible successor for R2 to the R1 is now a feasible successor for R2 to the 192.168.1.0/24 network.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?

Page 96: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Topology table – successor and Topology table – successor and feasible successor (1)feasible successor (1)

• The successor, feasible distance, and any The successor, feasible distance, and any feasible successors with their reported feasible successors with their reported distances are kept by a router in its distances are kept by a router in its EIGRP topology table or topology EIGRP topology table or topology database. database.

• The topology table can be viewed using The topology table can be viewed using the the show ip eigrp topology commandshow ip eigrp topology command. .

• The topology table lists all successors The topology table lists all successors and feasible successors that DUAL has and feasible successors that DUAL has calculated to destination networks.calculated to destination networks.

Page 97: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun
Page 98: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Topology table – successor and Topology table – successor and feasible successor (2)feasible successor (2)

• P P - This route is in the passive state. - This route is in the passive state. – When DUAL is not performing its diffusing computations to When DUAL is not performing its diffusing computations to

determine a path for a network, the route will be in a stable determine a path for a network, the route will be in a stable mode, known as the mode, known as the passive statepassive state. .

– If DUAL is recalculating or searching for a new path, the If DUAL is recalculating or searching for a new path, the route will be in an active state. route will be in an active state.

– All routes in the topology table All routes in the topology table should be in the passive should be in the passive statestate for a stable routing domain. for a stable routing domain.

• 192.168.1.0/24192.168.1.0/24 - This is the destination network - This is the destination network that is also found in the routing table.that is also found in the routing table.

• 1 successors1 successors - This shows the number of successors - This shows the number of successors for this network. If there are multiple equal cost for this network. If there are multiple equal cost paths to this network, there will be multiple paths to this network, there will be multiple successors.successors.

• FD is 3014400FD is 3014400 - This is the feasible distance, the - This is the feasible distance, the EIGRP metric to reach the destination network. EIGRP metric to reach the destination network.

Page 99: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Topology table – successor and Topology table – successor and feasible successor (3)feasible successor (3)

• The first entry shows the successor:The first entry shows the successor:• via 192.168.10.10via 192.168.10.10 - This is the next-hop address - This is the next-hop address

of the successor, R3. of the successor, R3. – This address is shown in the routing table.This address is shown in the routing table.

• 30144003014400 - This is the feasible distance to - This is the feasible distance to 192.168.1.0/24. 192.168.1.0/24. – It is the metric shown in the routing table.It is the metric shown in the routing table.

• 2816028160 - This is the reported distance of the - This is the reported distance of the successor and is R3's cost to reach this network.successor and is R3's cost to reach this network.

• Serial0/0/1Serial0/0/1 - This is the outbound interface used - This is the outbound interface used to reach this network, also shown in the routing to reach this network, also shown in the routing table.table.

Page 100: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Topology table – successor and Topology table – successor and feasible successor (4)feasible successor (4)• The second entry shows the feasible successorThe second entry shows the feasible successor, ,

R1 (if there is not a second entry, then there are R1 (if there is not a second entry, then there are no feasible successors):no feasible successors):

• via 172.16.3.1via 172.16.3.1 - This is the next-hop address of - This is the next-hop address of the feasible successor, R1.the feasible successor, R1.

• 4102656041026560 - This would be R2's new feasible - This would be R2's new feasible distance to 192.168.1.0/24 if R1 became the new distance to 192.168.1.0/24 if R1 became the new successor. successor.

• 21724162172416 - This is the reported distance of the - This is the reported distance of the feasible successor or R1's metric to reach this feasible successor or R1's metric to reach this network. network. – This value, RD, must be less than the current FD of This value, RD, must be less than the current FD of

3014400 to meet the feasibility condition.3014400 to meet the feasibility condition.• Serial0/0/0Serial0/0/0 - This is the outbound interface used - This is the outbound interface used

to reach feasible successor, if this router to reach feasible successor, if this router becomes the successor.becomes the successor.

Page 101: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Topology table – successor and Topology table – successor and feasible successor (5)feasible successor (5)

• To view detailed information about the To view detailed information about the metrics of a specific entry in the topology metrics of a specific entry in the topology table, add the optional parameter [network] table, add the optional parameter [network] to the to the show ip eigrp topology commandshow ip eigrp topology command

R2#show ip eigrp topology 192.168.1.0R2#show ip eigrp topology 192.168.1.0• This command lists the full list of distance This command lists the full list of distance

vector metrics available to EIGRP even vector metrics available to EIGRP even though, by default, EIGRP only uses though, by default, EIGRP only uses bandwidth and delay. bandwidth and delay.

• It also displays other information included in It also displays other information included in the routing update, but not included in the the routing update, but not included in the composite metric: minimum MTU and hop composite metric: minimum MTU and hop count.count.

Page 102: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Topology table – successor and Topology table – successor and feasible successor (6)feasible successor (6)

Page 103: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Topology table – no Feasible Topology table – no Feasible successor (1)successor (1)

Page 104: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

• It is obvious that there is a backup route to It is obvious that there is a backup route to 192.168.1.0/24 through R2.192.168.1.0/24 through R2.

• Why isn't R2 listed as a feasible successor?Why isn't R2 listed as a feasible successor?

• R2 is not a feasible successor because it R2 is not a feasible successor because it does not meet the feasibility condition. does not meet the feasibility condition.

Page 105: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Topology table – no Feasible Topology table – no Feasible successor (2)successor (2)

The The show ip eigrp topology all-links commandshow ip eigrp topology all-links command shows all possible paths to shows all possible paths to a network including successors, feasible successors, and even those routes a network including successors, feasible successors, and even those routes that are not feasible successorsthat are not feasible successors

Page 106: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Topology table – no Feasible Topology table – no Feasible successor (3)successor (3)

• R1's feasible distance to 192.168.1.0/24 is R1's feasible distance to 192.168.1.0/24 is 2172416 via the successor R3. 2172416 via the successor R3.

• For R2 to be considered a feasible successor, it For R2 to be considered a feasible successor, it must meet the feasibility conditionmust meet the feasibility condition. .

• R2's feasible distance to reach 192.168.1.0/24 R2's feasible distance to reach 192.168.1.0/24 must be less the R1's current feasible distance must be less the R1's current feasible distance (FD). (FD).

• However, R2's feasible distance is 3014400, which However, R2's feasible distance is 3014400, which is higher thanis higher than R1's feasible distance of 2172416 R1's feasible distance of 2172416

• DUAL's method of guaranteeing that a neighbor DUAL's method of guaranteeing that a neighbor has a loop-free path is that the neighbor's metric has a loop-free path is that the neighbor's metric must satisfy the feasibility conditionmust satisfy the feasibility condition– the router can assume that this neighboring router is the router can assume that this neighboring router is

not part of its own advertised route, thus always not part of its own advertised route, thus always avoiding the potential for a loop.avoiding the potential for a loop.

Page 107: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

DUAL Finite State Machine DUAL Finite State Machine (1)(1)

• A finite state machineA finite state machine is an abstract machine, is an abstract machine, not a mechanical device with moving parts. not a mechanical device with moving parts.

• FSMs define a set of possible states that FSMs define a set of possible states that something can go through, what events something can go through, what events cause those states, and what events result cause those states, and what events result from those states. from those states.

• Designers use FSMs to describe how a device, Designers use FSMs to describe how a device, computer program, or routing algorithm will computer program, or routing algorithm will react to a set of input events.react to a set of input events.

• We will use We will use debug eigrp fsmdebug eigrp fsm commandcommand to to examine some of the output from EIGRP's examine some of the output from EIGRP's finite state machine using. finite state machine using.

Page 108: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

DUAL Finite State Machine DUAL Finite State Machine (2)(2)

Page 109: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

DUAL Finite State Machine DUAL Finite State Machine - Feasible successor (1)- Feasible successor (1)

Page 110: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

DUAL Finite State MachineDUAL Finite State Machine - Feasible successor (2) - Feasible successor (2)

Page 111: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

DUAL Finite State Machine DUAL Finite State Machine - Feasible successor (3) - Feasible successor (3)

Page 112: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

DUAL Finite State Machine DUAL Finite State Machine - No Feasible successor (1) - No Feasible successor (1)

Page 113: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

DUAL Finite State Machine DUAL Finite State Machine - No Feasible successor (2) - No Feasible successor (2)

Page 114: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

DUAL Finite State Machine DUAL Finite State Machine - No Feasible successor (3) - No Feasible successor (3)

• When the successor is no longer available When the successor is no longer available and there is no feasible successor, DUAL will and there is no feasible successor, DUAL will put the route into put the route into active stateactive state..

• DUAL DUAL will send EIGRP querieswill send EIGRP queries asking other asking other routers for a path to this network. routers for a path to this network. – Other routers will return EIGRP replies, letting the Other routers will return EIGRP replies, letting the

sender of the EIGRP query know whether or not sender of the EIGRP query know whether or not they have a path to the requested network.they have a path to the requested network.

– If none of the EIGRP replies have a path to this If none of the EIGRP replies have a path to this network, the sender of the query will not have a network, the sender of the query will not have a route to this network. route to this network.

– If the sender of the EIGRP queries receives EIGRP If the sender of the EIGRP queries receives EIGRP replies that include a path to the requested replies that include a path to the requested network, the preferred path is added as the new network, the preferred path is added as the new successor and added to the routing table. successor and added to the routing table.

Page 115: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

The Null0 summary route The Null0 summary route (1)(1)

• EIGRP uses the Null0 interface to discard any EIGRP uses the Null0 interface to discard any packets that match the parent route but do not packets that match the parent route but do not match any of the child routesmatch any of the child routes

Page 116: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

The Null0 summary route The Null0 summary route (2)(2)

• Regardless of whether classful or classless Regardless of whether classful or classless routing behavior is being used, routing behavior is being used, the null0 the null0 summary will be used and therefore denying summary will be used and therefore denying the use of any supernet or default routethe use of any supernet or default route. .

• R1 will discard any packets that match the R1 will discard any packets that match the parent 172.16.0.0/16 classful network but do parent 172.16.0.0/16 classful network but do not match one of the child routes not match one of the child routes 172.16.1.0/24, 172.16.2.0/24 or 172.16.3.0/24.172.16.1.0/24, 172.16.2.0/24 or 172.16.3.0/24.

• For example, a packet to 172.16.4.10 would For example, a packet to 172.16.4.10 would be discarded. Even if a default route was be discarded. Even if a default route was configured, R1 would still discard the packet configured, R1 would still discard the packet because it matches the Null0 summary route because it matches the Null0 summary route to 172.16.0.0/16.to 172.16.0.0/16.

Page 117: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

The Null0 summary route The Null0 summary route (3)(3)

• EIGRP automatically includes a null0 EIGRP automatically includes a null0 summary route as a child route summary route as a child route whenever both of following whenever both of following conditions exist:conditions exist:– There is at least one subnet that was There is at least one subnet that was

learned via EIGRP.learned via EIGRP.– Automatic summarization is enabled. Automatic summarization is enabled.

(by default)(by default)

Page 118: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Disabling auto-Disabling auto-summarization(1)summarization(1)• automatic summarization can be disabled automatic summarization can be disabled

with the with the no auto-summary command. no auto-summary command.

Page 119: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Routing table on R3 with auto summary

Routing table on R3 with no auto summary

Page 120: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Disabling auto-Disabling auto-summarization(2)summarization(2)R3 ‘s Topology table

Why does R3's routing table now have two equal cost paths to 172.16.3.0/24? Shouldn't the best path only be through R1 with the 1544 Mbps link?

Page 121: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Disabling auto-Disabling auto-summarization(2)summarization(2)

• Remember that EIGRP only uses the link with the Remember that EIGRP only uses the link with the slowest bandwidth when calculating the composite slowest bandwidth when calculating the composite metric. metric.

• The slowest link is the 64 Kbps link that contains the The slowest link is the 64 Kbps link that contains the 192.168.3.0/24 network. 192.168.3.0/24 network.

• In this example, the 1544 Mbps link and the 1024 In this example, the 1544 Mbps link and the 1024 Kbps link are irrelevant in the calculation as far as Kbps link are irrelevant in the calculation as far as the bandwidth metric is concerned. the bandwidth metric is concerned.

• Because both paths have the same number and Because both paths have the same number and types of outgoing interfaces, the delay values end types of outgoing interfaces, the delay values end up being the same. up being the same.

• As a result, the EIGRP metric for both paths is the As a result, the EIGRP metric for both paths is the same, even though the path through R1 would same, even though the path through R1 would actually be the "faster" path.actually be the "faster" path.

Page 122: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Manual Summarization (1)Manual Summarization (1)

• Suppose we added two more networks to router R3 using Suppose we added two more networks to router R3 using loopback interfaces: 192.168.2.0/24 and 192.168.3.0/24. loopback interfaces: 192.168.2.0/24 and 192.168.3.0/24.

• We also configure networks in R3's EIGRP routing We also configure networks in R3's EIGRP routing process with network commands so that R3 will process with network commands so that R3 will propagate these networks to other routers.propagate these networks to other routers.

Page 123: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun
Page 124: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Manual Summarization (2)Manual Summarization (2)

Page 125: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Default Route (1)EIGRP Default Route (1)• The "quad zero“ (0.0.0.0/0) static default The "quad zero“ (0.0.0.0/0) static default

route can be used with any currently route can be used with any currently supported routing protocols. supported routing protocols.

• The static default route is usually configured The static default route is usually configured on the router that has a connection to a on the router that has a connection to a network outside the EIGRP routing domain, network outside the EIGRP routing domain, for example, to an ISP. for example, to an ISP.

• EIGRP requires the use of the EIGRP requires the use of the redistribute redistribute static commandstatic command to include this static default to include this static default route with its EIGRP routing updates. route with its EIGRP routing updates.

• The redistribute static command tells EIGRP The redistribute static command tells EIGRP to include this static route in its EIGRP to include this static route in its EIGRP updates to other routers. updates to other routers.

Page 126: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Default Route (2)EIGRP Default Route (2)

Page 127: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

EIGRP Default Route (3)EIGRP Default Route (3)• In the routing tables for R1 and R3, notice the routing In the routing tables for R1 and R3, notice the routing

source and administrative distance for the new static source and administrative distance for the new static default route. default route.

• The entry for the static default route on R1 is the following:The entry for the static default route on R1 is the following:D*EX 0.0.0.0/0 [170/3651840] via 192.168.10.6, 00:01:08, D*EX 0.0.0.0/0 [170/3651840] via 192.168.10.6, 00:01:08, Serial0/1Serial0/1

– D - This static route was learned from an EIGRP routing update.D - This static route was learned from an EIGRP routing update.– * - The route is a candidate for a default route.* - The route is a candidate for a default route.– EX - The route is an external EIGRP route, in this case a static route EX - The route is an external EIGRP route, in this case a static route

outside of the EIGRP routing domain.outside of the EIGRP routing domain.– 170 - This is the administrative distance of an external EIGRP route.170 - This is the administrative distance of an external EIGRP route.

• Default routes provide a default path to outside the routing Default routes provide a default path to outside the routing domain and, like summary routes, minimize the number of domain and, like summary routes, minimize the number of entries in the routing table.entries in the routing table.

Page 128: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Fine- tuning EIGRPFine- tuning EIGRP – – EIGRP Bandwidth Utilization EIGRP Bandwidth Utilization (1)(1)

• By default, EIGRP will use only up to 50 By default, EIGRP will use only up to 50 percent of the bandwidth of an interface for percent of the bandwidth of an interface for EIGRP information. EIGRP information.

• This prevents the EIGRP process from over-This prevents the EIGRP process from over-utilizing a link and not allowing enough utilizing a link and not allowing enough bandwidth for the routing of normal traffic. bandwidth for the routing of normal traffic.

• The The ip bandwidth-percent eigrp commandip bandwidth-percent eigrp command can can be used to configure the percentage of be used to configure the percentage of bandwidth that may be used by EIGRP on an bandwidth that may be used by EIGRP on an interface. interface.

Router(config-if)#ip bandwidth-percent eigrp Router(config-if)#ip bandwidth-percent eigrp as-number percentas-number percent

Page 129: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Fine- tuning EIGRPFine- tuning EIGRP – – EIGRP Bandwidth Utilization EIGRP Bandwidth Utilization (2)(2)

Page 130: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Fine- tuning EIGRPFine- tuning EIGRP – Hello Intervals and Hold – Hello Intervals and Hold TimesTimes(1)(1)

• Hello intervals and hold times are configurable Hello intervals and hold times are configurable on a per-interface basis and do not have to on a per-interface basis and do not have to match with other EIGRP routers to establish match with other EIGRP routers to establish adjacencies. adjacencies.

Router(config-if)#ip hello-interval eigrp as-Router(config-if)#ip hello-interval eigrp as-number secondsnumber seconds

• If you change the hello interval, make sure that If you change the hello interval, make sure that you also change the hold time to a value equal you also change the hold time to a value equal to or greater than the hello interval. to or greater than the hello interval.

• Otherwise, neighbor adjacency will go down Otherwise, neighbor adjacency will go down after the hold time expires and before the next after the hold time expires and before the next hello interval. hello interval.

Page 131: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Fine- tuning EIGRPFine- tuning EIGRP – Hello Intervals and Hold – Hello Intervals and Hold TimesTimes(2)(2)

• The command to configure a different hold The command to configure a different hold time is:time is:

Router(config-if)#ip hold-time eigrp as-Router(config-if)#ip hold-time eigrp as-number secondsnumber seconds

• The seconds value for both hello and hold The seconds value for both hello and hold time intervals can range from 1 to 65,535. time intervals can range from 1 to 65,535. – This range means that you can set the hello This range means that you can set the hello

interval to a value of just over 18 hours, which interval to a value of just over 18 hours, which may be appropriate for a very expensive dialup may be appropriate for a very expensive dialup link. link.

• The no form can be used on both of these The no form can be used on both of these commands to restore the default values.commands to restore the default values.

Page 132: EIGRP (Enhanced Interior Gateway Routing Protocol) W.Lilakiatsakun

Fine- tuning EIGRPFine- tuning EIGRP – Hello Intervals and Hold – Hello Intervals and Hold TimesTimes(3)(3)