Community discussions

MikroTik App
 
Ironsmith77
just joined
Topic Author
Posts: 2
Joined: Thu Jul 02, 2015 8:57 pm

Ring network and OSPF

Thu Jul 02, 2015 9:45 pm

Hello,

What is the best way to set up a ring network with OSPF? I want to ensure that if one link fails, data will route around the opposite direction.

Thank you,
Last edited by Ironsmith77 on Sat Jul 04, 2015 3:39 am, edited 1 time in total.
 
faisali
Member Candidate
Member Candidate
Posts: 180
Joined: Fri Oct 08, 2010 5:11 am

Re: OSPF failover link

Fri Jul 03, 2015 12:23 pm

Remember, cost of ospf link needs to be set in each direction.....
 
User avatar
StubArea51
Trainer
Trainer
Posts: 1739
Joined: Fri Aug 10, 2012 6:46 am
Location: stubarea51.net
Contact:

Re: OSPF failover link

Fri Jul 03, 2015 5:44 pm

While you can set the cost to fix you immediate problem, there are really only two long term solutions to managing traffic that we tend to use when designing Service Provider networks.

1) BGP - OSPF isn't designed to influence the path of subnets using policy, BGP is designed to do exactly that
2) MPLS Traffc Engineering - This does require a fair amount of complexity to add to the network, but it allows you to manage the exact amount of traffic along a path of next hops that you can specify - regardless of what the routing protocol says.

http://wiki.mikrotik.com/wiki/Manual:Routing/BGP

http://wiki.mikrotik.com/wiki/Manual:Simple_TE
 
Ironsmith77
just joined
Topic Author
Posts: 2
Joined: Thu Jul 02, 2015 8:57 pm

Re: OSPF failover link

Fri Jul 03, 2015 9:08 pm

I'm definitely looking into BGP. However, I need an immediate fix for the time being. I set the cost on both sides but web traffic still preferred the shorter route.
 
User avatar
StubArea51
Trainer
Trainer
Posts: 1739
Joined: Fri Aug 10, 2012 6:46 am
Location: stubarea51.net
Contact:

Re: Ring network and OSPF

Mon Jul 06, 2015 9:50 pm

Have you added the cost up around both sides of the ring to see why it is still taking the original path?
 
CelticComms
Forum Guru
Forum Guru
Posts: 1765
Joined: Wed May 02, 2012 5:48 am

Re: Ring network and OSPF

Fri Jul 10, 2015 6:36 am

The OP was about traffic movement during link failure that is exactly what a link state protocol such as OSPF is designed to handle. As posted, adjusting the interface/segment costs should allow OSPF to provide the desired failover routing.

Who is online

Users browsing this forum: GoogleOther [Bot] and 52 guests