By default you can't ping additional IPs, firstly, you need to configure them on your side.
The easiest way is to reinstall the operating system on your server. Then all your additional IPs will be set up automatically, including IPv6.
Also, you can configure IPs manually. Find our instructions for the most popular OS below.
Note! After IPs configuration, you need to reboot the server or run service network restart command.
Debian/Ubuntu
Open file /etc/network/interfaces using a text editor and add the following in the end.
Additional IPv4
auto eth0:N
iface eth0:N inet static
address Х. Х. Х. Х
netmask 255.255.255.255
- N - IPv4 serial number (0 - for the first one, 1 - for the second and so on)
- Х.Х.Х.Х – the example of the additional IP.
- netmask, network и gateway – network settings. You can find them in the Control Panel. Go to the Dedicated servers or VPS tab, choose the server you need and click IP-addresses button.
Additional IPv6
iface eth0:N inet6 static
address 2х01:Х:X:X::X
CentOS
Create file ifcfg-eth0:N in the /etc/sysconfig/network-scripts/ directory with the following:
Additional IPv4
DEVICE=eth0:N
ONBOOT=yes
BOOTPROTO=static
IPADDR=X.X.X.X
NETMASK=255.255.255.255
- N - IPv4 serial number (0 - for the first one, 1 - for the second and so on)
- Х.Х.Х.Х – the example of the additional IP.
- netmask, network and gateway – network settings. You can find them in the Control Panel. Go to the Dedicated servers or VPS tab, choose the server you need and click IP-addresses button.
Additional IPv6
For every IPv6 add in the file /etc/sysconfig/network-scripts/ifcfg-eth0 this line:
IPV6ADDR_SECONDARIES="2х01:Х:X:X::X/64"
Windows Server 2012
- Run the server via RDP.
- Open Server Manager --> Manage Network Connections and right-click the connection you need
- Click Properties
- Choose TCP/IPv4 and click Properties again. For IPv6 choose TCP/IPv6
- Click «Add» and specify the IP and the subnet mask.