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

    High availability…1 WAN IP

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    12 Posts 7 Posters 9.1k 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.
    • ? Offline
      A Former User
      last edited by

      @cmb:

      Not possible at this time.

      any hope of seeing it anytime in the near future?

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

        pfSense 2.2 will likely bring in newcarp/carpdev so it can work with one IP, but I don't think that would still work with a dynamic IP.

        The ugly solution is to enable your modem/router's NAT mode and let it handle the dynamic IP, and have it do 1:1 to a CARP VIP in a private IP "WAN" segment that uses a new private subnet you make up.

        Double NAT is definitely ugly, but it may be better to by ugly and redundant than not.

        The best solution would be to upgrade your connection to one that gives you a block of static IPs (/29 or bigger) to use with CARP properly.

        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
        • ? Offline
          A Former User
          last edited by

          how about configuring something to allow two active firewalls to syn with e/o regardless of the number of IPs and static or dymanic connection?

          just a thought, i have no idea what it takes to program the firewall.

          sonicwall has a nice setup, you connect two firewalls together and enable high availability.  all with 1 WAN IP.  and both sonicwalls share the same LAN IP, when you login to lets say….192.168.1.1 at the top of the sonicwall page it tells you if you are logged into the primary unit or the backup unit.

          obviously if you make a change it pushes it to the other firewall.  if you lose a firewall, the other one kicks in.  firmware upgrades are nice, while one unit is upgrading the firmware, the other unit keeps the network online.

          anyway, just a thought.

          thanks.

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

            That isn't possible the way we currently do failover, and wouldn't be something we could do without significant funding.

            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
            • ? Offline
              A Former User
              last edited by

              @jimp:

              That isn't possible the way we currently do failover, and wouldn't be something we could do without significant funding.

              very understandable.  thanks for the reply.

              1 Reply Last reply Reply Quote 0
              • B Offline
                bmatic586
                last edited by

                I currently have an Alix box and Watchguard with both running pfSense. Is there a way to automatically copy the active config from one box to another? I understand that it's not possible to do failover with 1 WAN IP, and that's fine, I wouldn't mind swapping a couple of cable from one FW to another, but is there a way to push config from main (watchguard) to backup (alix) automatically after a change has been made?

                Thanks guys.

                1 Reply Last reply Reply Quote 0
                • DerelictD Offline
                  Derelict LAYER 8 Netgate
                  last edited by

                  Isn't pfsync completely independent from CARP/failover?

                  Check out System->High Avail Sync.

                  There's no requirement to set up CARP to use it AFAIK.

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bmatic586
                    last edited by

                    @Derelict:

                    Isn't pfsync completely independent from CARP/failover?

                    Check out System->High Avail Sync.

                    There's no requirement to set up CARP to use it AFAIK.

                    That's what i'm thinking… i was just wondering if anyone has done it before...

                    Thanks.

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ Offline
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      @jimp:

                      The ugly solution is to enable your modem/router's NAT mode and let it handle the dynamic IP, and have it do 1:1 to a CARP VIP in a private IP "WAN" segment that uses a new private subnet you make up.

                      Double NAT is definitely ugly, but it may be better to by ugly and redundant than not.

                      Not sure I would call this an ugly solution - it's actually one of the few examples of when double natting would make sense.

                      But couldn't you just remove the double nat and just use pfsense as router/firewall, and let the isp gateway in front of pfsense handle the nat.. As long as your isp gateway can do normal routing.

                      So you end up with something like this

                      internet - publicIP (isp gateway) 10.0.0.1/24 – 10.0.0.2/24 Carp VIP (pfsense) 192.168.1.1 CARP VIP -- PCs

                      Where pfsense1 would have wan of 10.0.0.3 and pfsense2 10.0.0.4, and lan pf1 192.168.1.2 and pf2 192.168.1.3

                      Now as long you can put route entry in isp gateway to the pfsense wan VIP for your 192.168 network(s)  You should be good without having to deal with actual double nat.

                      But for the life of me I don't see how running CARP would make sense in a home setup - other than the fact that you could and its techie and fun..

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      • 1 Offline
                        172pilot
                        last edited by

                        One additional question about this thread..  And yes, I'm also talking about a home environment, and yes, it's only because I'm a techie and it's fun!  :-)

                        In the docs, it says that you need a REAL WAN address for each CARP participant, and in the diagram it does show "real" addresses.

                        On my cable modem setup, I have the ability to do DHCP to get a 10.x address from the cable modem, and I have five REAL addresses that I have setup as secondary addresses on my pfsense.  The real addresses of course have a different default gateway than the 10.x gateway on the DHCP interface…

                        My first question is whether I lose the ability to do inbound NAT/PAT on two real addresses if I use one for each of two CARP nodes, or if use of the address for CARP wont stop me from using those addresses for inbound traffic at the same time.

                        I am assuming that CARP will take those addresses and stop me from using them otherwise, so my second question is whether PFSense will let the CARP addresses both be DHCP 10.x addresses, so long as they can communicate together on that address and they have the same gateway?  I am allowed by Comcast to have multiple 10.x addresses via DHCP, and I'd prefer to use that for CARP if I will lose the ability to use the IPs for other than the CARP process.

                        Thanks, and sorry for my newbie, non carp-understanding question!!
                        -Steve

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