OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: alh on September 21, 2020, 10:12:47 pm

Title: [SOLVED] MultiWAN: delay restoring of default WAN
Post by: alh on September 21, 2020, 10:12:47 pm
We use MultiWAN in a failover config. When the main line becomes a bit unstable we repeatedly had the issue that the failover was flipping back and forth between the two WAN interfaces. Like WAN1 goes down for a couple of minutes, failover to WAN2, WAN1 is again good for a couple of minutes so back to WAN1 and so forth. Is there a way to delay this? Like if we failover to WAN2 I want to the system to stay put for at least 15 minutes on WAN2 no matter what before going back to WAN1? Can Alert Interval be used for this (couldn't find anything in the docs)?
Title: Re: MultiWAN: delay restoring of default WAN
Post by: Fright on September 23, 2020, 04:42:11 pm
did you try to play with "Packet Loss thresholds" and "Time Period"?
i tried to set 5-10% lost and 600sec period: it takes about 1 minute to put the gateway down if connection lost and about 10 minutes of stable connection to lift gateway up.
Title: Re: MultiWAN: delay restoring of default WAN
Post by: alh on September 23, 2020, 04:43:57 pm
No, never adjusted the thresholds. Will try that. Thanks for your input.