Since some of our customers hadn't installed "cloud-init" in their servers, so we can't configure IPv6 for them automatically. In this situation, they need to configure IPv6 address for themselves.
If you had installed the system via template and hadn't removed "cloud-init", just open a ticket to request IPv6 address, shutdown and boot 30s later in the panel, then your IPv6 address should be configured.
- CentOS/RedHat Network configuration file location
/etc/sysconfig/network-scripts/ifcfg-eth0
If installed via ISO, you should check files in the /etc/sysconfig/network-scripts
there may be some differences.
Interface Configuration Template
BOOTPROTO=none
DEFROUTE=yes
# may be need to change eth0
DEVICE=eth0
GATEWAY=IPv4 Gateway
HWADDR=Hardware Address
IPADDR=IPv4 Address
#### what need to change ####
IPV6INIT=yes
##### what need to add #####
IPV6ADDR=IPv6 Address
IPV6_DEFAULTGW=IPv6 Gateway
############################
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
- Debian/Ubuntu Network configuration file location
/etc/network/interface
Interface Configuration Template
auto lo
iface lo inet loopback
dns-nameservers 1.1.1.1 1.0.0.1 8.8.8.8
dns-search localhost.localhost
# may be need to change eth0
auto eth0
iface eth0 inet static
address IPv4 Address
gateway IPv4 Gateway
netmask 255.255.255.0
post-up ifup eth0:1
#### what need to add ####
auto eth0:1
iface eth0:1 inet6 static
address IPv6 Address/48
gateway IPv6 Gateway
##########################
At last, just restart the network.
- 4 Users Found This Useful