Skip to main content
Purchasing an additional IP address assigns it to the server, but it must still be configured in the operating system before it becomes usable.
1

In the Gcore Hosting control panel, open the Virtual private servers or Dedicated servers tab

2

Select the checkbox next to the server

3

View the IP addresses and note the netmask

Click IP addresses in the toolbar. Note the IP address and its netmask — these are required for the configuration.
Virtual private servers list with the IP addresses button highlighted in the toolbar
Dedicated servers list with the IP addresses button highlighted in the toolbar
4

Configure the IP address in the OS

Select the operating system and follow the steps.
Edit the network interfaces file to add the IP address.
  1. Open /etc/network/interfaces.
  2. Add the configuration.
For IPv4:
For IPv6 (optional):
Replace N with the sequential index of the additional IP address (starting at 0 for the first), X.X.X.X with the IP address, and 255.255.255.255 with the actual netmask.
  1. Save the file.
  2. Restart networking: run systemctl restart networking.
After restarting, run ip addr show to verify the new address appears on the interface.