Hi to you all,
this post is just here to help anyone who might encounter this problem as well.
The other day, I wanted to look something up when connected to my home WiFi, but the browser just threw "ERR_ADDRESS_UNREACHABLE" for any website EXCEPT some, Google and YouTube, for example. That was very, very strange. When leaving the WiFi, the Internet works perfectly fine. The router uses DHCP.
I tracked the issue down to the following: having a bad connection to the router, I often needed to re-connect to my WiFi. Having per-connection MAC randomization turned on, my router assigned a new IPv4 address every single time I reconnected, as it thought my smartphone with GrapheneOS on it was yet another new device. This made it run out of IPv4 addresses to assign, giving me an IPv6 instead. Apparently, some websites or DNS providers are unable to treat this behavior correctly, resulting in system updates, app updates, Signal, browsing etc. breaking.
How to fix:
- log in to your WiFi router and navigate to DHCP configuration. Increase the IPv4 address room to a slightly higher number, just to temporarily give it some breathing room.
- then, turn off per-connection MAC randomization for your home WiFi (as you can hopefully trust it), rather use per-network MAC randomization, DO NOT USE THE DEVICE'S MAC ADDRESS.
- remove the loads of devices that have been created erroneously, or at least some of them, they will likely get removed automatically after some time.
- re-connect affected devices
If you do not have access to the UI of your router, you can simply wait for a few days as the built-in DHCP server of your router will likely remove the unused addresses and make them available again.
Hope that helps! :)