07-01-2016 08:58 AM - edited 03-05-2019 04:20 AM
R4 and R5 are directly connected routers and EIGRP neighbors. The metric to reach a route in R5 from R4 is bit confusing. Please find the attached topology and details in the attached file. Anybody have idea on this?
As per the calculation, the metric is - 128320
But R5 advertising to R4 is - 128256
Thanks,
Manu
Solved! Go to Solution.
07-01-2016 04:14 PM
Manu,
Don't forget that Cisco routers do not perform floating point arithmetics. The metric computation is performed in integer arithmetics, stripping the fractional part away. Also, the multiplication by 256 is performed as the last step of the computation.
So, with this in mind, the metric is:
BWE = 10^7 DIV 8000000 = 1
Delay = 5000 DIV 10 = 500
Metric = (1 + 500) * 256 = 501 * 256 = 128256
Best regards,
Peter
07-01-2016 09:33 AM
Ok, I found the answer. If the Loopback0 interface BW is 10000000 Kbit instead of 8000000 Kbit, then the metric - 128256 would be correct. But the Loopback 0 interface BW is showing 8000000 Kbit.
07-01-2016 04:14 PM
Manu,
Don't forget that Cisco routers do not perform floating point arithmetics. The metric computation is performed in integer arithmetics, stripping the fractional part away. Also, the multiplication by 256 is performed as the last step of the computation.
So, with this in mind, the metric is:
BWE = 10^7 DIV 8000000 = 1
Delay = 5000 DIV 10 = 500
Metric = (1 + 500) * 256 = 501 * 256 = 128256
Best regards,
Peter
07-02-2016 07:08 AM
Thank you Peter.
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