How To Add IPv6 to Your Network Interface in a Cloud Server

All of your IPv4 and IPv6 information related to your Cloud Server can be found in your Network tab:

How to add IPv6 in CentOS 7/8 Network Interface

STEP 1. Log in to your server as the administrator.

STEP 2. Navigate to /etc/sysconfig/network-scripts/ directory and open your network interface file. In our example, it is ifcfg-eth0. Details and interface may vary; however, it should look similar to this:

STEP 3. Add the following lines in the file with your IPv6 address information and save your file:


Configuration should look similar to this in the end:

STEP 4. Navigate to /etc/cloud/ and open cloud.cfg file. Add these lines at the end of the file and save it:

config: disabled

This prevents your network interface from being reset to a default configuration upon server restart.

STEP 5. Restart your network.

STEP 6. Test your IPv6 by pinging it to see if it was configured successfully:

Was this article helpful?

Still need help?

Heficed Slack Community

Get involved in Heficed Slack community. Get updates, ask questions, connect with peers.

Heficed Slack

Need support?

If you need any further help, don't hesitate to send a support request to our support team.