Recursive failover has been working perfect for my connection with 2 ISPs. Last week my main ISP experienced intermittent issues. You could still ping but it was intermittent with latency spikes. I ended up having to disable (renumber) the route manually.
How would I apply recursive failover by checking for packet loss?
I suppose the script logic would be:
1. Check 126.96.36.199 (recursive for ISP1) & 188.8.131.52 (recursive for ISP2)
2. Ping 184.108.40.206 or 220.127.116.11 ten times
3. If packet loss >=20% then find route by comment and disable
4. If packet loss <20% then find route by comment and enable
Are there past topics that you can refer me to.