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



  • 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!



  • Please, anyone?



  • 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.



  • 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



  • @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….)



  • 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.



  • 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)



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


Log in to reply