For quite a long time now my Raspberry PI 4 has been loosing connectivity every few weeks. However the last 2 weeks or so my Raspberry PI has been losing connectivity almost daily. I'm running quite a standard setup on it with docker, portainer and some other docker containers. Whenever this happens I simply power cycle the device and everything works again.
As can be seen here for some reason the IPv4 address is missing. I tried unplugging the network cable and plugging it back in again but this didn't fix the issue. I then saw that it did still have an IPv6 address, so I tried to SSH to the PI using that address which unexpectedly worked perfectly.
I then tried to refresh the IP address by running
sudo dhclient -r and
sudo dhclient. This fixed the problem.
I have no idea why this issue happens though, so I'm looking for some help :).
uname -m: aarch64
It seems like the error
route socket overflowed - learning interface state is the problem here. What could be the cause for this?
Edit4: I've now tried this workaround, hopefully this fixes the issue: https://github.com/raspberrypi/linux/issues/4092#issuecomment-774512217