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

    Failover only working when using dhcp on wan2

    Scheduled Pinned Locked Moved Routing and Multi WAN
    13 Posts 4 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.
    • A Offline
      artbybart
      last edited by

      I was running into the same problem.  However, I finally got failover (NOT Load Balance) to work when WAN1 & WAN2 are both setup to Static IP (thanks to bob & ktims).

      It'll be much easier to help you, if you post some pictures of the Static config (WAN1 & WAN2), LAN firewall rules, and load balancer pool config.  This way it will be much easier to see if there's anything setup incorrectly.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • Z Offline
        zam
        last edited by

        Hi artbybart,

        Can you help me in this topic?
        My PF is configured with Two Static WAN address. Everything looks fine but failover not works after disconnecting WAN1 or WAN2.
        Please have a look on attached snaps of Rules, Pools and Status.
        WAN1 : aa.aa.aa.aa  WAN2: bb.bb.bb.bb
        GW : xx.xx.xx.xx        GW : yy.yy.yy.yy

        Thanks

        LoadBalancer.jpg
        LoadBalancer.jpg_thumb
        Rule.jpg
        Rule.jpg_thumb
        Status.jpg
        Status.jpg_thumb
        Status_one_ISP.jpg
        Status_one_ISP.jpg_thumb

        1 Reply Last reply Reply Quote 0
        • S Offline
          Supermule Banned
          last edited by

          How are your CARP settings setup??

          1 Reply Last reply Reply Quote 0
          • Z Offline
            zam
            last edited by

            Hi,

            No CARP has been configured….....

            1 Reply Last reply Reply Quote 0
            • S Offline
              Supermule Banned
              last edited by

              And you know what CARP is???

              Now you are only balancing the WAN's…..there no failover configured....

              1 Reply Last reply Reply Quote 0
              • Z Offline
                zam
                last edited by

                Yes its pfSense Hardware Redundancy, I don't want the hardware redundancy.
                I have added another OPT interface into my pfsense and trying to make WAN loadbalancing or Failover using OPT interface.
                Unfortunately testing looks fails….
                I am testing with removing Lan cable with one of the WAN interface and automatic failover not happening. Its works only after rebooting......
                Is there any thing I am missing?

                1 Reply Last reply Reply Quote 0
                • A Offline
                  artbybart
                  last edited by

                  Zam,

                  For starters, I'm only using the Failover feature and NOT load balancing.  Therefore, in the load balancer pool I only have 2 pools setup: WAN1 failing to WAN2 and WAN2 failing to WAN1.  As far as your settings are concerned, they seem fine cuz that's how i got them (with WAN1 & WAN2 gateways).

                  As far as rules are concerned, in the pic I see there's a rule there, which I put as the first rule in the rules table.  I don't know if you've done that already or not.  In addition, I have also put a similar secondary rule; except with WAN1 gateway (xx.xx.xx.xx) in the "Gateway" section.

                  Lastly, are you able to ping both gateways from the console (NOT the web)?  I know it sounds silly, but you never know!

                  Hope this helps.  Good luck!

                  1 Reply Last reply Reply Quote 0
                  • Z Offline
                    zam
                    last edited by

                    Hi artbybart,
                    I have edited the pools and rules as per your instruction….. Please have a look attached snaps...
                    I think something wrong with rules......Still no Success.........

                    First rule showing Lan to Default GW that is WAN1
                    Second rule showing Lan to Second GW that is WAN2 (yy.yy.yy.yy)

                    Thanks for your reply.........

                    LoadBalancePool.jpg
                    LoadBalancePool.jpg_thumb
                    Rules.jpg
                    Rules.jpg_thumb

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      stephend2
                      last edited by

                      I can set both to static…

                      the way I was doing it was to set up a single pool with WAN1 and WAN2, configured as failover then set the outgoing firewall rule to use that pool for the gateway.

                      as long as I had dhcp enabled on both interfaces it worked fine.

                      I will be on the customer's site today, will try both as static, if the cable company is willing...they usually assign static addresses via dhcp only.

                      1 Reply Last reply Reply Quote 0
                      • Z Offline
                        zam
                        last edited by

                        Hi
                        Yeah you are right stephend2…. a single Pool required and Rule must be pointed to PoolGateway.......
                        Its works fine for Static also ( ONLY FOR FAILOVER )

                        Thanks all of you for help.........
                        :)

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