OSPF unequal cost load sharing

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 07:37 AM
Hello Connections,
I've never seen unequal cost load sharing or unequal balancing in prod infra for OSPF.
I want to know do we have such kind of process or can we achieve this ?
If yes what's commands we can use ?
- Labels:
-
LAN Switching
-
Routing Protocols
-
WAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 07:40 AM
Hello,
OSPF doesn't support unequal cost load sharing. And in all honesty, that usually not a good idea even in EIGRP that does support it. You want consistency for your traffic flows, whereas different cost/metric links will have inconsistent delay as well, which is bad.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 07:58 AM
OSPF is wrong protocol for unequal LB, if that is requiredment use EIGRP does that work.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 09:04 AM
Hello,
OSPF only does equal-cost load balancing indeed, but you can 'trick' it into believing that multiple links have the same cost by using the 'bandwidth' or the 'ip ospf cost' command on the interface, using the same values.
Beware of the unpredictable results mentioned in Sergey's post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 09:18 AM - edited 02-11-2021 09:44 AM
OSPF not support unequal
EIGRP support unequal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 09:39 AM - edited 02-11-2021 09:55 AM
OSPF not support unequal EIGRP support equal
EIGRP support un-equal paths (hope you meant to say this i guess.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 09:27 AM
I believe PfR-PIRO is capable of providing unequal load balancing while using OSPF. NB: PfR is an additional feature on some IOS and likely will require a more feature set version of IOS and/or an additional license.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 10:21 AM
Can you pls explain it bit more?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 01:03 PM
here are the good resources, as suggested to work for you you need to right IOS and hardware to work.
https://blog.ine.com/2011/11/01/cisco-performance-routing-pfr-optimized-edge-routing-oer
https://skminhaj.wordpress.com/2016/02/15/load-balancing-using-performance-routing-pfroer/
http://brbccie.blogspot.com/2012/10/oerpfr-configuration.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 03:34 PM
PfR has the ability to dynamically load balance (i.e. actual link load) in proportion to link capacity. I.e. It will attempt to insure link loading is the same percentage on the links it controls. It doesn't really care how the routing protocol balances, or not, the links.
Before PIRO, PfR could only move flows about using static routes or BGP.
