COMPUTING > Cloud Servers > Public IP > Configuring Multiple IPs on an existing Debian and Ubuntu Cloud Server

10.2.4 Configuring Multiple IPs on an existing Debian and Ubuntu Cloud Server Cloud Server Pro service guide

Before you proceed you need to associate the Public IPs on an existing Cloud Server in the Control Panel.

You can then configure them in the network interface in your Linux Debian or Ubuntu Cloud Server:
 

auto eth0:1
iface eth0:1 inet static

name alias IP
address 95.110.153.140
netmask 255.255.255.0

  • Access your Linux Debian or Ubuntu Cloud Server using the Recovery Console.
  • Launch from command line nano /etc/network/interfaces to edit the configuration file.
  • Edit the file by entering the data for the new IP alias for the network card that you want to configure. Remember that to move around inside the text file you can use the arrows and to enter the new text just add it below to the existing rows (in the example you are adding an IP Alias for the network card eth0 with IP 95.110.153.140 with netmask 255.255.255.0).
  • Once you have finished entering your data press "CTRL+O" to save the changes and then "CTRL+X" to exit the editor.
At this point, the Linux Debian or Ubuntu Cloud Server is correctly configured for the Multiple IPs service.
 
The configuration of IPs operation in the network interface of your own Cloud Server must be repeated every time you make a change in the technical panel relating to public IPs.