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

    WAN Failover using 2 Gateways on the same subnet

    Scheduled Pinned Locked Moved Routing and Multi WAN
    17 Posts 3 Posters 1.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.
    • Bob.DigB
      Bob.Dig LAYER 8 @vsmaldino
      last edited by

      @vsmaldino You can do it anyway, I have this running here:
      Capture.PNG

      V 1 Reply Last reply Reply Quote 1
      • V
        vsmaldino @Bob.Dig
        last edited by

        @Bob-Dig The problem is what happens if any of your SS_* GWs go down? According to my tests, they should all go down because they supposedly all use the same network interface. This behavior is not acceptable in my network.

        Bob.DigB 1 Reply Last reply Reply Quote 0
        • Bob.DigB
          Bob.Dig LAYER 8 @vsmaldino
          last edited by Bob.Dig

          @vsmaldino said in WAN Failover using 2 Gateways on the same subnet:

          The problem is what happens if any of your SS_* GWs go down?

          There is no problem as long as there is no gateway set on the interface itself.

          V 1 Reply Last reply Reply Quote 0
          • V
            vsmaldino @Bob.Dig
            last edited by

            @Bob-Dig what do you mean with "there is no gateways set on the interface"?
            When creating a gateway you need to define an interface for its use. From your screenshot I assume that all SS_* have the same interface, according to my tests, if only one of the SS_* goes down, that interface is marked as down.
            Am I doing something wrong?
            f4c7d3c6-f1d2-4074-a700-f1b71afa392e-image.png

            Bob.DigB 1 Reply Last reply Reply Quote 0
            • Bob.DigB
              Bob.Dig LAYER 8 @vsmaldino
              last edited by Bob.Dig

              @vsmaldino said in WAN Failover using 2 Gateways on the same subnet:

              what do you mean with "there is no gateways set on the interface"?

              Capture.PNG

              Capture.PNG

              V 1 Reply Last reply Reply Quote 0
              • V
                vsmaldino @Bob.Dig
                last edited by

                @Bob-Dig first of all, thank you for your patience.
                Your screenshot refers to the IP configuration of the network interface, it doesn't set any upstream gateway, Ok.
                But what about the config of the SS_* GWs? Can you send me a screenshot of a couple of them? I'm very curious to see which interface they use and if it is the same as I presumed.

                Bob.DigB 1 Reply Last reply Reply Quote 0
                • Bob.DigB
                  Bob.Dig LAYER 8 @vsmaldino
                  last edited by Bob.Dig

                  @vsmaldino said in WAN Failover using 2 Gateways on the same subnet:

                  But what about the config of the SS_* GWs? Can you send me a screenshot of a couple of them? I'm very curious to see which interface they use and if it is the same as I presumed.

                  It is the interface (192.168.111.1) I showed above.
                  Screenshot 2024-03-11 at 10-09-17 pfSense.aadf.de - System Routing Gateways Edit.png
                  If you have to NAT, you have to create the NAT-Rules manually. I don't because all the gateways are OpenWrt-VMs.

                  V 1 Reply Last reply Reply Quote 0
                  • V
                    vsmaldino @Bob.Dig
                    last edited by

                    @Bob-Dig
                    Tnx, another step over ;-)
                    VLAN111_OWRT_LAN is the interface of Ss_DeBe Gw.
                    I presume these:

                    1. Ss_AtVie, Ss_ChZur, ... have the same VLAN111_OWRT_LAN interface
                    2. 192.168.111.1 is the IP address of VLAN111_OWRT_LAN

                    Is it right?

                    Bob.DigB 1 Reply Last reply Reply Quote 0
                    • Bob.DigB
                      Bob.Dig LAYER 8 @vsmaldino
                      last edited by

                      @vsmaldino correct.

                      V 1 Reply Last reply Reply Quote 0
                      • V
                        vsmaldino @Bob.Dig
                        last edited by

                        @Bob-Dig
                        Tnx. It is a scenario very similar to that i tested with.

                        These are my GWs, both on the same interface, NO Gateway Groups defined.
                        fd163840-0f3f-437e-9a48-6e43c36d8918-image.png

                        This is the status few seconds after shutting down only FibraITG:
                        82b6f14e-f256-40f2-a036-a2776a63638e-image.png

                        In few tens of seconds both GWs are marked down, i think because both use the same interface (WAN).

                        As you stated on March 7, there is some deep design decision that put in close relationship the status of the gateways using the same interface.

                        Bob.DigB 1 Reply Last reply Reply Quote 0
                        • Bob.DigB
                          Bob.Dig LAYER 8 @vsmaldino
                          last edited by

                          @vsmaldino True. But also you have a gateway set on WAN.
                          My setup is also different that I don't use WAN for those VPN-Gateways on the same interface and none of those gateways is the default gateway.

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