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

    Load Balancing by percentage

    Routing and Multi WAN
    4
    5
    3.3k
    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.
    • H
      hyperlight
      last edited by

      Hi,

      Forgive me if this has been covered before. I am not too sure what I should be searching for.

      I have a multi-WAN setup, but since the lines are not the same speed I want to be able to load balance by a percentage. For example Line 1 40% of traffic, Line 2 60% of traffic. If this is possible where would I configure it. Thanks for any input.

      1 Reply Last reply Reply Quote 0
      • P
        Perry
        last edited by

        Add a extra monitor ip for the faster line in your load balancer pool.

        /Perry
        doc.pfsense.org

        1 Reply Last reply Reply Quote 0
        • I
          izasharing
          last edited by

          Hi Perry,

          I'm having the same problem. Can you explain to me in dummy-terms how this solution would look like and work?

          thx!

          1 Reply Last reply Reply Quote 0
          • J
            jasonlitka
            last edited by

            This is a week old but it's something I've been playing with and I've got the answer.  Anyway, to do percentage-based load balancing you'd want to add more than one entry for each connection in your LB Pool.

            Example, you've got a 2 Mbit/s line and a 500 Kbit/s line and you want them used relatively evenly.  To do that you'd want to create 4 entries for the first and 1 for the second.  That way, approximately 80% of your traffic would go to the 2 Mbit/s line and the other 20% to the 500 Kbit/s line.

            I can break anything.

            1 Reply Last reply Reply Quote 0
            • I
              izasharing
              last edited by

              Hi Jason
              yeah, i had already figured that same thing out. it was this post that started me in the right direction. Works fine now.

              thx for your input though

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.