we’ve 2 nearby Towns connected via leased line.
Additional we have 2 Wireless towers. One is connected wireless
to town1 the other to town2. Both Towers are connected to each
other wireless. So simply we have a Ring.
At the towns we have cisco routers.
What I want to do is to route between all Sites and have a
automatic Failover if one link dies.
I want to keep the lines balanced. The uplinks are in one city.
As wireless link tend to not only just fail but degrade in Performance
or drop Packets I want to have some finer control.
So I want to say if one wireless link drops more than 1% of its packets
dont use it until the connection gets better.
Even better if I can classify customers in “packetdrop critical” and
“just surfers” and route them accordingly.
You can do this with OSPF rooting protocol and the finer failure detection you need can be done with scripting. So in answer to your question - yes this can be done with Mikrotik.
I know there are people that do it, unfortunatley my network is not yet a ring but I do use some OSPF as I’ve multiple gateways and the OSPF takes care of my clients getting to some resourses like SMTP servers either accross the wireless or out one gateway and back into another depending if the wireless link is up or not. BGP is another option too.
So I’ll give it a try. Ordered two RB532 boxes. I will place them at
the towers and will route dummy-nets for testing. If it works I’ll split
my bridged net into routed pieces.
I think BGP will not do it as It needs a lot of memory and propagation
should be better using OSPF. I’ll inject a default route into OSPF from
each of my BGP Gateways.
What I’ll need is a script which increases and decreases OSPF cost
of a link if paket-loss-rate on a wireless link changes. Anyone done this?
Yeah, BGP is a mess for this type of routing. Generally, you use it if you have multiple connections from different upstream providers. OSPF is fairly simple to set up, and much easier on the router.