This topic is to discuss the following lesson:

# EIGRP K Values Formula

**ReneMolenaar**(Rene Molenaar) #2

Hello Rene,

this was a really good post! One statement that I personally dont liked:

āou donāt want your EIGRP routers calculating 24/7 and sending updates to each other just because the load or reliability of an interface has changed. We want routing protocols to be nice and quiet and only base their routing decisions on static values like bandwidth and delay.ā

I think everyone would love to have a routing protocol that dynamically adapts to the network state but the processing overhead for the routers in your network would be a nightmare.

Thank you for this post.

Marek

**system**(system) #3

Hi Rene,

AFAIK the formula when considered only BW and delay should be:

Metric= [ (10^7/ Minimum BW) + (sum of delay/10) ] * 256

**system**(system) #4

Hello Rene,

Excellent explanation on the metric values used by EIGRP to determine ābestā path (route) to take when trying to reach another non-local network. I always was curious how 'best" path was determine by EIGRP when deciding which way to send the packet when multiple paths exists, excellent. Of course this has no real bearing on āstubā networks I take.

Thanks again for your concise explanations on Networking w/ Cisco

Darren

**ReneMolenaar**(Rene Molenaar) #5

Hi Darren,

You are welcome. If you want to take a closer look at this then I can recommend to boot up some routers and look at the EIGRP topology table. Spend some time looking at the successor and feasible successor routers and check why it installed certain things in the routing table.

Rene

**system**(system) #6

sorry i figured it out, myself, smaller metric is better, its all for influencing, i understand that now, thanks

**system**(system) #7

EIGRP Metric = 256*[(K1 x BW) + ((K2 x BW)/(256-Load)) + (K3 x Delay) x ((K5/(Reliability + K4))]

Known as EIGRP āDistanceā on the exam.

**hussien.samer**(Hussein Samir) #8

Hi Rene,

What is the effect of MTU (K5) value to the total metrics ? I mean the metric will be better if the MTU value was high or vice versa ?

**hussien.samer**(Hussein Samir) #9

I notice that you said āthe MTU is being exchanged between EIGRP neighbors but not used for the metric calculationā so what is the benefit from this exchanging since it is not used for metric calculation ?

**hussien.samer**(Hussein Samir) #10

Hi Rene,

I understood that if the delay was in ten of microsecond we only sum the delays of the links and if the delay was in microsecond we need to divide the sum on 10 and put the value to formula, and about BW I do not understand why we multiply by 10^7 when I read in Wiki I understand the we do that to make the formula weighted and make measuring units harmonized but I do not understand how ? I mean why 10^7 ? from where this number come ?

**hussien.samer**(Hussein Samir) #11

Hi Rene,

Is there a formula to calculate the the AD ( Advertised Distance ) ?

**hussien.samer**(Hussein Samir) #12

Hi Rene,

What is the threshold value of FD ( the metric value ) that indicates to infinity ?

thanks.

**ReneMolenaar**(Rene Molenaar) #13

EIGRP uses a 32 bit metric so the value used for infinity is 4294967295, the highest value you can create.

**ReneMolenaar**(Rene Molenaar) #14

Hi Hussein,

The MTU doesnāt influence the metric, itās not used in the metric calculation.

Rene

**ReneMolenaar**(Rene Molenaar) #15

Apparently when you have two equal cost paths and EIGRP has to select one of them, it will use the path with the highest MTU. The low MTU path will not be used.

**ReneMolenaar**(Rene Molenaar) #16

Hi Hussein,

Good question, I tried to look it up but I couldnāt find anything why they picked 10^7ā¦canāt find any explanation.

Rene

**ReneMolenaar**(Rene Molenaar) #17

Hi Hussein,

The advertised distance that a router advertises to a neighbor is the feasible distance that it has stored for a route, itās the same calculation.

Rene

**dmsanch1**(Diego M) #18

Hi Rene,

Here you see the result of changing the bandwidth on the interface. Something to remember is thatIs this right?. A think that EIGRP use theEIGRP will use the highest bandwidth in the path from A to B (since this is the bottleneck).

**lowest**bandwitch.

Thanks you

**ReneMolenaar**(Rene Molenaar) #19

Hi Diego,

That is correct, I just fixed it. Thanks for reporting!

Rene

**villegas_702**(Efrain V) #20

Iām about 2 years too late but Iād like to take a crack at this for future reference. The reason 10^7 is used is because 10^7=10,000,000 kbps which is the same things as 10Gbps. When this formula was developed into what it is today, 10gbps was insanely, insanely fast and was decided to be used as the number utilized to calculate the weight of the minimum bandwidth number in the EIGRP formula.

The reason that we are adding weight to each number in EIGRP is easy to understand. EIGRP is a complex formula with different sets of numbers that have *varying* levels of relevance. We decide how much weight, or relevance, the minimum bandwidth has by taking 10^7 (dividend) and dividing it by the minimum bandwidth (divisor), the resulting number (quotient) multiplied by 256 [Read: 2^8 ābinary octet max valueā] is your *weighted* bandwidth.

āThe multiplication of 256 is done so EIGRP is compatible with IGRP (the predecessor of EIGRP).ā