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

    Load balancing and multi lan config

    Scheduled Pinned Locked Moved Routing and Multi WAN
    16 Posts 4 Posters 7.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.
    • GruensFroeschliG
      GruensFroeschli
      last edited by

      What perry wrote is not about traffic from the clients.
      This is purely for DNS requests from the pfSense to the DNS server(s) of your ISP.
      (To allow pfSense to resolve names even if one WAN is down).

      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
      • M
        Megastar
        last edited by

        i was talking about the link he provide in example. I already done this for dns. But i still can't have load balancing on lan1 AND lan2. Lan1 can do it, lan2 use only wan… When wan fall, lan2 can go out with wan2.  Is there someone who success having load balancing on various lan ?

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

          Yes. I have it running.

          Can you provide screenshots of:
          interface-status-page
          LB-config-page
          LB-pool-status-page
          firewall-rules LAN1, LAN2
          config-page WAN1, WAN2
          NAT-rules
          AoN-rule

          maybe it's something small which just is missconfigured.

          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
          • M
            Megastar
            last edited by

            Ok here we go !

            For wan and wan2 config, both have static public IP. Both wan use the same provider, so dns are the same for both connections.

            statusif1.jpg
            statusif1.jpg_thumb
            statusif2.jpg
            statusif2.jpg_thumb
            lb1.jpg
            lb1.jpg_thumb
            lb2.jpg
            lb2.jpg_thumb

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

              the last screenshots :

              lanrules.jpg
              lanrules.jpg_thumb
              lan2rules.jpg
              lan2rules.jpg_thumb
              Aon.jpg
              Aon.jpg_thumb

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

                You say the two WANs are from the same ISP.
                Are they per chance in the same subnet? (aka they have the same gateway?).

                The screenshots look good.
                Actually they look exactly the same as in my setup with different IPs.

                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
                • M
                  Megastar
                  last edited by

                  They are not in the same subnet, each have different public ip with different gateway. Only dns are equals. Which version do you use ? 1.2.2 or 1.2.3 RC1 ? I'm with 1.2.3 RC1 and maybe it's just a bug on this version…

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

                    I'm running 1.2.2.

                    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
                    • M
                      Megastar
                      last edited by

                      Thanks for your help  ;) ! I will try to reinstall in 1.2.2 version and test this !

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

                        Well, i have the same problem with 1.2.2 and config like describe above… Very strange... I really don't understand why it won't work. If you look at lan2rules.jpg i posted above, i can't even ping 192.168.90.1 (which is pfsense interface address on lan2) from my client 192.168.90.10 .   In order to do this, and to access internet, i have to change gateway field in the rule from loadbalance to default. But in this case, no load balancing anymore, just primary wan is used to go outside.  Really odd...

                        Edit : Did you modify something special in system:static route ? Maybe i miss a thing here...

                        1 Reply Last reply Reply Quote 0
                        • E
                          Eugene
                          last edited by

                          @Megastar:

                          i can't even ping 192.168.90.1 (which is pfsense interface address on lan2) from my client 192.168.90.10 .   In order to do this, and to access internet, i have to change gateway field in the rule from loadbalance to default. But in this case, no load balancing anymore, just primary wan is used to go outside.  Really odd…

                          It's is not odd it's normal. Just insert one rule before the last one "allow icmp from LAN2net to 192.168.90.1 using 'default' gateway" and you will be able to ping it.

                          http://ru.doc.pfsense.org

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