Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
load balancing multi-wan
« previous
next »
Print
Pages: [
1
]
Author
Topic: load balancing multi-wan (Read 12009 times)
jasonblewis
Newbie
Posts: 7
Karma: 0
load balancing multi-wan
«
on:
February 26, 2018, 01:19:53 am »
Hi,
I've tried setting up load balancing with my 2 ADSL connections as per the multi wan setup instructions. I set both WANs to the same tier but I don't see much in the way of "load balancing" it seems to always favour one of the WANs.
How does one test this to make sure its working as it is supposed to?
In
https://forum.opnsense.org/index.php?topic=3969.msg14151#msg14151
Franco states that its just round robin per connection, bit I don't think mine is even acheiving that. For example, If i do:
curl ipinfo.io/ip
repeatedly, I'd expect it to get different WAN IPs from time to time as it would be sending out the request from one of the two WANs, but it seems to always get the same IP.
Any tips would be appreciated
tia
«
Last Edit: February 26, 2018, 01:21:30 am by jasonblewis
»
Logged
Denis Raigorodski
Newbie
Posts: 6
Karma: 1
Re: load balancing multi-wan
«
Reply #1 on:
March 02, 2018, 02:09:05 pm »
I could be wrong but just to use the same command line will make load balance work.
Have you tried put real workload on your opn sense and check Report => Health => Trafic ??
Logged
nallar
Newbie
Posts: 15
Karma: 4
Re: load balancing multi-wan
«
Reply #2 on:
March 02, 2018, 04:05:28 pm »
You'll need to turn off sticky connections in the firewall advanced settings to get the behaviour you want.
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: load balancing multi-wan
«
Reply #3 on:
March 02, 2018, 04:46:26 pm »
We flipped defaults from round-robin to sticky round-robin for this, mostly because that's what people always asked for. The knobs are in the GUI of course, but I would not have expected having to help get that feature turned off again.
Cheers,
Franco
Logged
jasonblewis
Newbie
Posts: 7
Karma: 0
Re: load balancing multi-wan
«
Reply #4 on:
March 14, 2018, 02:20:43 am »
given the sticky connections is probably what one needs to ensure websites keep working, how do you recommend testing if the load balancing is actually working?
Logged
jasonblewis
Newbie
Posts: 7
Karma: 0
Re: load balancing multi-wan
«
Reply #5 on:
March 14, 2018, 02:26:55 am »
ok, i just tested with sticky connections turned off and as you suggested, it did give the behaviour i was expecting.
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: load balancing multi-wan
«
Reply #6 on:
March 14, 2018, 06:47:39 am »
You can get some bad side effects without sticky .. keep this in mind if you use this and some sites/games/apps wont work.
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
load balancing multi-wan