default route choice based on throughput

Hello,

I have some trouble choosing the default route between two routes.
The choice based on “distance” works perfect if the default route with lower distance dies - automatically with the another route with higher distance takes over.

My problem is that my default route rarely dies, just drop the throughput -that is measurable with ping times over 1300ms.

Is there any script or another smart solution how to detect those events and in such cases automatically use a route with higher distance instead?

Thank you.

Regards,
Z

Hi,

If you consider that a ping with a timeout of over 1 second (1000 millisecconds) is a good metric for you, you can use the Netwatch tool.

This is quite useful but it’s main limitation is that the threshold is only 1 sec or above, and only in 1 sec increments.

Link - http://wiki.mikrotik.com/wiki/Netwatch

Rgds,
Mark.

Thank you.
This is exactly what I was looking for.

Regards,
Z

Hi,

Is there a way to switch route based on actual throughput/bandwidth of the connection?
Example: If ISP1/route1 bw is under 20Mbps, switch to ISP2/route2.

Thanks,

BR,
Mladen

Yes, this method is like PCC but one has to create an extra set of sticky rules (very manual) to achieve load balance by throughput.
—>
tomas.pdf (699 KB)
https://www.youtube.com/watch?v=67Dna_ffCvc