If your VPS cannot reach the internet or has no network connectivity, follow these steps to diagnose and fix the issue.
Log in via VNC console (see our VNC article if SSH isn't working) and run:
ip a
Look for your main interface (usually eth0 or ens3). It should show state UP. If it shows DOWN, bring it up:
ip link set eth0 up
In the output of ip a, look for a line starting with inet under your interface. If there's no inet line, your VPS hasn't received an IP address.
EZSCALE VPS uses DHCP by default. Try requesting an IP:
dhclient eth0
If DHCP isn't working, you can set a static IP instead (see our "How to Set a Static IP" article). Find your IP address and gateway in the VirtFusion panel under your server's Network tab.
ip route
You should see a line like default via 10.x.x.1 dev eth0. If there's no default route, add one:
ip route add default via YOUR_GATEWAY dev eth0
Test in order — this tells you exactly where the problem is:
# Test gateway (local network)
ping -c 3 YOUR_GATEWAY
# Test internet (bypasses DNS)
ping -c 3 8.8.8.8
# Test DNS resolution
ping -c 3 google.com
Check your DNS configuration:
cat /etc/resolv.conf
You should see at least one nameserver line. If the file is empty or wrong, fix it:
echo "nameserver 8.8.8.8" > /etc/resolv.conf
echo "nameserver 8.8.4.4" >> /etc/resolv.conf
Test DNS with:
nslookup google.com
If none of the above helps:
ip a, ip route, and which ping tests passed or failed.