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

    Connection dropped on CARP failover

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    5 Posts 2 Posters 1.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.
    • J Offline
      jaseeey
      last edited by

      Hi all,

      I've configured CARP failover on two pfSense virtual appliances which appears to be working great!

      However, one issue I have noticed is that if I am downloading a file, or pinging an external IP address, and then reboot the master firewall, the connections are dropped and do not continue when the slave firewall takes over. Whilst the the slave firewall is active, I can browse the Internet and do everything I need to, however the ping I have going and the download running do not recover until the master takes over again. I've tried restarting the ping (i.e. to 8.8.8.8), and it simply does not receive a reply until the master is back on.

      Is this expected behaviour with the firewalls?

      Kind Regards,

      Jason.

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        Check your pfsync / state sync settings. Connections shouldn't be dropped on failover if the configuration is proper/correct.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • J Offline
          jaseeey
          last edited by

          Hi jimp,

          Thanks for the reply.

          I've confirmed all the settings and it looks OK. It's a little weird that the download stops when the slave firewall kicks in, but as soon as the primary comes back online, the download resumes without any problems at all. Could this be something to do with the router?

          Kind Regards,

          Jason.

          1 Reply Last reply Reply Quote 0
          • jimpJ Offline
            jimp Rebel Alliance Developer Netgate
            last edited by

            If your state tables actually do sync (Check Status > CARP, pfsync nodes should be nearly identical and then check Diag > States, states should exist on both units), check your outbound NAT. You should be doing manual outbound NAT to a CARP VIP, or else you'll also get cut off like you see there.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • J Offline
              jaseeey
              last edited by

              Hi jimp,

              check your outbound NAT. You should be doing manual outbound NAT to a CARP VIP, or else you'll also get cut off like you see there.

              Thanks for your help, this one did it! I was NATing using the firewall IP instead of the virtual IP. Once I did a manual outbound NAT as suggested, the problem is fixed and the downloads continue through the failover with only a few packets dropped in between.

              Enjoy your weekend and thanks again!

              Kind Regards,

              Jason.

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