Hey guys…
I recently upgraded my server from CentOS 7 to Rocky Linux 9, and I’m encountering some issues with network configuration that I can’t seem to resolve. The system uses NetworkManager, and the migration itself went smoothly, except for this one major hiccup.
Here’s the problem: after the upgrade, the server intermittently loses connectivity. Sometimes it works fine for a few hours, but then it drops, and I need to manually restart the network service (nmcli connection down/up
or systemctl restart NetworkManager
) to get it working again.
Here’s what I’ve checked so far:
- The
/etc/sysconfig/network-scripts/
directory doesn’t seem to be used anymore. I’ve migrated my settings to/etc/NetworkManager/system-connections/
. nmcli
shows that the connection is active when the issue occurs, even though I can’t ping or SSH into the server.- The logs (
journalctl -u NetworkManager
) don’t reveal much, aside from some generic connection timeouts. - I’ve ruled out hardware issues since a temporary boot into a live CentOS image works fine.
My setup uses a static IP with a simple configuration (no bridging or advanced routing). I’m wondering if there’s a compatibility issue with the new version of NetworkManager or if I missed something during the migration.
I also check this: https://forums.rockylinux.org/t/unable-to-install-mariadb-devel-on-rocky-linux-9-repository-issues-and-modular-filteringgoogle-cloud-platform But I have not found any solution. Has anyone encountered a similar issue or can suggest troubleshooting steps? I had really appreciate any guidance or tips!
Thanks in advance…
Respected community member!