Guide to IPv6 in WHM
cPanel & WHM currently offers selective support of IPv6, to facilitate the hosting industry’s movement toward full IPv6 use. This guide offers a beginner’s guide to IPv6, and describes how to work with IPv6 on cPanel & WHM servers.
What is IPv6?
Internet Protocol (IP) is the communications protocol that routes traffic across the Internet. Currently, IPv4 (Internet Protocol version 4) carries the vast majority of Internet traffic. However, a shortage of IPv4 addresses exists because IPv4 only allows approximately four billion addresses. Prices for dedicated IPv4 addresses have risen due to this shortage, and the Internet Assigned Numbers Authority (IANA) requires justification and audits of IPv4 addresses to avoid waste. IPv6 (Internet Protocol version 6) addresses the problem of IPv4 address exhaustion, because the limit to the number of IPv6 addresses is exponentially higher than the IPv4 limit.
IPv4 and IPv6
The following table compares IPv4 and IPv6:
|Format||A 32-bit address that consists of four period-separated octets.||A 128-bit address that consists of eight colon-separated groups of four hexadecimal digits.|
|Availability||4.2 billion possible addresses.||340 undecillion possible addresses. This is equivalent to 3.4 x 1038 addresses, or 2128 possible addresses.|
|Accessibility||Anyone can access an IPv4 address.||You can only access an IPv6 address if you use an IPv6-enabled network and server.|
IPv6 address formatting
IPv6 addresses are 128-bit addresses that consist of eight colon-separated groups of four digits each. Unlike IPv4 addresses, which only consist of integers, IPv6 addresses use hexadecimal digits (the numerals
9 and the letters
Often, IP addresses collapse (hide)
0‘s that start an octet, or completely collapse octets that only include the digit
0. In collapsed IPv6 addresses, a double colon (
::) indicates a collapsed section. However, IPv6 addresses cannot contain more than one double colon.
The following table lists several correct formats for the same IPv6 address:
||The fully-expanded version of the IPv6 address.|
||The same IPv6 address, partially collapsed to hide octets that only contain
||The same IPv6 address, fully collapsed to hide octets that only contain
For more information about IPv6, read the following third-party resources:
- Wikipedia provides an in-depth explanation of IPv6. This article includes a brief history of IPv6, some comparisons between IPv4 and IPv6, and a technical explanation of IPv6 implementation.
- Google provides a brief history and the logic behind IPv6.
- You can test your current IPv4 and IPv6 status and availability.