No Network Connection after Linux Server Hardware Replacement
For Dedicated Servers
If network components are replaced on a Linux Dedicated Server, the MAC addresses of the network interfaces are retained in the rule set for naming the network interface. This can result in the server no longer being accessible from the outside.
To reset the network interface naming ruleset, proceed as follows:
Use PuTTY to connect to the serial console of your server via SSH.
Log in to your server as administrator.
Check if the file /etc/udev/rules.d/70-persistent-net.rules exists:
[root@host ~]# ls -l /etc/udev/rules.d/70-persistent-net.rules -rw-r--r-- 1 root
root 422 Jan 4 11:20 /etc/udev/rules.d/70-persistent-net.rulesTo delete the file, type the following command:
[root@host ~]# rm -f /etc/udev/rules.d/70-persistent-net.rulesRestart your server.
The server should now be accessible again.