Author
Topic: Load Balancing (Read 1636 times)

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

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.

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.