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

    Can't get dual wan to work on a ADSL wih dynamic IP and a cable with fixed IP

    Scheduled Pinned Locked Moved Routing and Multi WAN
    8 Posts 4 Posters 3.4k 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.
    • S
      starriol
      last edited by

      Ok guys, I've followed the instructions from the wiki as closely as I could, but when I disconnect wan, failover doesn't work (didn't test with OPT1).

      wan is the ADSL modem with dynamic IP, it uses PPPoE.
      OPT1 is the cable modem with dynamic ip (but it always get my fixed ip).

      Load balance is exactly as the wiki says… except i'm pinging the Default gateway since the dns doesn't respond to ping.

      Then, firewall is the same as the wiki, except that I coulnd't chose an IP as destination for wan rule so I had to chose the " WAN2FailsToWAN1 " failover rule...

      Anyway, if you would go here and download the config, you'll be most thankful and it'll be clearer for you since I promised my boss Pfsense can do the job and I can't get it working... and it's a very bad position for me :(
      Go here please: http://www.streamupload.com/download.aspx?fileID=2007104214725

      Thanks!

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

        Please, anyone?

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

          Did you use  http://doc.pfsense.org/index.php/MultiWanVersion1.2  ?

          When you say 'but when I disconnect wan, failover doesn't work' what exactly does not work? Does the load balancing status show the WAN to be offline?

          Check that you have your OPT1 ISPs DNS in general settings and that there is a static route for that DNS server.

          Config files are a bit difficult to read. Screen shots of relevant pages would be nicer.

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

            Did you use  http://doc.pfsense.org/index.php/MultiWanVersion1.2  ?

            Yes, I did.

            When you say 'but when I disconnect wan, failover doesn't work' what exactly does not work? Does the load balancing status show the WAN to be offline?

            It does go offline but I can't browse the Internet

            Check that you have your OPT1 ISPs DNS in general settings and that there is a static route for that DNS server.

            Didnt do that, do you think it's so important? The problem is that I used a free DNS server that when I had WAN connected worked perfectly

            Config files are a bit difficult to read. Screen shots of relevant pages would be nicer.

            Ok, I'll try to get some

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

              @starriol:

              Check that you have your OPT1 ISPs DNS in general settings and that there is a static route for that DNS server.

              Didnt do that, do you think it's so important? The problem is that I used a free DNS server that when I had WAN connected worked perfectly

              This is very important.
              If you dont have a static route entry that points the DNS-request to the second WAN your DNS-request will always go out the primary WAN (which 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
              • S
                sai
                last edited by

                Yes, you need one DNS server for each ISP. Each ISP must have a different DNS associated with it, so that if one ISP goes down you can use another DNS server.

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

                  Ok guys, I actually have done that, but perhaps not ok… check firewall rules lan, i think that was the problem.

                  But do you think, again, that the routes to the DNS servers are important if I use 2 free public accesible dns services?

                  Please tell me what do you think...

                  ![opt1 config 2.jpg](/public/imported_attachments/1/opt1 config 2.jpg)
                  ![opt1 config 2.jpg_thumb](/public/imported_attachments/1/opt1 config 2.jpg_thumb)
                  ![pfsense_local - Firewall Rules LAN 2.JPG](/public/imported_attachments/1/pfsense_local - Firewall Rules LAN 2.JPG)
                  ![pfsense_local - Firewall Rules LAN 2.JPG_thumb](/public/imported_attachments/1/pfsense_local - Firewall Rules LAN 2.JPG_thumb)
                  ![pfsense_local - Interfaces WAN 2.jpg](/public/imported_attachments/1/pfsense_local - Interfaces WAN 2.jpg)
                  ![pfsense_local - Interfaces WAN 2.jpg_thumb](/public/imported_attachments/1/pfsense_local - Interfaces WAN 2.jpg_thumb)
                  ![pfsense_local - Status Load Balancer Pool 2.jpg](/public/imported_attachments/1/pfsense_local - Status Load Balancer Pool 2.jpg)
                  ![pfsense_local - Status Load Balancer Pool 2.jpg_thumb](/public/imported_attachments/1/pfsense_local - Status Load Balancer Pool 2.jpg_thumb)
                  ![pfsense_local - Load Balancer Pool 2.jpg](/public/imported_attachments/1/pfsense_local - Load Balancer Pool 2.jpg)
                  ![pfsense_local - Load Balancer Pool 2.jpg_thumb](/public/imported_attachments/1/pfsense_local - Load Balancer Pool 2.jpg_thumb)

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

                    Yes static routes for DNS is vital.  I would suggest using the ISP DNS servers and setting up static routes to them.

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