Red Hat / CentOS IPv6 Network Configuration

Firstly, log in to your SolusVM Control Panel, choose your VPS and navigate to the Network Tab:

Click on the Add button to add new ipv6

After that, You need to update and configure following files for IPv6 configuration:
  1. /etc/sysconfig/network : Turn on networking in this file.
  2. /etc/sysconfig/network-scripts/ifcfg-eth0 : Set default IPv6 router IP and server IP address in this file.
Open /etc/sysconfig/network file, enter:
# vi /etc/sysconfig/network
Append following line:
Open /etc/sysconfig/network-scripts/ifcfg-eth0 (1st network config file)
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
Append following config directives for IPv6:

Here is our sample file with mix of IPv4 and IPv6 assigned to eth0:

NAME="System eth0"


  • NETWORKING_IPV6=yes|no – Enable or disable global IPv6 initialization.
  • IPV6INIT=yes – Enable or disable IPv6 configuration for all interfaces.
  • IPV6ADDR=2607:fcd0:100:db04::1:55 – Specify a primary static IPv6 address here.
  • IPV6_DEFAULTGW=2607:fcd0:100:db04::1 – Add a default route through specified gateway.
Save and close the file. Restart networking:
# service network restart
Verify your configuration by pinging ipv6 enabled site such as
$ ping6
Sample output:
[[email protected] network-scripts]# ping6
PING 56 data bytes
64 bytes from icmp_seq=1 ttl=59 time=4.64 ms
64 bytes from icmp_seq=2 ttl=59 time=0.352 ms
64 bytes from icmp_seq=3 ttl=59 time=0.356 ms
64 bytes from icmp_seq=4 ttl=59 time=0.382 ms
--- ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3590ms
rtt min/avg/max/mdev = 0.352/1.434/4.649/1.856 ms
  • 9 Users Found This Useful
Was this answer helpful?

Related Articles

List of available Operating systems on our KVM

We have the following available OS: CentOS 5.9 32bit CentOS 5.9 64bit CentOS 6.5 32bit...

How to Extend the Hard drive after upgrading VPS

1. For KVM VPS.First log in to your SolusVM Control Panel, mount the Gparted iso and Choose the...

How do I upgrade or downgrade my service?

If you would like to upgrade or downgrade your service, we have a convenient process to do just...

How to manage your KVM and OpenVZ VPS in SolusVM

GreenCloudVPS is using Solus Virtual Manager (SolusVM) as the VPS management system for OpenVZ...

How to install OS on KVM VPS

First, log in to our SolusVM Control Panel via the link we sent you in the VPS information...