Configure an additional IP address

Published on August 26, 2025

An additional IP address becomes available only after you configure it. This guide will help you to configure IP addresses manually. If you want to configure it automatically, reinstall the operating system of your server.

Configure an additional IP address on Debian/Ubuntu

  1. Open the network configuration file in /etc/network/interfaces.
  2. Add the following lines to the file:
auto eth0:N
iface eth0:N inet static
    address X.X.X.X
    netmask 255.255.255.255
    

Replace N with the serial number of the interface (0 for the first one, 1 for the second, etc.), X.X.X.X with the IP address you want to add, and 255.255.255.255 with the netmask (found in your Control Panel β†’ IP addresses).

Adding IPv6

iface eth0:N inet6 static
    address 2Ρ…01:X:X:X::X
    

Save the file and reboot the server or run service network restart.

Configure an additional IP address on CentOS

  1. Create the file ifcfg-eth0:N in /etc/sysconfig/network-scripts/.
  2. Add the following lines:
DEVICE=eth0:N
ONBOOT=yes
BOOTPROTO=static
IPADDR=X.X.X.X
NETMASK=255.255.255.255
    

Replace N, X.X.X.X, and 255.255.255.255 as appropriate (values found in Control Panel).

Adding IPv6

IPV6ADDR_SECONDARIES="2Ρ…01:X:X:X::X/64"
    

Save the file and reboot the server or run service network restart.

Configure an additional IP address on Windows Server 2012

  1. Run the server via RDP.
  2. Click Start and open Server Manager.
  3. In Server Manager, click Local Server.
  4. On the configuration page, right-click the connection β†’ Properties.
  5. Choose IP Version:
    • For IPv4, select Internet Protocol Version 4 (TCP/IPv4).
    • For IPv6, select Internet Protocol Version 6 (TCP/IPv6).
  6. Click Advanced β†’ Add to specify the IP and subnet mask.
  7. Click OK to save and then Close.

Was this article helpful?

');">

Secure, reliable, and compliant hosting solutions

SSL Secured
256-bit Encryption
99.9% Uptime
SLA Guaranteed
GDPR Compliant
EU Hosted
24/7 Support
Expert Help
30-Day
Money Back
Green Energy
Renewable Powered
ISO
Datacenter Certified
πŸ‡±πŸ‡Ί Luxembourg Data Centers
πŸ‡ͺπŸ‡Ί EU Data Centers
PCI
Ready
SOC
Datacenter

Secure Payment Methods

VISA
MC
PayPal
SEPA
AMEX
Apple Pay
G Pay

Listed on WHTop hosting directory

Β© 2026 CloudHosting.lu. All rights reserved.

Powered by renewable energy in Luxembourg

Privacy Policy β€’ Terms of Service β€’ Cookie Policy β€’ GDPR β€’ Contact β€’ Sitemap
Cookie Settings