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

    4 DSL Lines (WAN) Loadbalancing/Failover

    Scheduled Pinned Locked Moved Routing and Multi WAN
    10 Posts 3 Posters 5.0k 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.
    • G
      gsp
      last edited by

      Dear all,

      i know that this case maybe exist many times in here, but i have spent many hours and haven't find any CLEAR guide to do this…

      I have 5 ethernet cards 1 Lan and 4 Wans which goes to 4 DSL modem/routers of the same provider.

      I want to do Loadbalancing AND Failover... Is there any clear guide anywhere? Now with some basic rules seems to work but i have problems with failover... I have made onle one Pool on loadbalancing (which seems to be wrong...)...

      Could anyone help me with the combinations that i should use so this system works? I want only internet access with no special port forwarding or something...

      Any help would be appreciated...

      Thanks

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        What are your problems with failover?

        When one of the lines get marked as down it wont be used anymore for loadbalancing.
        I dont know how you want more failover than that.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • G
          gsp
          last edited by

          Hi, thanks for your answer… I don't want more failover than that as you said..! But it seems not to be working and i wonder if i need more rules..or something... I have made only one pool with these four modems. The problem is that when two of them are down, clients have no internet at all!... After reseting the modems everything is fine..(our telephone company here sucks...)

          I have seen over internet different configs and combinations of fail over... thats why i am asking do i have to make all possible combinations of 'fail' or the system understands if any modem of any order fails, works with the remaining ones?

          Thank you

          1 Reply Last reply Reply Quote 0
          • G
            gsp
            last edited by

            Also another question is… when i have 4 wans fail over will work up to one working? I mean it can work even if 3 of 4 modems fail? Or can cover one per fail? So i wonder is this config right?

            1 Reply Last reply Reply Quote 0
            • GruensFroeschliG
              GruensFroeschli
              last edited by

              You kind of dont need that many pools.
              The first one is enough :)
              (Since it's the only one you use in he LAN rule).

              Could you show a screenshot of the config page of the pool itself?

              We do what we must, because we can.

              Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

              1 Reply Last reply Reply Quote 0
              • JeGrJ
                JeGr LAYER 8 Moderator
                last edited by

                You did change the gateway of your default pass rule on the LAN interface, don't you? If not, change it from reading "default" in the standard configuration to the balance pool you defined (BALANCE). That should do - and as GruensFroeschli already said, your BALANCE pool is enough if you just want failover and if you do not need outgoing loadbalancing.

                Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                1 Reply Last reply Reply Quote 0
                • G
                  gsp
                  last edited by

                  Yeap, i need Load balancing  AND failover… because i have low bandwidth in my area and bad stability of lines...

                  Here is the balance pool

                  and here the pass rules… first ones are for accessing the modems, and the last goes to balancing pool, right?

                  1 Reply Last reply Reply Quote 0
                  • G
                    gsp
                    last edited by

                    Looking at the Behavior section, it says "both active", but the order is from top to down.. so what happens on clients connected through OPT3 if this modem fails? Thats why i made all these pools which i am not sure if it uses them as in the firewall i change the default gateway to LoadBalancing pool only as you said…its a little bit confusing eh? :-\

                    1 Reply Last reply Reply Quote 0
                    • JeGrJ
                      JeGr LAYER 8 Moderator
                      last edited by

                      IMHO this means, that all given interfaces are used (balancing). If one of them fails, connections are served using the three working ones. If someone has sth like a streaming video over OPT3 and this modem breaks, the connection will stop. If he/she clicks resume or reload, it will stream again (as now the stream is served over one of the three remaining lines).
                      I only had balancing settings with 2 interfaces so I cannot say much about the top down priorization

                      Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                      If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                      1 Reply Last reply Reply Quote 0
                      • G
                        gsp
                        last edited by

                        Thanks, so anyone with 4 or more modems and config similar to this?  :)

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