11-17-2021 12:39 AM
Hello everyone, I start by saying all the formula for calculating the eigrp metric is clear except for one data. A simplified formula is 256 x [(10 ^ 7 / Least Bandwidth) + cumulative-delay]. I have not found anyone who explained it the only site I found was ciscopress but in a vague way it says: The EIGRP formula is based on the IGRP metric formula, except the output is multiplied by 256 to change the metric from 24 bits to 32 bits. But I don't understand why who can tell me?
I thank those who respond
Solved! Go to Solution.
11-17-2021 07:47 AM - edited 11-17-2021 07:48 AM
". . . except the output is multiplied by 256 to change the metric from 24 bits to 32 bits."
As to why, I would presume to allow for greater precision and/or larger values (i.e. from 24 to 32 bits). (I assume you realize multiplication by 256 shifts a binary number by 8 bits, i.e. the 24 to 32 bits.) Also by moving to 32 bits, that generally aligns with various computer architectures (at that time) with "word" sizes of 32 bits.
You also noted this came about moving from IGRP to E(nhanced)IGRP. The latter, I expect, allowed for, or expected, even larger networks than IGRP.
"So if you tell me that 256 is a conventional value decided without a reason, cisco could one day get up one morning and say from 256 we take it to 512. Is that what you want to tell me?"
Moving from 24 to 32 bits may make sense, for reasons noted above, however, perhaps at some point they (Cisco) will want to move from 32 bits to 64 bits. Hmm, I haven't looked, but what's the metric formula in EIGRP IPv6?
11-17-2021 12:56 AM
Hi,
you can find very good calculation explanation in below.
https://www.kwtrain.com/blog/understanding-eigrp-part-2
11-17-2021 01:07 AM
Hi I have already seen this site but it is not specified because it is multiplied by 256 at the beginning
11-17-2021 01:26 AM
There many example show how you can do, but if you looking deep it is Worth Looking RFC : (
5.6. EIGRP Metric Calculations)
11-17-2021 01:49 AM
Hi, that's the formula :D, you better check RFC then as balaji said.
11-17-2021 04:07 AM
So if you tell me that 256 is a conventional value decided without a reason, cisco could one day get up one morning and say from 256 we take it to 512. Is that what you want to tell me?
11-17-2021 12:48 PM - edited 11-17-2021 12:49 PM
It is a Cisco proprietary routing protocol so in theory they could wake up one morning and change anything they wanted to if they were so inclined.
As for why I believe it was simply to give more granularity to the metrics in use.
The IETF EIGRP draft written by the authors of EIGRP say basically that the metric was changed to "offer and enhance routing solutions for IGRP".
Make of that what you will.
Jon
11-17-2021 07:47 AM - edited 11-17-2021 07:48 AM
". . . except the output is multiplied by 256 to change the metric from 24 bits to 32 bits."
As to why, I would presume to allow for greater precision and/or larger values (i.e. from 24 to 32 bits). (I assume you realize multiplication by 256 shifts a binary number by 8 bits, i.e. the 24 to 32 bits.) Also by moving to 32 bits, that generally aligns with various computer architectures (at that time) with "word" sizes of 32 bits.
You also noted this came about moving from IGRP to E(nhanced)IGRP. The latter, I expect, allowed for, or expected, even larger networks than IGRP.
"So if you tell me that 256 is a conventional value decided without a reason, cisco could one day get up one morning and say from 256 we take it to 512. Is that what you want to tell me?"
Moving from 24 to 32 bits may make sense, for reasons noted above, however, perhaps at some point they (Cisco) will want to move from 32 bits to 64 bits. Hmm, I haven't looked, but what's the metric formula in EIGRP IPv6?
11-17-2021 09:49 AM
But in fact my question was this to understand the reason for the initial 256 bits.Since many here have replied that it is part of the formula without giving a reason, I thought it was a convention.However, if it is not written anywhere, the motivation goes by intuition a bit like you did that maybe I think is the answer to my question
11-17-2021 11:48 PM
Hello
@cosimodagostino wrote:
The EIGRP formula is based on the IGRP metric formula, except the output is multiplied by 256 to change the metric from 24 bits to 32 bits. But I don't understand why who can tell me?
My understanding for this specific value is based on those extra 8 bits added to the metric update and the reasoning is to add a more finer metric value for route path calculation.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide