A troubleshooting guide for diagnosing and resolving network connectivity issues on Vultr Compute instances.
This guide helps diagnose and fix common network issues on a Vultr Compute instance, such as:
ping
the instance from another device.If you've manually modified network settings and lost connectivity, try rebooting the instance first. In many cases, a reboot will restore the default DHCP-based network configuration.
Reboot the instance:
Visit the Compute section in the Vultr Customer Portal.
Select the instance and click Restart from the Overview tab.
If rebooting doesn't restore connectivity, use the console to access the instance and manually enable DHCP using the configuration method appropriate for your OS:
Use this configuration in your Netplan YAML file (e.g., /etc/netplan/50-cloud-init.yaml
):
network:
version: 2
ethernets:
enp1s0:
match:
macaddress: "<nic-mac-id>"
dhcp4: true
set-name: "enp1s0"
Apply the changes.
$ sudo netplan apply
Edit /etc/sysconfig/network-scripts/ifcfg-enp1s0
and use:
AUTOCONNECT_PRIORITY=120
BOOTPROTO=dhcp
DEVICE=enp1s0
HWADDR="<nic-mac-id>"
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
Restart the network service.
$ sudo systemctl restart network