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

    Failover&High Aviability

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    15 Posts 3 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.
    • V
      viragomann
      last edited by

      That's the normal behavior with a single public IP. Since the only one public IP is occupied by the master, the backup node has no IP in the subnet of the ISP's gateway, hence it cannot access it.

      You can do a workaround, where you go out over the masters LAN interface. To do so, you have to add the masters LAN IP as a gateway. Then create a gateway group and add the ISP's gateway as Tier 1 and the masters LAN IP as Tier 2. Set the trigger level to "Member Down" and set this gateway group as your default gateway.
      You may do the same on the master by using the backups LAN IP to have internet access on the first node as well, when the second is master.

      1 Reply Last reply Reply Quote 1
      • A
        aslanov
        last edited by

        I am not clearly understand what are you mean. Second pfSense have different WAN IP 10.0.0.9/24. They are both have same GW from ISP.

        The strange point that i can't ping my primary pfSense WAN interface from my secondary pfSense inteface.
        They are location on the same network.

        V 1 Reply Last reply Reply Quote 0
        • V
          viragomann @aslanov
          last edited by

          You wrote, you have only one public IP. Hence this one public IP has to be your CARP VIP, while your primary interface IPs on master and backup will be in a private subnet.
          However, your Example doesn’t match to that, since you only mentioned private IPs. So maybe you should tell us your real IPs for clarification or use an Example which matches to what you describe.

          P 1 Reply Last reply Reply Quote 1
          • A
            aslanov
            last edited by

            I created the schenatic diagram you can see it on attachment

            WAN Network: 10.0.0.0/24
            LAN Network 192.168.1.0/24

            PFsense.png

            V 1 Reply Last reply Reply Quote 0
            • P
              Pavel88 @viragomann
              last edited by

              @viragomann
              Look please

              V 1 Reply Last reply Reply Quote 0
              • V
                viragomann @Pavel88
                last edited by

                @Pavel88
                🤔

                1 Reply Last reply Reply Quote 1
                • V
                  viragomann @aslanov
                  last edited by

                  @aslanov
                  So you got a private IP and gateway from your ISP, not a public one as you stated.

                  Maybe you've messed some up with your outbound NAT.
                  There's a rule needed on WAN interface for source 127.0.0.0/8 translating packets to WAN address. Have you deleted that or edited it?

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    Pavel88 @viragomann
                    last edited by

                    @viragomann PFsense2.png

                    The rule is created on pfsense master. On pfsense backup it appears automatically.

                    V 1 Reply Last reply Reply Quote 0
                    • V
                      viragomann @Pavel88
                      last edited by viragomann

                      @Pavel88 said in Failover&High Aviability:

                      The rule is created on pfsense master. On pfsense backup it appears automatically.

                      Exactly.
                      But I wrote, the translation address has to be "WAN address" not something else.

                      P 1 Reply Last reply Reply Quote 1
                      • P
                        Pavel88 @viragomann
                        last edited by

                        @viragomann said in Failover&High Aviability:

                        Exactly.
                        But I wrote, the translation address has to be "WAN address" not something else.

                        It did not help

                        PFsense3.PNG

                        1 Reply Last reply Reply Quote 0
                        • V
                          viragomann
                          last edited by viragomann

                          Consider that that rule has to be placed on top of the WAN rules, otherwise your other rules allowing any to any will hit the traffic.

                          P 1 Reply Last reply Reply Quote 1
                          • P
                            Pavel88 @viragomann
                            last edited by

                            @viragomann said in Failover&High Aviability:

                            Consider that that rule has to be placed on top of the WAN rules, otherwise your other rules allowing any to any will hit the traffic.
                            That's cool! GW is online, but only if I'm making a rule for any. GW online, but CARP does not work. If you disable master pfsense. Internet is disconnected.

                            pfsense.PNG

                            1 Reply Last reply Reply Quote 0
                            • V
                              viragomann
                              last edited by

                              You need both rules if your Outbound NAT is in manual mode. Is it?
                              However, in the second rule for the source any, the translation address has to your CARP VIP.

                              P 1 Reply Last reply Reply Quote 0
                              • P
                                Pavel88 @viragomann
                                last edited by

                                @viragomann
                                In the case of the second rule of any addresses on the CARP VIP again gw offline.

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