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

Not sure if my load balancing works

Scheduled Pinned Locked Moved Routing and Multi WAN
4 Posts 2 Posters 234 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.
  • T
    tartopoils
    last edited by tartopoils Apr 24, 2020, 9:29 AM Apr 24, 2020, 9:27 AM

    Hello,

    I want to "load balancing" the traffic over my 2 connections. I followed the guilde https://docs.netgate.com/pfsense/en/latest/routing/multi-wan.html

    As you can see, I have a "default" gateway or I want that the traffic go through my 2 gateways (50/50):
    bdc48588-3adc-4cb6-947d-9703f3db804a-image.png

    Sometimes the "default" change and go to the other gateway.

    The routes (as you can see there are a default):
    f69eddb3-4bb6-44ba-8a7f-777ececfcb6c-image.png

    Here's the traffic of WAN1:
    7dbd086e-5477-40e4-8336-1ea9485fe66a-image.png

    WAN2:
    62423017-dcb3-49d2-a1c2-7b1ed78fdd6c-image.png

    Thanks.

    1 Reply Last reply Reply Quote 0
    • D
      DaddyGo
      last edited by Apr 24, 2020, 12:11 PM

      This is not entirely up to you (50/50), as loadbalancing uses a round-robin algorithm.
      https://en.wikipedia.org/wiki/Load_balancing_(computing)

      You're on the right way, anyway.

      Cats bury it so they can't see it!
      (You know what I mean if you have a cat)

      1 Reply Last reply Reply Quote 0
      • T
        tartopoils
        last edited by Apr 24, 2020, 12:38 PM

        Thanks for the information. Even if it's not "50/50" I just want to make sure my load balancing is working well ☺

        1 Reply Last reply Reply Quote 0
        • D
          DaddyGo
          last edited by Apr 24, 2020, 12:45 PM

          Try to create a test condition that places a heavy load on the WAN-side connection (gateway group).
          The test should be stronger than your lower performing WAN connection and watch the graphs or log with Zabbix (for example)

          Cats bury it so they can't see it!
          (You know what I mean if you have a cat)

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