Why cannot interfaces of different types generate equal-cost routes and establish OSPF load balancing

OSPF can automatically calculate the cost of an interface based on the interface bandwidth. The calculation formula is: Interface cost = Bandwidth reference value/Interface bandwidth. The bandwidth reference value is configurable. The default value is 100 Mbit/s. Routes generated by OSPF have the same priority (10 by default). The interface cost, however, depends on the interface type. Interfaces of different types have different costs; therefore, the interfaces cannot generate equal-cost routes, leading to failure in establishing load balancing.

Scroll to top