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

    What actions are triggered by gateway going down?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 1 Posters 51 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.
    • J
      jonallport
      last edited by

      Apologies of this has been answered elsewhere, but I can't for the life of me find it!

      What are the 'actions' that occur when a gateway monitor declares a gateway as down? And are they configurable?

      TLDR: WAN DHCP does not release/renew if the upstream connection drops unless the interface is cycled or actioned from the interface status UI. How to fix?

      Long version:
      Netgate 1100
      2x WAN connections
      1x FTTP PPPoE - Tier 1
      1x LTE via gateway in passthrough mode - Tier 2

      The LTE is piped through the house on a transit VLAN rather than connected to the firewall as I have the firewall at ground level and want the LTE gateway as high up as possible. Gateway is in passthrough so I get the public IP on my WAN interface (and no double-NAT).

      Both connections have gateway monitors pinging remote IPs. Failover FTTP>LTE works great. Fail-back works, too.

      Now the problem...
      FTTP PPPoE goes down: PPP client continuously retries to initiate the connection until it succeeds - good
      LTE carrier goes down: interface just sits there and carries on pinging the remote IP - bad

      The LTE will probably reconnect with a different IP address, so I need the interface to release / renew the DHCP lease when the gateway goes down. I've run packet capture while I kill the LTE and see no evidence of any attempt to repair/re-initialise the connection. Just carries on pinging the nominated IP in forlorn hope...

      Any hints on a solution to this? Other than notifications and manual intervention

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • J
        jonallport
        last edited by

        It would seem the answer to my question is "/etc/rc.gateway_alarm" is run.

        Nothing in there for DHCP leases from what I see. More about restarting VPN sessions and flushing states.

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