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

    Delay or manual failback?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 2 Posters 776 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.
    • Z
      ZappedC64
      last edited by

      I have an SG-3100 running pfSense 2.4.3 and I have two ISPs connected.  It's working perfectly and it did do a failover fine last week but the primary ISP was "flapping", which caused the pfSense box to go back and forth from ISP to ISP.

      Is it possible to have a time delay, or have pfSense make sure that the ISP is stable for at least an hour, before doing a failback?  I'd even be happy with a manual failback.

      Thanks,
      /Raj

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

        If you want a manual failback in that situation, just mark that gateway as down. You will still get dpinger data and be able to see what's going on with the gateway.

        Force state
        Mark Gateway as Down This will force this gateway to be considered down.

        When you want to put it back in the gateway group, just unmark it as down.

        You can tweak the parameters used for how long it takes to mark a gateway as down or up to help reduce flapping but I don't think you can make it fail quickly then wait to come back up. The failure and recovery thresholds are the same

        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)

        Z 1 Reply Last reply Reply Quote 0
        • Z
          ZappedC64 @Derelict
          last edited by

          @derelict

          You mentioned that I could tweak the parameters for how long it takes to mark the gateway as up or down. Which parameter is that?

          I would like for the system to wait at least 20 minutes before switching back to the primary gateway.

          Thanks,
          /Raj

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

            I said they are the same. The criteria for going down must clear before it is brought back up.

            System > Routing, Gateways, Edit the gateway, Display Advanced

            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)

            Z 1 Reply Last reply Reply Quote 0
            • Z
              ZappedC64 @Derelict
              last edited by

              @derelict

              Ahh.. OK. Thank you! That was exactly what I was looking for!

              /Raj

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