A network administrator upgrades an enterprise core network link between two OSPF-enabled routers from to . However, after the upgrade, the routers continue to load-balance traffic equally between the new primary link and a parallel backup link. Upon inspecting the OSPF database, both interfaces are assigned an OSPF cost metric of . Which of the following best explains why OSPF calculates an identical path metric for both the and links?
- The OSPF default reference bandwidth is , which calculates a cost fractional value below for both links and rounds up to a minimum interface cost of .Answer
- BOSPF uses Administrative Distance rather than interface bandwidth to determine path metrics, assigning a fixed metric of to all internal link-state routes.
- CThe split horizon mechanism prevents OSPF routers from advertising metric costs lower than across interfaces operating within the same backbone area.
- DAn autonegotiation failure forced a duplex mismatch on the interface, causing OSPF to fall back to a default legacy cost of .
Answer
The OSPF default reference bandwidth is 100 Mbps, which calculates a cost fractional value below 1 for both links and rounds up to a minimum interface cost of 1.
OSPF calculates path cost using the formula Cost = Reference Bandwidth / Interface Bandwidth. Because the default reference bandwidth in standard OSPF deployments is 100 Mbps, any interface speed equal to or greater than 100 Mbps (such as 1 Gbps or 10 Gbps) calculates to a value less than or equal to 1. Since OSPF costs must be positive integers, both 1 Gbps and 10 Gbps links receive a cost of 1, treating them as equal-cost paths until the auto-cost reference-bandwidth command is configured.
Step-by-Step Solution
Key Concept
OSPF Reference Bandwidth and Cost Calculation