OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • Load Balancing
« previous next »
  • Print
Pages: [1]

Author Topic: Load Balancing  (Read 5142 times)

ian_sycamore

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Load Balancing
« on: November 20, 2015, 06:15:58 pm »
Hi There,
I was wondering if anyone could assist me with the setup of load balancing within OPNSense. Was wondering if it is possible to configure the load balancing so that we can set the percentage of broadband between our ISP's. Our office has Virgin and a couple of slower ISP's. What we want to do is create a load balance whereby 60% of the load is handles by the Virgin connection and the rest is distributed among the other two ISP's. Any help would be gratefully appreciated
Logged

ian_sycamore

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Load Balancing
« Reply #1 on: December 01, 2015, 02:59:57 pm »
Hi there,

Any chance that anyone has any information regarding this matter? 47 people have viewed this and no response as yet, surely an administrator has read this and could give me a simple yes or no?
Logged

phoenix

  • Hero Member
  • *****
  • Posts: 510
  • Karma: 57
    • View Profile
Re: Load Balancing
« Reply #2 on: December 01, 2015, 03:40:51 pm »
I'm not an administrator, just a home user, but you might be able to do what you want with some of the information in these articles: https://www.google.fr/search?q=%2Bpfsense+%2B%22load+balance%22+%2Bisp&ie=utf-8&oe=utf-8&gws_rd=cr&ei=J7BdVvzQFseSabaClZgF

or this: https://doc.pfsense.org/index.php/Multi-WAN
Logged
Regards


Bill

Alphabet Soup

  • Newbie
  • *
  • Posts: 47
  • Karma: 7
    • View Profile
Re: Load Balancing
« Reply #3 on: December 03, 2015, 04:21:40 am »
Specifically, in the pfsense docs phoenix has pointed to, in the config of each Gateway, under "Advanced Options" you can assign a "Weight".  So to get a 60% : 20% : 20% distribution, I guess you'd weight them 3 : 1 : 1.
Logged

ShaunHirst

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Load Balancing
« Reply #4 on: December 04, 2015, 10:04:14 pm »
so how would this work for 4 or 5 WAN ports.

i assume 3, 1, 1, 1 would result in 70%, 10% , 10% ,10%

Thanks in advance
Logged

Alphabet Soup

  • Newbie
  • *
  • Posts: 47
  • Karma: 7
    • View Profile
Re: Load Balancing
« Reply #5 on: December 09, 2015, 08:07:48 am »
Someone who knows how the weights are evaluated could say with more authority than me.  Assuming it's just straight arithmetic, no, 3 : 1 : 1 : 1 is 50% on the first line and the other 50% distributed among the remaining.  Since you can only assign a weight between 1 and 5 to a line, it may not be possible to apportion bandwidth ratios exactly.  But, for example, 50% may be close enough to your desired 60% to be good enough.

For a five-line setup, again with 60% on the first line and the other 40% distributed among the remaining, I think the closest you could get would be 5 : 1 : 1 : 1 : 1.  If you could assign a weight of '6' to the first line then the ratio would be exact.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • Load Balancing
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2