Default Route Not Set on Reboot
-
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> -
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