EIGRP - metric equation
When implementing EIGRP it is important to understand how the metric is calculated using the EIGRP equation. There are various forms used in different contexts, and the following should help to clear up the differences between them.
The classic EIGRP metrics formula is the following:
The above is based on the IGRP metrics formula. This is done to make EIGRP backward compatible with IGRP. For EIGRP, the result should be multiplied by 256 to change the metric from a number represented using 24-bits to a number represented using 32-bits. The resulting formula is:
By default K1 = K3 = 1 and K2 = K4 = K5 = 0. This reduces the equation to the following:
EIGRP wide metrics are used to accommodate the ever increasing speeds of interfaces. The wide metrics formula is:
Just as EIGRP is scaled up by 256 to accommodate IGRP, EIGRP wide metrics is scaled up by 65535 to accommodate classic EIGRP. SO the formula becomes:
When calculating the metric, the way in which EIGRP computes the metrics must be taken into account.
Links:
https://forum.networklessons.com/t/eigrp-variance-command-example/1037/67?u=lagapides
https://networklessons.com/eigrp/eigrp-k-values-formula
https://networklessons.com/eigrp/eigrp-wide-metrics
https://www.ciscopress.com/articles/article.asp?p=2999383&seqNum=4
https://community.cisco.com/t5/routing/eigrp-metric-calculation/td-p/1368921