Serverhosting and IPv6

Each serverhosting (virtual or dedicated server) is allocated 65535 IPv6 addresses that the customer can allocate and use them.

A particular IPv6 address can be found in the customer administration in detail of appropriate service, or you may ask for it of our customer support.

Example: 2a02:2b88:2:1::zzzz:X/64

where instead zzzz will be a specific part of IP addresses, which is assigned to a specific service, and after X the customer can put whatever 1-ffff (therefore 1-65535 in hexadecimal format).

Example of IPv6 addresses setting, which can be set for your server:

2a02:2b88:2:1::zzzz:1
2a02:2b88:2:1::zzzz:2
2a02:2b88:2:1::zzzz:3
etc.

If the server sending e-mails, make sure you also set the necessary reverse records for IPv6 addresses.

Configuring the interface in Linux

For our pre-installed Linux VPS is already set one IPv6 address on a network interface (:1 at the end).

Use only static configuration, Turn off all autoconfiguration protocols and services.

The following command sets IPv6 address and gateway for the appropriate interface eth0.

ifconfig eth0 inet6 add 2a02:2b88:2:1::zzzz:1/64
route -A inet6 add default gw 2a02:2b88:2:1::1

Of course, you need to set the interface and write to the configuration file, otherwise, the settings will be lost after a reboot. Search for a particular procedure in the manual for your distribution.

Configuration in RHEL, CentOS and Fedora

For permanent setting in these distributions, follow this:

First, enable IPv6 in the file /etc/sysconfig/network:

NETWORKING_IPV6=yes

Then add the configuration to a configuration file of the particular network interface /etc/sysconfig/network-scripts/ifcfg-XXX:

IPV6INIT=yes
IPV6ADDR=IP1/64
IPV6ADDR_SECONDARIES="IP2/64 IP3/64"
IPV6_DEFAULTGW=GW

Firewall

If you are using IPv6, and do not forget the necessary security. On Linux, iptables firewall rules work just for IPv4 communication. You must also make rules for IPv6 communication by using ip6tables!

Using for domain

If you want to direct a domain name to IPv6 address of your server, add DNS record type AAAA to the domain, into its value specify the appropriate address.