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

    Static route used as default gateway

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 2.2k 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.
    • A
      aneip
      last edited by

      I need some help here.

      I have pfsense with LAN & WAN interface. There are 2 static route been used to route some subnet through the LAN interface.

      For this I add in LANGW in Routing -> Gateways.

      Then in, route I put the subnet and choose LANGW.

      Everything works fine.

      The problem is, when the is a WAN problem detected by apinger. The pfsense will used my LANGW as a default gateway. When the event cancelled (apinger), the default gateway is not return to WANGW. This create a problem to my traffic.

      Is there anyway I can create static route without entry in gateways tab. So, when there is problem in WANGW, the default gateway is not change to LANGW.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        That has been fixed in recent snapshots.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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