How does EIGRP calculate the metric for route selection and what factors does it consider in this calculation ?

EIGRP (Enhanced Interior Gateway Routing Protocol) uses a metric known as the "composite metric" to determine the best path for routing. This metric is also referred to as the "EIGRP metric" or "EIGRP cost." EIGRP calculates this metric based on several factors, and the route with the lowest composite metric is chosen as the best path. 

Let's dive into the details of how EIGRP calculates this metric and the factors it considers:

EIGRP Composite Metric Calculation:

EIGRP's composite metric is a 32-bit value, and it's typically expressed as a 32-bit binary number or a 32-bit hexadecimal value. The formula for calculating the EIGRP metric is:

Metric = [K1 * bandwidth + (K2 * bandwidth) / (256 - load) + K3 * delay] * [K5 / (reliability + K4)]

Now, let's break down the components of this formula:

K1, K2, K3, K4, and K5: These are constants that can be configured on EIGRP routers. By default, K1 and K3 are set to 1, K2, K4, and K5 are set to 0. These constants allow network administrators to fine-tune the metric calculation to match their specific network requirements.

Bandwidth: This is the minimum bandwidth along the path to the destination, usually expressed in kilobits per second (Kbps). The higher the bandwidth, the lower the metric, as EIGRP prefers faster links.

Load: This is a value between 0 and 255 that represents the current load on the link. Lower load values are preferred, so as the load on the link increases, the metric for that link increases.

Delay: Delay is the cumulative time it takes for a packet to traverse the path. It is measured in tens of microseconds (10s of microseconds). Lower delay values are preferred, so faster links have lower delay values.

Reliability: This is a measure of the link's reliability, ranging from 1 (low reliability) to 255 (high reliability). Higher reliability values are preferred.

Factors Considered:

EIGRP primarily considers the following factors when calculating its composite metric:

Bandwidth: Faster links are preferred.

Load: Less loaded links are preferred.

Delay: Links with lower delay are preferred.

Reliability: More reliable links are preferred.

It's important to note that EIGRP allows network administrators to adjust the relative importance of these factors by changing the K-values (K1, K2, K3, K4, K5). This flexibility allows for fine-grained control over metric calculation based on network requirements.

Comments

Popular posts from this blog