I'm attempting to position Pi CM4-based devices on a collection of remote LANs and to connect them to my VPN. Each is configured with a static IP. I'm having problems, in some locations but not everywhere, with the Pis coming up without a default route for eth0, which keeps the VPN from connecting.
I read that I should comment out the line "option classless_static_routes", but that didn't help. I double-checked that /etc/network/interfaces ended with "source-directory /etc/network/interfaces.d" and that that .d subdirectory was empty, but no change there either.
The final recommendation in a number of threads was to have the network administrator change a DHCP setting, but that's really not an option for me. I'm trying to not use DHCP at all, but it seems it may be fiddling with me anyway.
Here's the last bit of my dhcpcd.conf:
# Example static IP configuration: interface eth0 static ip_address=10.1.10.13/24 static router = 10.1.10.1 static domain_name_servers=184.108.40.206
And here's a bit of config info in case it's useful:
Linux xxxxx 5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux dhcpcd/stable 1:3.2.3-11 armhf
I'm to the point of ripping out dhcpcd altogether, but I'm not sure how to proceed with that and not eager to start tearing things up. Is there a later fix to this, which seems like a not-unfamiliar problem? If not, can anyone suggest the best way for me to proceed?