Correcting Network Configuration After Snapshot Restore

After restoring a snapshot to a new machine, you may encounter issues caused by the MAC address of the network adapter changing. Usually, when the network adapter changes the operating system will create a new network adapter for it. You'd typically see the network adapter on 'eth1' (or eth2 if you had private networking enabled).

CentOS
  • Log in to your server via the KVM in your control panel
  • Remove the contents of /etc/udev/rules.d/70-persistent-net.rules
  • Open /etc/sysconfig/network-scripts/ifcfg-eth0, and change the contents to the following:
    DEVICE=eth0 TYPE=Ethernet ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=dhcp DNS1=8.8.8.8 NAME="System eth0"
  • Reboot your server
  • Once you have network connectivity again, you can permanently fix these issues by installing the cloud-initpackage from EPEL. This software will take care of adjusting your network adapter configuration whenever a snapshot is restored.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Choosing an OS: CentOS, Ubuntu, Debian, FreeBSD, CoreOS, or Windows Server

Choosing an OS for your server can be difficult. You're aware that it's important to choose a...

What Ports Are Blocked?

Vultr blocks several ports that are commonly abused for DDOS attacks: TCP & UDP port 17...

Configuring Private Network

If you're assigning a private network to an existing machine (or deploying your own operating...

Configuring Static Networking and IPv6 on CentOS 7

VULTR has recently made changes on their end, and everything should now work fine 'out of the...

How Do I Generate SSH Keys?

An SSH Key allows you to log into your server without needing a password. SSH Keys can be...

Powered by WHMCompleteSolution