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

    Configure Load Balancer & Failed over

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    24 Posts 7 Posters 11.6k 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.
    • ?
      Guest
      last edited by

      I've set up two gateways wan1 and wan2, and a group named loadbalance, the make a rule to send all traffic trough loadbalance and it's working, it was very easy.




      Failover is not working

      1 Reply Last reply Reply Quote 0
      • K
        kambeeng
        last edited by

        Hello Afrugone

        Thank for ur help, its work with u, btw for me it still not work.

        I don't get any errors when I create the group but when you go back into the newly created group wan2 is now listed as tier "never" I have tried every combination of tier settings and the second interface will always be set back to never after saving and applying config. If I just select a tier for wan2 it will error with:
        The following input errors were detected:

        * No gateway(s) have been selected to be used in this group

        Have any of you had a similar problem or am I missing something with Gateway Groups?

        i have try to configure groups and showing failure notice
        can u tell me what version of ALPHA use

        regards

        kambeeng

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          Hi, kambeeng

          As you can see in my dashboard screenshot version is August 1, other important think is that both wan are connected to two routers using DHCP,  NOT using PPOE directly to pfsense, I think development for multiwan PPOE is not 100% ready

          Remenber to set up a Firewall Rule as shown in my previous post

          This is my test network configuration:
          ![](http://www.atchile.com/pfs/SIMPLE GATEWAY CONF.jpg)

          1 Reply Last reply Reply Quote 0
          • E
            eri--
            last edited by

            As a side note suggested to me by the dev that did the new outgoing loader balancer.

            If you are on pppoe find the pppoe gateway and use it on the Gateways tab. Usually the gateway of pppoe does not change only its ip does. In this way you can do outbound load balancing till the full featured one is finished. this gives you the ability to load balance 2 pppoe connection if one wishes.

            1 Reply Last reply Reply Quote 0
            • K
              kambeeng
              last edited by

              Afrugone many thanks

              Can i see ur firewall rule  and  NAT plz….
              its very help me ...........

              1 Reply Last reply Reply Quote 0
              • K
                kambeeng
                last edited by

                Afrugone

                What happend with this , i have to set and showing this error,
                can u help me plz

                System Gateways : Edit Gateways

                Group Name : Load Balance
                Gateway Priority :  Tier 1  VIGOR GATEWAY (WAN)
                                          Tier 2  DLINK  GATEWAY (OPT1)

                Description Loadbalance

                when i tried to save that configuration its showing error

                X the following input error were detected :
                No gateway have been selected to be use in this group

                and showing my configuration tier1 back to the "NEVER"

                thnks

                1 Reply Last reply Reply Quote 0
                • M
                  m3isp
                  last edited by

                  Since you copied my post from another thread and reposted it under your name I figured the least I could do would be to solve your problem for you. To prevent the Tier never error from occurring remove all special characters from the names of your gateways. Special characters seem to include capital letters and spaces. I have not tested it with numbers but I would leave them out for good measure.

                  Regards
                  M3isp

                  1 Reply Last reply Reply Quote 0
                  • K
                    kambeeng
                    last edited by

                    hello M3isp

                    I have succeded configure that one…
                    i have one question.... in gateway everythink is ok.. status of gateway also but load balancer not worked, just only wan1 worked.

                    how to configure in firewall rule and nat rule for make succeded that load balancing.

                    in status of gateway seems to be ok.

                    tks

                    1 Reply Last reply Reply Quote 0
                    • ?
                      Guest
                      last edited by

                      The only think not working for me is failover, any special hint for this?

                      1 Reply Last reply Reply Quote 0
                      • M
                        m3isp
                        last edited by

                        Firewall Rule:

                        Proto: *
                        Source: LAN Net
                        Port:*
                        Destination:*
                        Port:*
                        Gateway:"Select load balanced gate from drop down"
                        Queue:none
                        Schedule:n/a

                        Not sure what the Outbound NAT would be for 1.3 should be something like:
                        Interface:?
                        Source: 192.168.0.1/24 "or whatever you use"
                        Destination: Any
                        Gateway:"Put Load Balanced Gateway Here"

                        I haven't checked AON in 1.3 so I'm not sure if using AON is even an option for this. Maybe someone else can comment.

                        BTW I'm not an authority on PFSense by any means. Please correct me if I make a mistake.

                        Regards
                        M3isp

                        1 Reply Last reply Reply Quote 0
                        • K
                          kambeeng
                          last edited by

                          i have try setting like u .. but a load balance not working.
                          only one isp running….
                          probably i use 2 isp

                          1 Reply Last reply Reply Quote 0
                          • ?
                            Guest
                            last edited by

                            I've updated to latest versions, and now everything is working including failover.

                            1 Reply Last reply Reply Quote 0
                            • K
                              kambeeng
                              last edited by

                              Thanks Afrugone

                              I will try.  ;D

                              1 Reply Last reply Reply Quote 0
                              • D
                                databeestje
                                last edited by

                                Description of how tiers work.

                                This might be best explained by viewing you configuration on the Status -> Gateways -> Gateway Groups tab.

                                All gateways within the same tier will load balance.
                                When all gateways in the tier are down we will use the next tier with a gateway.

                                For example, when you want to load balance WAN1, WAN2 and use WAN3 if all else fails, then:
                                WAN1 Tier 1
                                WAN2 Tier 1
                                WAN3 Tier 2

                                When You want to load balance WAN1, WAN2 and WAN3, then:
                                WAN1 Tier 1
                                WAN2 Tier 1
                                WAN3 Tier 1

                                When You want to failover from WAN 1, to load balancing WAN2 and WAN3, then:
                                WAN1 Tier 1
                                WAN2 Tier 2
                                WAN3 Tier 3

                                I hope this explains.

                                1 Reply Last reply Reply Quote 0
                                • K
                                  kambeeng
                                  last edited by

                                  Thnk u databeestje

                                  I already implemented about that.

                                  kambeeng

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    kambeeng
                                    last edited by

                                    Hello databeestje

                                    Need ur help pls.

                                    I have configure load balance also failed over as ur suggested.
                                    i indicator are working…. which both gateway Wan1 & Wan2.
                                    Btw if i disconnected modem one of them.

                                    For example.

                                    I use 2 modem adsl with speed 1mbps.
                                    1. Vigor (Daytrex)
                                    2. DLINK

                                    everything is ok if i used both modem i mine (LoadBalance) speed will increased.
                                    But if I disconnected Vigor and I want used only DLINK, its not working its diferent with 1.2 , everything is better both loadbalance and failde over.

                                    any suggested for this case

                                    regards

                                    Kambeeng

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

                                      It's wild guess, as i haven't tried 1.3 loadbalancing yet, but could it be a DNS resolve problem.
                                      try 208.69.34.230 in browser

                                      /Perry
                                      doc.pfsense.org

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        kambeeng
                                        last edited by

                                        Hello perry….

                                        my dns its ok... btw which dns u give to me, its open dns

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