For cPanel & WHM 11.44
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.
If you use IPv6, the
service network restartcommand will remove the IPv6 addresses from the network device. To keep your IPv6 configuration, you must also run the
/etc/init.d/cpipv6 restartcommand 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.
For example, to return a list of IPv6 addresses on your network device, run the following command:
This command's output will be similar to the following example: