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

Multi wan load balancing limit upload speed

Scheduled Pinned Locked Moved Routing and Multi WAN
4 Posts 4 Posters 1.7k 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.
  • K
    Krishsns
    last edited by Nov 4, 2016, 9:55 PM

    Hi, I have multi wan load balancing setup. Which working fine. My question is. I have two internet connection, one with 15mbps upload and download, other is 10 Mbps download and 2 Mbps upload. The load balancing some time sets the lowest upload speed 2 Mbps. It there anyway to block the 2mbps upload and give all user the 15 Mbps of my first wan.

    1 Reply Last reply Reply Quote 0
    • H
      heper
      last edited by Nov 4, 2016, 10:29 PM

      Load Balancing

      When two gateways are on the same tier, they will load balance. This means that on a per-connection basis, connections are routed over each WAN in a round-robin manner. If any gateway on the same tier goes down, it is removed from use and the other gateways on the tier continue to operate normally.

      so, no

      1 Reply Last reply Reply Quote 0
      • B
        bbrendon
        last edited by Nov 5, 2016, 12:18 AM

        If you have users that upload a lot you can force them to one connection but you can't detect which users are uploading and send them to the WAN connection with the fastest upload speed.

        1 Reply Last reply Reply Quote 0
        • D
          Derelict LAYER 8 Netgate
          last edited by Nov 5, 2016, 2:02 AM Nov 5, 2016, 1:55 AM

          Your problem description is unclear. Load balancing doesn't set bandwidth.

          However:

          You can adjust the gateway weights in a load balancing setup.

          You have a combined upload of 17Mbps with 88% on one circuit and about 12% on the other. Dividing each by 4 brings you to 22 and 3 respectively.

          Try setting those values on each gateway in the advanced settings as the Weight.

          This is not perfect as the system has no way of knowing how much bandwidth a given connection is going to use when it is established and the route is chosen. It also has no way of knowing whether the connection will be used to primarily send or receive data. This algorithm will establish 22 states on one circuit and three on the other for every 25 states created. Sticky connections should also override this.

          Should help at least little.

          Note that your download is split 60/40 so this might result in under utilization of the 10M download. You might want to skew them toward something between 88/12 and 60/40. Like maybe 70/30 (weights of 7 and 3).

          See Also: https://portal.pfsense.org/docs/book/multiwan/policy-routing-load-balancing-and-failover-strategies.html#multiwan-unequal-cost

          If you have known traffic that generates uploads you can make another gateway group that fails over from the 15/15 to the 10/2 instead of load balancing the two. Policy route that specific traffic to that gateway group then policy route everything else to the load balancer group. If the 15/15 happens to go down, that traffic will use the other circuit.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

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