ECMP with OSPF

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

ECMP is already doing bandwidth sharing between all ecmp links, there is no need for additional configuration.

I should have been more clear. I want to configure ECMP over my current OSPF links.

ospf will do that automagicaly if your links have the same ospf cost and router count.

Is there a way to disable ECMP automagical behavior of OSPF?

Yes,

If you have two links between routers, just change the interface cost ( rise it ) of the one you need to be at standby.

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.

You are correct.

Maybe it can be a new feature for Mikrotik. Because on Junos and IOS you can disable ECMP .

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…

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?