ospf solution

Hi there,

I am looking for some solution for this situation:

I have RB433ah with two wireless interfaces and one ethernet interface. Two wireless interfaces are conected on two separated access points with ospf configured on them. Everything is working fine as long as there is no interference on wireless channel. Even when on wireless interface goes down (no connectivity with access point), the ospf does the job and reroutes traffice on another interface. But when there is interference on one interface (the one with traffic on it), the delay, latency and jitter get worst, but the ospf is not rerouting the traffic (because ith has a connection with access point). My traffic is basicly VOIP, and there is problem with latency, jitter. Is there any solution to make ospf rerouting on traffic another interface when there is interference on current interface? I tried with scripting, and only i can get is to switch traffice from one interface to another by adjusting ospf cost. But I dont want that this happens very fast (when interference hits boot wireless interfaces), to avoid flapping between interfaces…Is there anything like this: when interference occurs add cost to affected interface, low cost on another interface (this will reroute the traffic) and make this change permanent for one minute (even there is interference on this “changed interface”)?
Any hlep, link?

in /routing/ospf
add your interfaces (as in, dont leave them as dynamic entries)
check the router dead interval. default is like 40 seconds. then check the hello interval, its like 10s default.

basically, you can lower these settings to improve the failover time.

the problem with shakey links is that the ospf hello packets might still be making it through. lower the hello interval to increase the likelyhood that the shakey link drops the hello.

you can try to set retransmit, transmit delay, and hello to 1s and router dead interval to 5 and test.

be aware, this will add overhead to the link.

Thank you syadnom, but that is not what I was looking for…I need something to change ospf costs dynamiclly…but not to fast :confused:

OSPF is link state, not link quality, and a script is going to be somewhat complicated.

You could try MME over your two interfaces. MME is loosly based on batman and tries to determine the best interface to transmit on based on quality, not just link state.

you could also do some openwrt in a metarouter and run batman-adv across both links. It is much better at handling link quality and is tune-able. metarouter isn’t going to be that fast but it does give you a ‘free’ test platform. If it works you can flash a miktotik board to openwrt or get an alix or something.

Thank you, interesting…so is it possible to run openwrt on mikrotik? :confused:

you can run openwrt on some mikrotik models, just search to forums or head over to openwrt.org

you can also run openwrt in metarouter on some routeros devices. I have done this in my lab and it works well.

Isn’t this what BFD is supposed to be for?