• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

"Least Load first" balancing

Scheduled Pinned Locked Moved Routing and Multi WAN
3 Posts 2 Posters 385 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    Dachantenne
    last edited by Jul 23, 2021, 7:58 AM

    I'm about to set up a pfsense connected to three WANs. I found tons of information on how to setup the load balancing to use all three interfaces and it always says the traffic is "equally distributed".
    But does that mean:

    1. Lets say we have 16 active connections. Would they be distributed (e.g.)
      WAN1: 5 connections
      WAN2: 6 connections
      WAN3: 5 connections

    OR

    1. We have a total of 100MBit/s currently used
      WAN1: 33MBit/s
      WAN2: 34MBit/s
      WAN3: 33Mbit/s

    On another firewall (we'd like to replace with pfsense) there's an option to select the interface with "Least Load first", meaning connections are not distributed just by amount of connections (like Round Robin), but by bandwith usage - which is exactly, what we need.
    Connections can either be video streaming or web browsing, so it would be bad to just distribute by amount of connections and ignore the used bandwith of each interface as 5 connections of video streaming may use more bandwith that 10 connections of web browsing.
    I don't necessary need one connection to be split over multiple interfaces, but just a more or less equal distribution for new connections, where the interface with the least load is preferred.

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Jul 23, 2021, 12:48 PM

      Multi-WAN load balancing has no concept of load testing, so that isn't possible. It's purely connection-based round-robin style. The most you could do is set gateway weights to send a larger portion of connections to a specific gateway but that's a static setup, not dynamic based on load.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 1
      • D
        Dachantenne
        last edited by Jul 23, 2021, 2:14 PM

        Damn, that would be such a nice feature...

        Thanks for your reply @jimp :)

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received