Community discussions

MikroTik App
 
Estiaan
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 94
Joined: Tue Jul 19, 2011 10:15 am

OSPF - 2 edge routers

Wed Sep 12, 2012 7:53 pm

Is there a way that I can add 2 routers with default gateways on different sides of the network?

And divide the traffic between different routers?
 
lambert
Long time Member
Long time Member
Posts: 548
Joined: Fri Jul 23, 2010 1:09 am

Re: OSPF - 2 edge routers

Wed Sep 12, 2012 9:39 pm

Yes, originate default, as type 1, when installed on both routers at each end of the network.
/routing ospf instance
set [ find default=yes ] distribute-default=if-installed-as-type-1
Speak OSPF on all internal routers. Leave them in the default area. Do not originate default from the routers in the middle. What you want will happen by default, based on hop count, if you leave the interface costs at the default all the way through.

You may want to manually adjust the split point in the middle to balance how much traffic goes each direction. Just change interface cost at one hop or another, the ends or the middle, up to you.

For failover, just make sure the default route gets marked invalid when the uplink connection is unusable. There are a lot of ways to do that depending on your uplink situation.

Who is online

Users browsing this forum: No registered users and 11 guests