Last update at :2024-06-19,Edit by888u
Nowadays, more and more cloud servers support snapshot backup and restore functions. Some businesses charge a fee, and some are free. Most merchants can directly restore and use the environment and data in the backup. However, after Vultr merchants restore the snapshot backup, some netizens will find that there is a problem with the network configuration and they cannot connect. So how to solve this problem?
Here we are using the CentOS system, and Snail recorded the processing methods in this system. Netizens can refer to it if necessary.
We may have vultr related article content:
1. Vultr VPS installation process and experience with built-in Windows 2012/2016 system
2. Use Vultr snapshot backup function to backup data and migration plan
3. Actual Vultr VPS upgrade and downgrade configuration operation process and adjust the original configuration
First, remove the content of 70-persistent-net.rules
/etc/udev/rules.d/70-persistent-net.rules
We need to remove the contents of this file first.
Second, modify the configuration file
/etc/sysconfig/network-scripts/ifcfg-eth0
Open the configuration file and modify it with reference to the following content:
DEVICE=eth0TYPE=EthernetONBOOT=yesNM_CONTROLLED=yesBOOTPROTO=dhcpDNS1=8.8.8.8NAME=\\”System eth0\\”
Third, restart the server
It should take effect if we restart the server again.
PS: If our server is a Debian/Ubuntu system, modifying the configuration file is different from centos.
The previous steps are the same. The key step is that we need to configure the "/etc/network/interfaces\" file to replace the IP address with the IP in our current server, because we may restore the snapshot to a different IP server. , you need to change the IP address to the IP of the current server, and finally restart the server to take effect.
Recommended site searches: agency registration, local IP address query, foreign server, foreign server, domain name price, ftp space, US host network, Ministry of Industry and Information Technology domain name registration, Taiwan server rental, registration-free space,
发表评论