EIGRP Protocol

eigrp-routing-protocol

EIGRP (Enhanced Interior Gateway Routing) is a dynamic routing protocol for IP networks. It is considered a hybrid protocol type that supports a classless routing technique and uses the Diffusing Update Algorithm (DUAL) to help improve protocol efficiency and routing calculations. EIGRP was designed as a Cisco proprietary protocol for Cisco routers and uses composite metrics (BW, Load, Delay, Reliability, MTU). Enhanced Interior Gateway Routing Protocol uses MD5 and SHA-256 for authentication. It uses an admin distance of 90 for internal routes, 170 for external routes, and 5 for summary routes.

EIGRP has a multicast address of 224.0.0.10 and supports IPv4, IPV6, and old routing protocols (IPX, AppleTalk). It is defined as a Transport Layer protocol of port number 88, which runs directly on top of IP using IP protocol no. 88. It supports automatic route summarization, VLSM (Variable Length Subnet Mask), and Load Balancing. EIGRP has a max hop count of 255 (default=100).

EIGRP (Enhanced Interior Routing Gateway Protocol) Router ID and ID Selection Criteria

EIGRP Router ID uniquely identifies a Router in EIGRP Topology. Most Routers (including Cisco) derive the Router ID in the following precedence order: Manually configured Router ID, Highest Loopback address, and Highest Physical IP address on the router.

 

EIGRP (Enhanced Interior Routing Gateway Protocol) Autonomous System (AS) Number

EIGRP (Enhanced Interior Gateway Routing Protocol) uses Autonomous System (AS) numbers to divide routing domains. Autonomous System (AS) should be the same on all routers EIGRP, else, routers won’t become neighbors. Routers in the Autonomous System (AS) use the same metric calculation formula and exchange routes only with members of the same AS.

enhanced-interior-gateway-routing-protocol-as-number-1

For Example, in the topology above, EIGRP AS100 consists of R1, R2, R3, R4, and EIGRP AS200 consists of R3, R5, and R6. automatically).

R1 does not have knowledge of routes from AS 200 because it is different from its own AS 100.

R3 is able to participate in both AS but does not transfer routes learned from one AS to another AS (unlike OSPF where ABR transfers routes between areas automatically).

 

EIGRP Neighbors

In order to become EIGRP neighbors, EIGRP routers must agree on the following: Routers must be on the same IP subnet, AS (Autonomous System) must be the same and Metric constants (K1 – K5) must be identical.

 

EIGRP Configuration Lab 1

You can practice with our first EIGRP Configuration labs in Cisco Packet Tracer:

enhanced-interior-gateway-routing-protocol-lab-1

 

EIGRP Configuration Lab 2

You can practice with our second EIGRP Configuration lab in Cisco Packet Tracer:

enhanced-interior-gateway-routing-protocol-lab-2

 

EIGRP (Enhanced Interior Gateway Routing Protocol) Metric

EIGRP calculates the best path based on 5 different metrics. Bandwidth (BW) and Delay are used by default. All other metrics are disabled by default

  1. Bandwidth (BW): Minimum BW of any link from the local router to the destination network (in kbps)
  2. Delay: Total delay from a local router to the destination network (in kbps)
  3. Load: The effective load of the route, expressed as a number from 0-255 (255 is 100% loaded)
  4. Reliability: The prospect of a successful jacket transmission, expressed as a number from 0-255 (255 means 100% reliable)
  5. Minimum MTU: MTU is the biggest frame size in octets that can be sent in a single packet. Minimum MTU along the path is considered

 

EIGRP Metric Formula

enhanced-interior-gateway-routing-protocol-metric-formula-1

The composite routing metric calculation uses five constant parameters, si-called K values, K1 through K5. These act as multipliers or modifiers in the composite metric calculation. By default, only the total delay and minimum bandwidth are considered when EIGRP is started on a router, but an administrator can enable or disable all the k values as needed to consider the other Vector metics

Default values: K1=1, K2=0, K3=1, K4=0, K5=0 (10100)

Only K1 and K3 are enabled by default. We can see what K values are enabled or disabled by default:

enhanced-interior-gateway-routing-protocol-show-ip-routing-protocols-1

 

 

Also, we can check the interface BW, DLY, LOAD, REL, MTU on an interface:

enhanced-interior-gateway-routing-protocol-show-interface-fa0/1-1

 

EIGRP Metric Calculation Example

enhanced-interior-gateway-routing-protocol-metric-calculation-example-1

enhanced-interior-gateway-routing-protocol-topology-example-1

 

EIGRP (Enhanced Interior Gateway Routing Protocol) Configuration Lab3

Practice our EIGRP Configuration lab3 in Cisco Packet Tracer:

enhanced-interior-gateway-routing-protocol-lab-3

 

 

EIGRP (Enhanced Interior Gateway Routing Protocol) Route Types

There are 3 types of EIGRP Route, which are: Internal EIGRP Route, Summary EIGRP Route, and External EIGRP Route

enhanced-interior-gateway-routing-protocol-route-types-1

 

EIGRP (Enhanced Interior Gateway Routing Protocol) Security (Authentication)

EIGRP supports two types of Authentications: MD5 authentication and SHA authentication

 

EIGRP Security Authentication Lab4 (with MD5)

The following is our EIGRP security authentication lab in Cisco Packet Tracer:

enhanced-interior-gateway-routing-protocol-securty-authentication-lab-4

 

EIGRP Troubleshooting Commands (Cisco)

The following commands are used for EIGRP troubleshooting:

networkwalks_R1# show ip route (to view the routing table on R2 and R1)

networkwalks_R1# show ip route eigrp

networkwalks_R1# show ip eigrp neighbors (shows local neighbor table)

networkwalks_R1# show ip eigrp neighbors detail (shows local neighbor table in detail)

networkwalks_R1# show ip eigrp interfaces

networkwalks_R1# show ip eigrp interfaces s0/0/0

networkwalks_R1# show ip eigrp topology

networkwalks_R1# show ip eigrp traffic

networkwalks_R1# show ip protocols

networkwalks_R1# show key-chain




networkwalks_R1# debug ip eigrp (shows events/actions related to EIGRP protocol packets)

networkwalks_R1# debug ip eigrp neighbor

networkwalks_R1# debug ip eigrp notifications

networkwalks_R1# debug eigrp packet

networkwalks_R1# debug eigrp fsm

networkwalks_R1# show ip interface brief

networkwalks_R1# show running-config

networkwalks_R1# show ip protocols

networkwalks_R1# show ip eigrp

 

EIGRP (Enhanced Interior Gateway Routing Protocol) Modes

EIGRP has 2 modes. Newer IOS software supports new features in EIGRP and is called named mode

  1. Classic Mode / Classic Metrics (before IOS v15): Classic metrics are based on the old 32-bit metric calculations and have some issues. For example, classic metrics cannot calculate BW above 2GE links
  2. Named Mode / Wide Metrics (after IOS v15): To solve these issues, a new metric formula has been developed to provide the necessary resolution. Wide/Named metrics are 64-bit metric calculations (Named mode). Wide metrics have been introduced with Named mode in IOS v15 henceforth to overcome the limitations with scaling of higher bandwidth links and to make the metrics more granular. In wide metrics, the delay is measured in Pico seconds (µs in Classic Metrics). The EIGRP Wide Metrics feature also introduces K6 as an additional K value for future use, and the router process is now a name instead of a number.

    e.g. In the formula below, the output gives the same values for 11GE/20GE (keeping delay as constant=10). The same kinds of issues are associated with delay as well. So, classic metrics cannot support high-speed links (above 1GE) correctly (it can’t provide granularity/resolution properly

enhanced-interior-gateway-routing-protocol-metric-formula-2

enhanced-interior-gateway-routing-protocol-modes-1

 

EIGRP (Enhanced Interior Gateway Routing Protocol) Tables

The table below describes the 3 major EIGRP tables:

enhanced-interior-gateway-routing-protocol-tables-1

 

EIGRP (Enhanced Interior Gateway Routing Protocol) Timers (Intervals)

EIGRP uses two timers:

  1. Hello Timer: The hello timer controls how often the router sends routine messages to its neighbors simply by indicating that it is still up
  2. Hold Timer: The interval to wait for the neighbor before declaring it down

enhanced-interior-gateway-routing-protocol-timers-1

EIGRP timers configuration example:

#interface s0/0

#ip hello-interval eigrp 1 4 (sets EIGRP hello timer to 4s to this interface that belongs to the EIGRP AS 1)

#ip hold-time eigrp 1 4 (sets EIGRP hold,mouse system num timer to 4s to this interface that belongs to the EIGRP AS 1)

 

EIGRP (Enhanced Interior Gateway Routing Protocol) Packet Types

EIGRP uses 5 types of packets to deliver messages and enable session management:

enhanced-interior-gateway-routing-protocol-packet-types-1

 

EIGRP (Enhanced Interior Gateway Routing Protocol) Neighborship process

The following illustrates the EIGRP neighborship process:

eigrp-neighborship-process-1

 

EIGRP (Enhanced Interior Gateway Routing Protocol) Loop Prevention Mechanisms

EIGRP has 2 major loop prevention mechanisms:

DUAL (Diffusing Update Algorithm) uses FC (Feasibility Condition) to compute loop-free topology, and Split horizon which blocks route information from being advertised by a router out of any interface from which that information originated. It is enabled on all interfaces by default

 

EIGRP Feasibility Condition

EIGRP uses Feasibility Condition (FC) to calculate a loop-free routing path. The following are some EIGRP terms before we go into FC:

eigrp-feasibility-condition-1

eigrp-feassibility-condition-2

eigrp-feasibility-condition-met-1

eigrp-feasibiloity-condition-not-met-1

eigrp-with-feasible-successor-1

 

EIGRP SIA (Stuck in Active) State

If a successor path is lost (& FC has not been met), then the router sends out queries on all other interfaces and tries to identify the best path. If a reply does not come till 3 minutes (180s) then router goes into a state known as Stuck in Active (SIA). As soon as the router goes into SIA state, it resets all the neighborships with all neighbors (because they didn’t reply till 3 mins)

eigrp-without-feasible-successor-1

 

EIGRP Load Balancing

EIGRP supports two types of load-balancing:

  1. Equal cost load balancing: Equal cost load balancing is done when a route is learned from various neighbors and has the same metric. We can have max 6x paths for load balancing (the default paths are 4x)
  2. Unequal cost load balancing: If there are different metrics, then load balancing will not occur automatically. Variance is used to control the degree of unequal load balancing (it works as a multiplier). Variance Range is 1-128 [Default variance = 1 (this means equal-cost load balancing)]. A path should be a feasible successor route to be used in unequal load balancing

eigrp-unequal-load-balancing-example-1

This configuration increases the minimum metric to 40 (2 * 20 = 40). EIGRP includes all routes that have a metric of less than or equal to 40 and satisfy the feasibility condition.

After this configuration of variance, EIGRP now uses two paths to get to networkwalks, E-C-A and E-B-A, because both paths have a metric of under 40. EIGRP does not use path E-D-A because that path has a metric of 45, which is not less than the value of the minimum metric of 40, because of the variance configuration. Also, the reported distance of neighbor D is 25, which is greater than the feasible distance (FD) of 20 through C. This means that, even if the variance is set to 3, the E-D-A path is not selected for load balancing because Router D is not a feasible successor

 

 

-End-

 

You might also be interested in our free Online Quizzes on all IT topics including Cisco CCNA, Cyber Security, Python Programming, Linux & Ethical Hacking:

EIGRP Cheat sheet – Part 1

EIGRP Cheat sheet – Part 2

EIGRP Quiz (ENCOR, CCNP)

EIGRP Interview Questions & Answers

 

 

Follow our Facebook Page & YouTube Channel for more updated Cheatsheets & Quizzes:

eig

User Avatar

Written by 

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments