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.48

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/ipaliases service, which disables, enables, and lists IPv4 addresses.

The /etc/init.d/cpipv6 script

To run the /etc/init.d/cpipv6 script on the command line, use the following format:

/etc/init.d/cpipv6 [arguments] 

Arguments

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

ArgumentDescription
start

Starts IPv6 services on a network device.

stopStops IPv6 services on a network device.
restart

Restarts IPv6 services that the system previously interrupted.

Note:

If you use IPv6, the service network restart command removes 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. 

reloadReloads the IPv6 services on a network device.
listLists all of the network device's IPv6 addresses.

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 resembles 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