Page tree
Skip to end of metadata
Go to start of metadata

This document is for a previous release of cPanel & WHM. To view our latest documentation, visit our Home page.

For cPanel & WHM 11.40

Overview

You can use the /etc/init.d/cpipv6 script to disable, enable, or list IPv6 addresses. This script functions similarly to the /etc/init.d/ipaliasesservice, which disables, enables, and lists IPv4 addresses.

The cpipv6 script

You can run the /etc/init.d/cpipv6 script with the following arguments:

  • start — This option starts IPv6 services on a network device.
  • stop — This option stops IPv6 services on a network device.
  • restart — This option restarts IPv6 services that have been interrupted.

    Note:

    If you use IPv6, the service network restart command will remove the IPv6 addresses from the network device. To keep your IPv6 configuration, you must also run the /etc/init.d/cpipv6 restart command whenever you restart the network. 

  • reload — This option reloads the IPv6 services on a network device.
  • list — This option lists all of the IPv6 addresses that are associated with the network device.

 

Example

For example, to return a list of IPv6 addresses on your network device, run the following command:

/etc/init.d/cpipv6 list 

 

This command's output will be similar to the following example:

/etc/init.d/cpipv6 list 
Bound IP: 2001:db8:1a34:56cf:: 
Bound IP: 2620:0:28a0:2143:5054:ff:fee4:7c28 
User IP: 2001:0db8:1a34:56cf:0000:0000:0000:0000