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

How does round robin gateway load balance mechanism work ?

Scheduled Pinned Locked Moved Routing and Multi WAN
3 Posts 2 Posters 1.2k 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
    deajan
    last edited by Nov 1, 2016, 8:07 AM Nov 1, 2016, 7:44 AM

    Hi,

    I have that question regarding gateway load balancing strategy.

    Let's assume I have two WAN links:
    WAN1 = 100Mb/10Mb
    WAN2 = 10Mb/1Mb
    Both WAN are in a gateway group as Tier 1. Sticky connections is enabled.

    Now let's take 20 LAN computers that upload simultaneously some stuff to different destinations.

    1/ Does the round robin load balancing let half of the LAN computers pass through WAN1 and the other half through WAN2 ? Meaning that some uploads will be quick, other painfully slow ?
    2/ Is there any packet loss detection (when RED or ECN is configured) involved that will make load balancing route more connections to WAN1 instead of a saturated WAN2 link ?

    The final question is if the round robin load balance scheduler is affected only by packets to process or also by WAN quality ?

    Regards,
    Orsiris de Jong.

    NetPOWER.fr - some opensource stuff for IT people

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Nov 8, 2016, 5:31 PM

      It is round-robin and connection-based. It knows nothing of bandwidth or usage. You can control the balance with weighting, however.

      With sticky, all connections from a specific user are tied to a specific gateway. So in your example with 20 users, if the gateways were wighted 1:1 then you'd likely end up with 10 people using one WAN and 10 people using the other.

      If you weight the 100M WAN as 10 and the 10M WAN as 1, you'll get a 10:1 usage ratio (more or less) so you'd end up with ~18 people on one WAN and ~2 on the other. Give or take, might end up 19/1 depending on how the connections come in and the order of the gateways.

      Without sticky then you can't predict which connections will end up on which WAN, it would redirect them based on the weight ratio alone.

      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 0
      • D
        deajan
        last edited by Nov 8, 2016, 6:02 PM

        Thanks alot for your explanation, makes things way more clear for me :)

        NetPOWER.fr - some opensource stuff for IT people

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