Page 1 of 1

OSPF and failover

Posted: Sun Jun 17, 2007 2:33 pm
by petr5250
Hello,
I'm using ROS v. 2.9.40 with routing package in following environment.

|Master|-----link1-----|Slave |-----client networks
|router |-----link2-----|router|


There is one Maser router which is connected to the 12 Slave routers. I'm running OSPF between those routers to ensure load balancing and failover. My problem is that the default gateways are distributed correctly to Slave routers and load balancing and failover is working. But on the Master router only one half of Slave routers (and client networks on them) is dynamically routed on both links with load balancing and failover. Other half is dynamically routed on link1 or link2 with only failover working (no load balancing) - when I try to disable currently working link, other one is automatically added to the routing table, but there are never used both at the same time to make load balancing working.

Is there any solution of this situation?

Re: OSPF and failover

Posted: Tue Jun 19, 2007 1:55 pm
by mneumark
Hello,
I'm using ROS v. 2.9.40 with routing package in following environment.

|Master|-----link1-----|Slave |-----client networks
|router |-----link2-----|router|


There is one Maser router which is connected to the 12 Slave routers. I'm running OSPF between those routers to ensure load balancing and failover. My problem is that the default gateways are distributed correctly to Slave routers and load balancing and failover is working. But on the Master router only one half of Slave routers (and client networks on them) is dynamically routed on both links with load balancing and failover. Other half is dynamically routed on link1 or link2 with only failover working (no load balancing) - when I try to disable currently working link, other one is automatically added to the routing table, but there are never used both at the same time to make load balancing working.

Is there any solution of this situation?
Petr5250,

Try upgrading to 2.9.43. I know i had a couple OSPF issues with the older versions and doing that fixed alot of things.

Matt

Re: OSPF and failover

Posted: Wed Jun 20, 2007 3:12 pm
by petr5250
Petr5250,

Try upgrading to 2.9.43. I know i had a couple OSPF issues with the older versions and doing that fixed alot of things.

Matt
Matt,

I tried to upgrade to 2.9.43 but the problem is still there. Using routing-test package didn't solve the problem either - it was even worse, because networks once dynamically routed on both links were routed on only one link with doubled gateway.

With routing package:
Flags: X - disabled, A - active, D - dynamic, 
C - connect, S - static, r - rip, b - bgp, o - ospf 
 #     DST-ADDRESS        PREF-SRC        G GATEWAY         DISTANCE INTERFACE
 0 ADo 10.0.5.0/24                        r 213.29.127.26            ether3   
                                         r 213.29.126.34            ether2
With routing-test package:
Flags: X - disabled, A - active, D - dynamic, 
C - connect, S - static, r - rip, b - bgp, o - ospf 
 #     DST-ADDRESS        PREF-SRC        G GATEWAY         DISTANCE INTERFACE
 0 ADo 10.0.5.0/24                        r 213.29.127.26            ether3   
                                         r 213.29.127.26            ether2
Any other suggestions?

Petr

Re: OSPF and failover

Posted: Wed Jun 20, 2007 4:46 pm
by janisk
wait for 2.9.44 version.

Re: OSPF and failover

Posted: Thu Jun 21, 2007 1:36 am
by petr5250
wait for 2.9.44 version.
When can we expect release of the 2.9.44?

Re: OSPF and failover

Posted: Tue Jun 26, 2007 11:12 am
by kamen
I have the following configuration
backbone1
eth11 ------------------------------------------------------------------------eth12
net1 -- mt router1 mt router 2-->upstr. internet
eth21------------------------------------------------------------------------eth22
backbone2



interfaces on backbone 1 have a /28 block adreses assigned
interfaces on backbone 2 have a another /28 block adreses assigned

net1 is a cable network with /20 range

on backbone 1 there are
pppoe srv1 pppoe srv2 pppoe srv3
----- mt a ------ mt b -------- mt c
eth a ethb ethc
I I I
<- NOC v v v -----> to upstream
-----------------------------------------------------------------------------------------
backbone 1

backbone 2 is identical

mikrotik routers mt1 and mt2 are dooing load balancing and of my traffic from net1 to my upstream provider, roputers are also doing failover using OSPF
mt2 is announcing default route
mt 1 is announcing adresses of /20 for net1 and redistributes static routes for address ranges of pppoe servers with are along my backbone
adreses on interfaces etha , b, c are in the same range as eth1 on mt1 and mt 2 ( /28)
backbone is a series of ptp links with proxim tsunami 45E wireless bridges with 45 Mb/s full duplex capacity.

sometimes during bad weather I have link failure on some PtP links in my backbone
net1 is secure because in failure of backbone 1 backbone 2 continues to work
problem is with the following
how can I configure ospf on mt a , b, c so if I have a backbone failure between them the trafic continues to mt1 or mt 2.


NOC ISP
mt1-----------------mt a------------------mtb-----------------------mtc---------------------mt2---------upstrem
--<------- ---------------------->
route to net1 range and NOC default route to the resto of the Internet

What I need is solution that if I have link failure between mikrotiks mtb and mtc
traffic from mta and mtb starts flowing to mt1 and thru second backbone to upstream ISP
and trafic of mikrotik mtc continues to mt2 and thru second bacbone comes to my dns, radius etc.. servers


any well thought suggestion is apreciated

Re: OSPF and failover

Posted: Mon Jul 02, 2007 6:00 pm
by petr5250
wait for 2.9.44 version.
Hi,

I upgraded system to v. 2.9.44 and my second problem (double gateways instead of two different ones) is solved now, but the original problem still persists).

Any ideas?