By default, the initial configuration of your VPS is set to DHCP so the VPS can come online without having to log into the console and manually configure your IP information. We recommend this be changed it once the server is up and running and the IP you were given (static IP) is added to the server. This is because occasionally the VPS node fails to properly receive a DHCPACK from the host DHCP server and the IP lease expires causing connectivity issues.
On RedHat/CentOS/RHEL, perform the following:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
IPADDR=x.x.x.x NETMASK=x.x.x.x GATEWAY=x.x.x.x
/etc/init.d/network restart
For Debian/Ubuntu:
vi /etc/network/interfaces
/etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interfaceauto loiface lo inet loopback # The first network card - this entry was created during the Debian installation # (network, broadcast and gateway are optional) auto eth0 iface eth0 inet static address x.x.x.x netmask x.x.x.x gateway x.x.x.x
If you are uncomfortable with doing this yourself, we would be happy to do so for you. Please email or call our support staff and they will make the necessary changes.