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

    Default Route Not Set on Reboot

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 395 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.
    • M
      mlivgood
      last edited by

      I am using Ting Internet and have an ONT devide which hands out a static DHCP address for a single WAN interface. I do not reboot often and rebooted to apply pfsense plus 23.09 upgrade. Following reboot, pfsense was no longer connecting to internet, even though gateway showed online with no problems. I noticed default route to ISP gateway was not being established. Manually going into default gateway page and simply saving settings established the default gateway route and internet connectivity. This action however also caused Suricata to break and would not start in running configuration. Spent a couple days applying online recommended options based on folks with similar issue and none of the options established default gateway route on reboot. Finally gave up and applied the following workaround which is working flawlessly. I hope my lack of sleep finding the issue and workaround helps others.

      	                                                    <earlyshellcmd>/usr/local/bin/php-cgi -f /usr/local/bin/apply_patches.php</earlyshellcmd>
      

      Add this line in /conf/config.xml--------> <shellcmd>/sbin/route add default yourISPgatewayIP</shellcmd>
      just above system line </system>

      T 1 Reply Last reply Reply Quote 1
      • T
        tboston @mlivgood
        last edited by tboston

        Now that I see your post, I've had the same issue last weekend. The IPv4 Address + Gateway came in via DHCP but I did not check the routes. IPv4 traffic was not possible though for any client. Reverted back to 23.05.1-RELEASE

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