03-03-2020 03:11 AM
Hi,
by default, using OSPF if we find a different paths to same subnet, Cisco IOS will use load balancing (maximun-paths 4 by default). How we can check this? I mean if is working successfully.
Would be possible to check how packets are distributed between all interfaces? Is it possible change % between interfaces? For example:
interface 1 ->80%
interface 2 ->10%
interface 3 ->5%
interface 4 ->5%
Solved! Go to Solution.
03-03-2020 03:41 AM
Hi there,
OSPF only supports ECMP, to that end you cannot add weights to those equal cost links.
You can confirm that ECMP is working but looking at ip route for the the prefix. You should see multiple entries under the same router descriptor block.
cheers,
Seb.
03-03-2020 10:14 AM
03-03-2020 03:41 AM
Hi there,
OSPF only supports ECMP, to that end you cannot add weights to those equal cost links.
You can confirm that ECMP is working but looking at ip route for the the prefix. You should see multiple entries under the same router descriptor block.
cheers,
Seb.
03-03-2020 08:33 AM
Hi,
That kind of load-balancing can't be achieved via pure routing, you'll need smarter solutions like SD-WAN. Even if OSPF (actually RIB/FIB is the one routing packets in the end, not OSPF, OSPF just provides best paths to the RIB like all other routing protocols do) would support that kind of load distribution, it will end up doing it per flow, not per consumed bandwidth, which is most probably what you want in a real production.
What you can do is change the CEF load-sharing algorithm to something which fits your traffic flows, but don't expect to get a consistent and repetitive load share.
Regards,
Cristian Matei.
03-03-2020 08:51 AM
Personally OSPF not the right choice here, may be EIGRP ?
03-03-2020 09:39 AM
Hi,
EIGRP fixes the flow sharing (you can tweak it as you want), but in the end BW consumption is what you care about, and this can't be fixed just by using routing protocols, without some over-the-top orchestration.
Regards,
Cristian Matei.
03-09-2020 02:27 AM
03-03-2020 10:14 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide