@marcosm
@marcosm said in Default IPv4 Route missing and DNS Resolver issue every reboot - 23.09.a.20231003.0600:
Does this happen in 23.05.1 as well? It sounds like there's something removing the route after the reboot - the system logs may have something interesting about that. Does the gateway address fall within the WAN subnet (i.e. is it a non-local gateway)? With the gateway offline and the monitor IP back as 1.1.1.1, try executing the PHP command system_routing_configure(); under Diagnostics > Command Prompt - does the default route come back?
Apologies for the delay in reply. Yes, I upgraded to 23.09.a.20231003.0600 because I was having this same issue on 23.05.1. The gateway does fall within the WAN subnet. The WAN interface has an IP address with a subnet mask of 255.255.254.0. The gateway IP address has 224 in the third octet (x.x.224.x) and my WAN interface IP address has 225 in the third octet (x.x.225.x). It looks like they are within the same WAN subnet.
I changed the monitor IP back to 1.1.1.1 and rebooted the router. I checked Diagnostics > Routes to see if there was an IP route for 1.1.1.1. There was and it's gateway was set to the IP address containing 224 (x.x.224.x). The internet is still not working. Then, I ran the system_routing_configure() command in the PHP command box.
Immediately after running that command, a default route appeared in Diagnostics > Routes and its IP address is the gateway with IP address containing 224 (x.x.224.x). My Internet is now working again.
How can I configure the router to have it do this automatically? Will it require a system update?