OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: tracerrx on May 21, 2022, 05:35:41 PM

Title: Multi Wan, dpinger, failback stability
Post by: tracerrx on May 21, 2022, 05:35:41 PM
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.
Title: Re: Multi Wan, dpinger, failback stability
Post by: defaultuserfoo on May 22, 2022, 01:17:47 AM
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.
Title: Re: Multi Wan, dpinger, failback stability
Post by: tracerrx on May 23, 2022, 05:31:56 PM
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
Title: Re: Multi Wan, dpinger, failback stability
Post by: FullyBorked on May 23, 2022, 07:56:32 PM
You can request enhancements and report bugs here https://github.com/opnsense/core/issues/new?assignees=&labels=&template=feature_request.md&title= (https://github.com/opnsense/core/issues/new?assignees=&labels=&template=feature_request.md&title=)