Adding Additional IPs to your Server/VPS

The settings apply to CentOS

In SSH /Putty


1. We copy the file of eth0 interface and we rename it: eth0:0. This will enable us to edit the file:

cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1

2. We can now edit the eth1 file to replace the IP. You can either use nano or vi(m):

nano /etc/sysconfig/network-scripts/ifcfg-eth1

First of all, replace the device name, then the existing IP by the fail over/ additional one that you have received by email:

DEVICE="eth1"
BOOTPROTO="static"
IPADDR="IP.FAIL.OVER"
NETMASK="255.255.255.255"
ONBOOT="yes"
BROADCAST="IP.FAIL.OVER"

The broadcast is always the same as the additional ip you wish to add.


3. Now you just have to assemble the new interface that we have just added:

ifup eth1

At the time of reboot, the interface will automatically be assembled.


4. IP test

If operations 1 to 3 have been correctly carried out, the IP shown in eth1 file must be pingable from another machine and answer to the requests.
If you have several additional IPs; you can renew the operation by using eth1, eth0:2 and so on.
If after handling, your IP doesn’t answer to the pings, please contact our support.

Was this helpful?

 Print this Article

Also Read

DNS Servers (IPv4 & IPv6)

The official dns servers for Zenith Media Canada and its resellers. .ME DOMAIN   magi.zenithmedia.me caspar.zenithmedia.me...

Mandrill for Application E-mail delivery

We have been testing new applications and noticed that some users are having issues using Mandrill on our servers. We are writing this article to...

Filezilla Secure FTP Access to PureFTP

This guide will help you connect to your secure FTP account on our system. We recommend FileZilla as a software to connect to our services and this...

Google Mod Pagespeed Advanced Cache

We have enabled Mod Page Speed from Google on all our accounts as a way to increase performance.This should not cause any problems on standard...

Secure IMAP Email Service

We offer two options to access your secure email account on our servers. We only support strong encryption for all our communications.The first...