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

    Failover group with 2 WANs as default gateway not moving to tier 2 WAN

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 1 Posters 842 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.
    • SipriusPTS
      SipriusPT
      last edited by SipriusPT

      Hello everyone,

      I have here a odd situation where I have a failover group, with 2 WANs, that was set as default gateway. For the first time I am using a Monitor IP different from the one that is being assigned for the pfsense NIC. In this case the ISP GW of each internet access.

      This is the schematic:

      REDE HA WAN SIDE.drawio (1).png

      While testing this setup, on FIREWALL A1 (aka main node) I notice that my current rules on firewall that has default gateway, was not routing to tier 2, when the tier 2 was changed to default gateway on pfsense.

      If I set the tier 2 interface as gateway directly on rules, I am able to use (internet access) that gateway, but if I left it with default, it goes to tier 1 interface.

      From pfsense I am also unable to ping to internet from automatically choosen interface, only choosing the WAN interface in tier 2 I was able to ping.

      This is my current setup:

      Screenshot_14.png
      Screenshot_13.png
      Screenshot_12.png
      Screenshot_11.png

      Any of you knows what can be messing with?

      Thanks in advance!

      1xSG-4860-1U
      1xSG-3100
      2xpfSense Virtual Machines

      SipriusPTS 1 Reply Last reply Reply Quote 0
      • SipriusPTS
        SipriusPT @SipriusPT
        last edited by

        I didnt mention but it also works if I assign the gateway group as gateway in rules, but using the default option, no luck.

        In other words, the gateway group is working, but pfsense is not assuming that gateway group as the default one, and I really dont know why.

        1xSG-4860-1U
        1xSG-3100
        2xpfSense Virtual Machines

        SipriusPTS 1 Reply Last reply Reply Quote 0
        • SipriusPTS
          SipriusPT @SipriusPT
          last edited by SipriusPT

          If I set the tier to never, on that WAN_ROUTERA_WAN1_GW, and disable that gateway, the pfsense system finally moves to that tier 2 WAN_ROUTERA_WAN2_GW. If I enable it, it moves back again to WAN_ROUTERA_WAN1_GW even not being on that Gateway group.

          I've already recreated those gateways and that gateway group, but got the same outcome. Damn, am I missing here something?!

          1xSG-4860-1U
          1xSG-3100
          2xpfSense Virtual Machines

          SipriusPTS 1 Reply Last reply Reply Quote 0
          • SipriusPTS
            SipriusPT @SipriusPT
            last edited by

            After trying to list packages of pfsense repo and update the system, I saw that everything was working as expected with that GW group.

            No sure why both nodes were not routing my pings to 1.1.1.1 to the higher available gateway in that gateway group, only disabling that gateway manually, those pings would use the other GW.

            Thanks anyway.

            1xSG-4860-1U
            1xSG-3100
            2xpfSense Virtual Machines

            SipriusPTS 1 Reply Last reply Reply Quote 0
            • SipriusPTS
              SipriusPT @SipriusPT
              last edited by

              So it was routing those pings to 1.1.1.1 through the wrong GW because of the "dns server" setting on "general setup" for that GW, after changing it to 1.0.0.1, I was able to use the default gateway while doing a ping for that IP from tier 2 GW, as expected.

              I've wasted like 5 hours digging in this ...

              1xSG-4860-1U
              1xSG-3100
              2xpfSense Virtual Machines

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