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

    Load balancing working, but failover on Opt1 not working

    Scheduled Pinned Locked Moved Routing and Multi WAN
    15 Posts 5 Posters 4.9k 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.
    • L
      leimrod
      last edited by

      I don't see how this would change anything, because, as far as I understand it, as long as the IPs are unique to each WAN connection then failover should work. Am I wrong in this assumption?

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

        In addition to needing 2 unique IP's of the ISP you need to create static routes to force the packets out the correct gateway.  This has been covered in previous threads and in the load balancing docs @ doc.pfsense.com

        1 Reply Last reply Reply Quote 0
        • L
          leimrod
          last edited by

          This is the load balancing doc you are refering to: http://doc.pfsense.org/index.php/Multi-Wan/Load-Balancing

          I've read through it numerous times and nowhere in it does it mention anything about static routes.

          Could you just give me an example of how I should implement these static routes? Do I need to set one up for WAN and one for Opt1?

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by

            Woops, scratch that.  I forgot that we now add the static routes behind the scenes.

            1 Reply Last reply Reply Quote 0
            • H
              hoba
              last edited by

              You only need a static route to the DNS-Server at OPT1. The DNS-Server at WAN is covered by the default gateway already. Make sure you use one DNS from WAN and one from OPT1 at system>general.

              Oh, and btw, I already answered this question from you here: http://forum.pfsense.org/index.php/topic,3920.msg24880.html#msg24880  :P

              1 Reply Last reply Reply Quote 0
              • L
                leimrod
                last edited by

                ok, thanks… thats working perfectly now with the static route set up to point Opt1 to the DNS server. Hoba, I think I got confused because later on in my original thread you told me to remove the static route, but this was because I had the DNS servers set up as my monitors.

                All is working now perfectly.

                It might be an idea to put a sticky at the top of this forum with the common questions that are asked (i.e. FTP access, failover, DNS setup...etc)

                Or maybe add the detail about setting up a static route to the load balancer wiki?

                1 Reply Last reply Reply Quote 0
                • H
                  hoba
                  last edited by

                  @leimrod:

                  Or maybe add the detail about setting up a static route to the load balancer wiki?

                  I agree, we should add this to the doc and then create a new thread pointing to it and marking it sticky.

                  1 Reply Last reply Reply Quote 0
                  • S
                    sai
                    last edited by

                    I've added a paragraph "8.4 Setting up DNS for Load Balancing"
                    to http://doc.pfsense.org/index.php/Multi-Wan/Load-Balancing

                    Hope it is understandable.

                    1 Reply Last reply Reply Quote 0
                    • H
                      hoba
                      last edited by

                      Thanks sai!

                      1 Reply Last reply Reply Quote 0
                      • S
                        sullrich
                        last edited by

                        Nice work, thanks!

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