To setup the LAN, load balancer, or secondary IP addresses on your Linux server , start by opening up the Manage page for the server to be configured. Note down the LAN IP if you are setting up the internal LAN between two or more servers, and the Secondary IP(s) that were assigned to your server if you will be configuring your additionally purchased IP addresses.


Note for cPanel users: Please refer to the cPanel documentation for instructions and requirements for adding IP addresses to a server running cPanel.


  • Replace $ADDITIONAL_IP$ below with the Seconday IP(s) or LAN IP you noted down in mPanel.
  • The netmask on a LAN IP will be; the netmask on Secondary IP(s); and the netmask on Load Balancer IP is


  • Adding the IP address would use netmask
  • Adding the LAN IP address would use the netmask
  • Adding the Load Balancer IP would use the netmask


Using sudo edit the configuration file /etc/network/interfaces and append the following to the file:

auto eth0:0
iface eth0:0 inet static

Activate the interface by rebooting or running the following command:    

sudo /etc/init.d/networking restart 

 You can name your interfaces in a manner you find easier to identify. e.g. eth0:LAN or eth0:SSL

Fedora / CentOS

Using sudo, create the configuration file /etc/sysconfig/network-scripts/ifcfg-eth0:0 with the following:


Activate the interface by rebooting or running the following command:

sudo /etc/init.d/network restart

If adding more IP addresses to your server, you could follow the same naming convention: eth0:1 eth0:2 and so on. A network script will need to be created for each additional address. e.g.


Activate the additional interfaces that were created by running the following command:

sudo /etc/init.d/network restart