IP Addresses
IPv6 Address Settings
Add IPv6 address range
This function adds a range of IPv6 addresses to the server.
Notes:
- This function cannot modify the server's shared IPv6 address. To update that address, modify the /etc/wwwacct.conf file, or use WHM's Basic WebHost Manager Setup interface (Home >> Server Configuration >> Basic WebHost Manager Setup).
- For all of cPanel & WHM's features to function properly on IPv6, the cpsrvd daemon must listen on IPv6 addresses. To enable this functionality, select On for the Listen on IPv6 Addresses setting in the System section of WHM's Tweak Settings interface (WHM >> Home >> Server Configuration >> Tweak Settings).
Important:
When you disable the Web Server role, the system disables this function.
get/ipv6_range_add
Query parameters
namestring required
Example:ExampleRange
The IPv6 address range's name.
Note:
You cannot use SHARED as a range's name. It is reserved for the server's shared IPv6 address.
rangestring required
Example:2001:db8:66ac:cafe::/64
The IPv6 address range and network portion in CIDR format.
enabled0 | 1
Example:1
Whether the IPv6 address range is available.
Note
- 1 - Available.
- 0 - Reserved.
notestring nullable
Example:Initial IPv6 address pool
A note for the IPv6 address range.
Response
HTTP Request was successful.
Example response
{
"metadata": {
"command": "ipv6_range_add",
"reason": "OK",
"result": 1,
"version": 1
}
}