Community discussions

MikroTik App
 
jmoore
just joined
Topic Author
Posts: 14
Joined: Wed Dec 07, 2005 4:42 pm

ECMP with OSPF

Thu Sep 02, 2010 12:24 am

I have a router with 2 links back to our Data Center. Both links are 18 Meg, but with the current setup I am preferring the link with shorter cost and the other is a backup. What I would like to do is utilize both links 50% ( or as close as 50%) and if a link goes down then route all traffic out it 100%. Is there a way to do this via OSPF so I can still keep the characteristics of OSPF and also use the ECMP?

-j
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: ECMP with OSPF

Thu Sep 02, 2010 8:56 am

ECMP is already doing bandwidth sharing between all ecmp links, there is no need for additional configuration.
 
jmoore
just joined
Topic Author
Posts: 14
Joined: Wed Dec 07, 2005 4:42 pm

Re: ECMP with OSPF

Thu Sep 02, 2010 4:06 pm

I should have been more clear. I want to configure ECMP over my current OSPF links.
 
User avatar
gustkiller
Member
Member
Posts: 419
Joined: Sat Jan 07, 2006 5:15 am
Location: Brazil
Contact:

Re: ECMP with OSPF

Thu Sep 02, 2010 4:48 pm

ospf will do that automagicaly if your links have the same ospf cost and router count.
 
teamer
just joined
Posts: 21
Joined: Mon Sep 12, 2016 9:18 am

Re: ECMP with OSPF

Tue Dec 06, 2016 7:54 pm

Is there a way to disable ECMP automagical behavior of OSPF?
 
User avatar
gustkiller
Member
Member
Posts: 419
Joined: Sat Jan 07, 2006 5:15 am
Location: Brazil
Contact:

Re: ECMP with OSPF

Tue Dec 06, 2016 8:01 pm

Yes,

If you have two links between routers, just change the interface cost ( rise it ) of the one you need to be at standby.
 
teamer
just joined
Posts: 21
Joined: Mon Sep 12, 2016 9:18 am

Re: ECMP with OSPF

Tue Dec 06, 2016 9:15 pm

In my AS I have more than 10 different ways between some of routers. Links have different speed, many of them is redundant. OSPF costs are assigned based on link speed, which is from 100kbps to 10Gbps.
Sorry, but your solution is very inconvient for my case.
 
User avatar
gustkiller
Member
Member
Posts: 419
Joined: Sat Jan 07, 2006 5:15 am
Location: Brazil
Contact:

Re: ECMP with OSPF

Fri Dec 16, 2016 3:22 am

You are correct.

Maybe it can be a new feature for Mikrotik. Because on Junos and IOS you can disable ECMP .
 
User avatar
gustkiller
Member
Member
Posts: 419
Joined: Sat Jan 07, 2006 5:15 am
Location: Brazil
Contact:

Re: ECMP with OSPF

Fri Dec 16, 2016 3:23 am

You are correct.

Maybe it can be a new feature for Mikrotik. Because on Junos and IOS you can disable ECMP .
 
jindranix
just joined
Posts: 13
Joined: Mon Jun 09, 2014 11:41 am

Re: ECMP with OSPF

Thu May 14, 2020 5:31 pm

You are correct.

Maybe it can be a new feature for Mikrotik. Because on Junos and IOS you can disable ECMP .
Exactly, on mature routing platforms you can change more detail behavior of routing protocols... We can hope that will be improved in the far far future...
 
Parabellum
just joined
Posts: 6
Joined: Tue Jul 20, 2021 3:20 pm

Re: ECMP with OSPF

Thu Aug 12, 2021 10:40 am

Plz help me too.

ECMP does not work with OSPF in my case.

I have 2 hardware Mikrotiks. Connected 2 cables, had set up 2 EOIP tunnels and OSPF between them. Link reservation works well, but ECMP does not.

I have tested it with iperf with multi connections and robocopy with multi flows both uses only one tunnel, but if it is disconnected then second tunnel works but they does not work simultaneously in spite of costs are equal and there is only one ECMP route from one site to another.

What should i check or set up to ECMP works?

Who is online

Users browsing this forum: Ask Jeeves [Bot], Google [Bot], Kindis, sebus46, tdw, techcomtecnico and 105 guests