05-24-2008 07:12 PM - edited 03-03-2019 10:05 PM
When OSPF has two paths to a destination subnet and is deciding upon which route to add to the routing table it calculates the cost of each route by dividing 100 Mbps by the outgoing interface bandwidth. It then adds up all the costs - which path does it choose the highest numeric cost calculated or the lowest?
05-24-2008 07:31 PM
Lowest.
Imagine a link with a bandwidth capability of 100 Mbps. Using the formula of 10^8/interface bandwidth (BW), the metric cost would be 100,000,000/100 Mbps = 1. A slower link with a bandwidth capability of 10 Mbps (which you know is not as good a path to take as the 100 Mbps) would have a cost metric of 10. So, as you can see a higher cost metric means it's a less attractive route.
Victor
05-25-2008 01:00 AM
Excellent, I understand now. Thanks
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: