This problem is caused by“ Linode translates server systems and data and reserves IP addresses through cloning "It occurred when data in the computer room was migrated. I remember playing with data migration to different computer rooms before, and there was no such problem. This time, after the migration, the IP addresses are different, and SSH cannot be linked. At first, I thought it was caused by incomplete data migration. Later, when I thought that incomplete data had nothing to do with the IP, it must be caused by the MAC address configuration problem.
Fortunately, the Linode VPS server has the "Lish via Browser" function. You can log in through the WEB mode to check whether there is an error.
We can see an error prompt“ Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization "It should be caused by the MAC address configuration problem. Lao Zuo (laozuo. org) needs to find out how to solve this problem. There are many ways to solve this problem on the Internet, and I do it this way.
First, delete the 70-persistent-net.rules file
rm -f /etc/udev/rules.d/70-persistent-net.rule
We can't use the SFTP tool here. We can only use the command to operate.
Second, edit the ifcfg-eth0 file
vi /etc/sysconfig/network-scripts/ifcfg-eth0
We change eth0 to eth1, then save and exit.
Third, restart the network
service network restart
Lao Zuo solved the problem in this way. He then detected that the IP address could be pinged and SSH could log in.
Scan the code to follow the official account
Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge