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
Was this answer helpful?
Related Articles
How to use the SSH Key to login to the VM
Connecting to a server using an SSH key from a Windows client Download and run the PuTTY SSH...
How to generate SSH RSA Key
Creating an SSH key on Windows The simplest way to create SSH key on Windows is to use PuTTYgen....
How to convert RSA Private Key to Putty Private Key .ppk
Converting SSH keys for WinSCP If you want to use WinSCP as an SFTP client to connect to your...
Reset root password when system didn't install cloud-init pulgin
Access the Control Panel section of your server in the customer portal and follow these steps....
Upgrade Guide For VM Migrated from SVM Platform(Order before Jan 2019)
Doing this to keep your VM running well in the new platform. 1.     Prepare: ·       For how...