cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
397
Views
0
Helpful
3
Replies

EIGRP Metric

Manu Shankar
Level 1
Level 1

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 

1 Accepted Solution

Accepted Solutions

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

View solution in original post

3 Replies 3

Manu Shankar
Level 1
Level 1

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. 

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

Thank you Peter. 

Review Cisco Networking products for a $25 gift card