Community discussions

MikroTik App
 
User avatar
homerwsmith
Member Candidate
Member Candidate
Topic Author
Posts: 166
Joined: Fri Dec 02, 2011 3:01 am
Location: Ithaca, NY
Contact:

OSPF how handle parallel links

Thu Jun 17, 2021 11:43 pm

Dear gentle Folk,

I have two tiks with 2 identical non bridged links between them

Tik1 port 1 -> AP1 -> SM1-> Tik2 port 1
Tik1 port 2 -> AP2 -> SM2 -> Tik2 port 2
Tik1 port3 GW Tik2 port 3 -> 10.16.30.0/24
Port 1 and port 2 are NOT bridged.

What will OSPF do with traffic destined for a subnet on the right?

Will it round robin by default? If so is there any real problem with this?

Wlll i have to use bonding of one kind or another?
Thanks in advance, Homer
 
User avatar
IPANetEngineer
Trainer
Trainer
Posts: 1439
Joined: Fri Aug 10, 2012 6:46 am
Location: Jackson, MS, USA
Contact:

Re: OSPF how handle parallel links

Sat Jun 19, 2021 6:15 pm

OSPF ECMP will be used if the cost is equal to reach a destination prefix over multiple paths. ECMP is a session based load balancing algorithm - not per packet

From the Tik wiki:

Because results of the forwarding decision are cached, packets with the same source address, destination address, source interface, routing mark and ToS are sent to the same gateway. This means that ECMP route does not perform pure per-connection balancing, but it can be used to load balance connections if at least one of previously mentioned parameters is different than previous connection. See interface bonding if you need to achieve per-packet load balancing.

https://wiki.mikrotik.com/wiki/Manual:I ... .29_routes
Global - MikroTik Support & Consulting - English | Español | Serbian | Danish +1 855-645-7684
https://iparchitechs.com/ecosystem/mikr ... consulting mikrotiksupport@iparchitechs.com

Who is online

Users browsing this forum: No registered users and 12 guests