OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: Rhadamanthus on February 03, 2018, 04:40:19 am

Title: Load balancing/Failover based on bandwidth saturation
Post by: Rhadamanthus on February 03, 2018, 04:40:19 am
First and foremost, I would like to thank you for your excellent job you doing with OPNsense, keep it up!

Now to my matter. I have two WANs, the first one is a 17Mbit/1Mbit line and the other one a 12mbit/1Mbit. What I'm trying to achieve and I can't get it to work properly is that I want to fallback to the second wan only if the first one is fully saturated.

Somehow I can make it to work by taking advantage of the bufferbloat, thank to the first one being an ADSL connection, and setting a trigger on high latency with WAN1 in tier 1 and WAN2 in tier 2. I have also tried load balancing with both WANs in the same tier with mixed results due to the second WAN being slower and worse quality-wise than the first one, low tier ISP with bad routing.

So I'm asking if there is a "proper" way to achieve that setup based solely on bandwidth saturation.

Thank you in advance.
Title: Re: Load balancing/Failover based on bandwidth saturation
Post by: mimugmail on February 03, 2018, 06:13:19 am
With ADSL this is very hard to achive, normally I'd do this with high latency trigger, but with only 1Mbit Up this will be more often. 
Title: Re: Load balancing/Failover based on bandwidth saturation
Post by: Rhadamanthus on February 03, 2018, 07:45:33 pm
With ADSL this is very hard to achive, normally I'd do this with high latency trigger, but with only 1Mbit Up this will be more often. 

I'm also using high latency triggers as a workaround but the fallback it's not consistent.