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

Updates when using a single WAN VIP, and a option to fix it?

Scheduled Pinned Locked Moved HA/CARP/VIPs
16 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.
  • P
    pomtom44
    last edited by Jul 12, 2021, 9:28 PM

    Hi all

    I made a video to try explain my question as im not sure if a long text field would be enough detail
    https://youtu.be/g6A16rl9sFc

    But for those who prefer text, heres an attempt at writing my question

    Im setting up a failover network (partly for learning and partly so i can have as much up time on my network as possible as i run a few game servers for friends)

    So far I have gotten it mostly working fine using a private ip network on my WAN with my public IP as the VIP

    (screenshot: https://imgur.com/WwbPtfC )

    I then had a update to pfsense and realized i dont know how it handles updates

    In theory you are supposed to have 3 public IP addresses, so each router can get updates via its own link, but in this setup, i can only update which ever router has the VIP for the wan, so to update my second router i have to fail that one to be master then update it

    during this update the router reboots, so its fails over to the other router (as expected)

    what I didnt check is if during the update any network loss happens

    EG
    router 1 downloads the update, then starts updating,
    as its updating services are obviously being stopped and started, meaning network would be lost if that was the only router

    does it fail over to router 2 during the update?
    and if so, I assume router 1 doesn't then need internet to update once its downloaded?

    But following on from that to update router 2, i have to force a failover so that one gets public internet,

    meaning when that one then starts its update and goes "offline" do I have to fail back manually, or do I loose internet until router 2 comes back online?

    and following on from that, is there a way to loop the WAN "internal" ip back to the other router to trick it into thinking it has internet?
    I tried to explain this in my video alot better then i do here

    K S 2 Replies Last reply Jul 12, 2021, 9:36 PM Reply Quote 0
    • K
      KOM @pomtom44
      last edited by Jul 12, 2021, 9:36 PM

      @pomtom44

      Upgrading High Availability Clusters

      P 1 Reply Last reply Jul 12, 2021, 9:40 PM Reply Quote 0
      • P
        pomtom44 @KOM
        last edited by Jul 12, 2021, 9:40 PM

        @kom Thanks, but i think this assumes that both routers have internet connectivity at the time of update
        as it says update the secondary first, then update the primary
        but I can only do that if I fail my network over to the secondary so it can get connectivity to download the update

        K 1 Reply Last reply Jul 12, 2021, 9:53 PM Reply Quote 0
        • K
          KOM @pomtom44
          last edited by Jul 12, 2021, 9:53 PM

          @pomtom44 Oh right, I forgot about that. I'm not sure will be able to do it without the extra IPs that you typically only get with a business account. Unless people are paying you for access, I would think they can tolerate a half-hour of downtime 3-4 times per year. Or you could try wacky things like forcing the second node to use the sync interface on the primary node as its gateway for the duration of the upgrade then revert back. That's crazy enough to work if you have the rules to allow it on each Sync.

          P 1 Reply Last reply Jul 12, 2021, 9:56 PM Reply Quote 0
          • P
            pomtom44 @KOM
            last edited by Jul 12, 2021, 9:56 PM

            @kom Thats kind of what i explain in the video version of my question
            routing the "internal" WAN IP back as a lan interface on the other router, so each router has a network link though the other router
            I just dont know how it would like having a random setup like that

            (and yeah i know they can deal with down time, its more of a learning question for me, with the excuse of the game servers as a reason why / end goal)

            K 1 Reply Last reply Jul 12, 2021, 9:58 PM Reply Quote 0
            • K
              KOM @pomtom44
              last edited by Jul 12, 2021, 9:58 PM

              @pomtom44 So then try it and let us know if it works. The worst that can happen is explosions.

              P 2 Replies Last reply Jul 12, 2021, 10:03 PM Reply Quote 0
              • S
                SteveITS Galactic Empire @pomtom44
                last edited by Jul 12, 2021, 9:59 PM

                @pomtom44 said in Updates when using a single WAN VIP, and a option to fix it?:

                mostly working fine using a private ip network on my WAN with my public IP as the VIP

                If I'm following, this should be fine as long as they can get to the Internet. We have a client set up that way as Comcast still allows their 10.1.10.x subnet to work on a "bridged" router. The update is just outgoing HTTPS requests. I've always failed over manually (update backup, enter CARP maintenance on primary, update primary, undo maintenance mode). Pretty sure that's how the docs suggest. (been a while since I've read them)

                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                Upvote 👍 helpful posts!

                P 1 Reply Last reply Jul 12, 2021, 10:01 PM Reply Quote 0
                • P
                  pomtom44 @SteveITS
                  last edited by Jul 12, 2021, 10:01 PM

                  @steveits
                  That parts okay, the problem is the failing over with a single public IP as only one router can get updates at a time
                  the docs assume both routers have internet
                  EG update the secondary first
                  but for me the only way I can update the secondary is if I make it failover manually, meaning when it starts updating i loose internet as the primary is in failover and the secondary is rebooting
                  (did you watch the video as i explain it alot better in that)

                  S 1 Reply Last reply Jul 13, 2021, 1:19 AM Reply Quote 0
                  • P
                    pomtom44 @KOM
                    last edited by Jul 12, 2021, 10:03 PM

                    @kom thats my plan,
                    i was just checking if there was any reason this would be a big NO NO before i did
                    as if it was already documented as not working then theres no point in trying it haha

                    1 Reply Last reply Reply Quote 0
                    • S
                      SteveITS Galactic Empire @pomtom44
                      last edited by Jul 13, 2021, 1:19 AM

                      @pomtom44 No I didn't watch the video, I was heading out at the time. If you don't have Internet that way then you're kind of stuck. Around here Comcast works in that type of config. AT&T does too although they have "passthrough" not bridging at least on home connections and I haven't tried HA that way. FWIW, Comcast charges I think $4 more for 8 (5 usable) static IPs over the fee for 1 static IP.

                      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                      Upvote 👍 helpful posts!

                      P 1 Reply Last reply Jul 13, 2021, 1:31 AM Reply Quote 0
                      • P
                        pomtom44 @SteveITS
                        last edited by Jul 13, 2021, 1:31 AM

                        @steveits fair enough
                        most ISP's here dont give more then 1 static IP unless you upgrade to a business account, in which case you pretty much have to add another 0 to the end of your bill

                        thats why I was asking about looping the internal WAN back to the other router, so both routers have internet though each other, and then the CARP VIP is the public out point

                        1 Reply Last reply Reply Quote 0
                        • P
                          pomtom44 @KOM
                          last edited by Jul 14, 2021, 3:56 AM

                          @kom Update
                          Cant set a interface on the LAN with the same IP range as the WAN
                          So unable to create a fake loopback setup

                          K 1 Reply Last reply Jul 14, 2021, 1:45 PM Reply Quote 0
                          • K
                            KOM @pomtom44
                            last edited by Jul 14, 2021, 1:45 PM

                            @pomtom44 Hmm that's too bad. Oh well, no 5-nines of uptime for you.

                            P 1 Reply Last reply Jul 14, 2021, 7:17 PM Reply Quote 0
                            • P
                              pomtom44 @KOM
                              last edited by Jul 14, 2021, 7:17 PM

                              @kom I am going to run a proof of concept test where i trick the networks by putting a small inline router in place, so some sort of voodoo double nat spaghetti mess, but it should work in my head?

                              K 1 Reply Last reply Jul 14, 2021, 8:21 PM Reply Quote 0
                              • K
                                KOM @pomtom44
                                last edited by Jul 14, 2021, 8:21 PM

                                @pomtom44 I'll be interested to hear how it works out. If you're running game servers and need good uptime, why not look at renting a cheap VPS?

                                P 1 Reply Last reply Jul 14, 2021, 8:28 PM Reply Quote 0
                                • P
                                  pomtom44 @KOM
                                  last edited by Jul 14, 2021, 8:28 PM

                                  @kom I run a ton of personal stuff at home as well
                                  Mainly CCTV and file servers,
                                  so for me its way more cost effective to run the game servers on the hardware I already have
                                  (If I was making money from this then yes id put the money back into a VPS)
                                  Also some of the game servers I run take a bit of grunt to run, so running on my own hardware is much cheaper

                                  1 Reply Last reply Reply Quote 0
                                  16 out of 16
                                  • First post
                                    16/16
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                    This community forum collects and processes your personal information.
                                    consent.not_received