Multi Wan, dpinger, failback stability

Started by tracerrx, May 21, 2022, 05:35:41 PM

Previous topic - Next topic
This is an enhancement request, im not sure where to post it.

In a multi-wan environment, when you have a failover group setup, and your using gateway monitors; how difficult would it be to add a "Stability/Quality" check for the gateway before the default wan fails back to the primary?  For instance if my primary wan is flapping every minute, I don't want it to be added back to the failover group (and as primary wan) until it proves to be stable for X minutes.

I'd really like such a feature.  Maybe it could be extended such that optionally, there is no switching back from the fail-over interface until the fail-over interface is down.  If the connections are sufficiently equal, it could avoid unneccessary switching.  Or set a time at which a switch is allowed as it probably won't hurt to switch back at night when there's not much going on.  Then have an option to delay the switching back until the set time has come if that time is close enough to a given threshold, like if I want to delay the switching once the connection is stable, I might rather still wait if nightly switching time is near enough.

Or instead of a given time, allow switching back only when the conntrack table is sufficiently empty or somethimg like that.

QuoteOr instead of a given time, allow switching back only when the conntrack table is sufficiently empty or somethimg like that.

Thats an interesting idea