Communication is central to the internet. Whether this is through using messaging or chat systems, or filling in a dynamic form, talking to other computers is vital to the process. The Internet Protocol (IP) helps machines talk to one another, although there are different versions of this. As such, you’ll often wonder whether to use IPv4 vs IPv6.
The answer is simple in some ways, but complex in others. However, in order to come to a conclusion, you’ll want to know some of the history, key differences, and much more. From there, you can weigh up which protocol to use.
For this post, we’re going to discuss nearly all of the elements of IPv4 vs IPv6. First, we’re going to bring you up to speed on what IP is.
Along with the Domain Name System (DNS), and IP address is a key component of how we move around the web. In fact, without it, data cannot travel at all.
Most of the data that floats around the web breaks down into ‘packets.’ This makes it easier to transfer, reduces the number of errors, and improves processing time. In order for each packet to end up at the right place (and eventually in the right order,) it will have dedicated IP information.
In most cases, this will be a reference to the target machine’s IP address. You can check out IP addresses all over the place. Your computer and router will have dedicated addresses, and you can find the IP address of a particular website’s network through online tools such as WhatsMyDNS:
If two packets have the same IP address, they end up at the same computer. It’s a simple approach that works well enough that we run the world on the web.
However, while the process of using the IP is simple, there’s more to uncover. There are multiple versions to consider, which can confuse you if this is a new concept.
Over the next few sections, we’re going to discuss IPv4 vs IPv6, then try to answer some of the questions you might have about each protocol.
Despite the name, this is the first version of the IP, which is a technology from the early 80s. You’ll know what an IP address using IPv4 looks like, as it’s standard – a collection of four digits separated by periods:
We call this a 32-bit length, and its representation is decimal. Each section within the IP address uses 8-bit formatting. Each of these numbers can run from 0 (zero) to 255. When you calculate and account for every available number, there are 4.3 billion options. This seems like a lot, and you’ll want to bear this in mind for later on in the article.
There are a few other interesting points about IPv4, but if you’re a non-technical person or a non-developer, they won’t matter as much:
IPv6 differs in a few ways to IPv4. In the next section, we’ll take a look at it in more detail.
As you can guess from the version numbering, IPv6 is a new version of the protocol that looks to solve a few of the inherent problems of IPv4. In a way, this is similar to how File Transfer Protocol (FTP) and Secure File Transfer Protocol (SFTP) differ.
In fact, IPv6 is also a technology from the Internet Engineering Task Force (IETF). The technical standards came along in 1995, and provides 128-bit addresses rather than the 32-bit length as per IPv4:
However, this isn’t the only difference it has from the older protocol:
There are other differences, but there’s one reason why IPv6 exists. Let’s discuss this factor next.
The debate and confusion around IPv4 vs IPv6 wouldn’t even exist without the rise and expansion of the internet. In fact, each protocol has a theoretical limit on the number of IP addresses it can generate. This is important for one reason: If we run out of internet addresses, we can’t add new machines to the global network. The internet will have to stop its growth.
IPv4 can generate over four billion addresses, which is a huge number – especially for 1983. However, it’s not enough for the way we use the internet in the 21st century. Web boffins back in the 90s knew that we would run out of addresses, which is why we have technologies such as the Network Address Translation (NAT).
There are a few different organizations that have responsibility for allocating IP numbers and addresses. However, over the 2010s, the remaining numbers in these resource pools are no longer available. This means IPv4 addresses now come from unallocated blocks issued to a specific Internet Service Provider (ISP), or recycling of older unused IPv4 addresses.
IPv6 is here because of the IPv4 address exhaustion problem. Because it’s 128-bit, hence longer, we can generate new numbers at a greater capacity. In fact, you can generate over 1,024 times the number of addresses as IPv4. Some of the unused IP addresses we have will go towards the transition to IPv6.
IPv6 will also solve a number of other problems that didn’t apply or were less apparent in the early 80s:
Despite the immense benefits – and desperate need – for IPv6, there isn’t much uptake for the protocol. Most of the web still runs on IPv4. Even so, there is a current plan and strategy in place to transition all IPv4 addresses to IPv6, and it’s close – the US will do so from 2023
Before we look to wrap up this article, we have to touch on a missing protocol version. Much like the version numbering of PHP – there was a jump from PHP5 to PHP7 – IP versions do the same. The reasons are similar too.
While companies such as Apple, NeXT, and Sun Microsystems did develop a fifth version of the IP, it did not become an official protocol. It has the name of the Internet Stream Protocol (ST), and did see use on an experimental basis within those organizations.
The general consensus is that ST/IPv5 is fantastic at streaming data, but we can already see this in action. ST saw development as the foundation of Voice over IP (VoIP,) which we use to for voice chat today.
However, the one big drawback for ST/IPv5 is that it is has 32-bit formatting. This means it has the same issue as IPv4 in that it will run out of addresses to use. The limitation means it’s not viable for the modern web, and is a direct reason why we have a jump between IPv4 and IPv6.
The question of whether you should choose IPv4 vs IPv6 will, in most cases, have a straightforward ‘non-answer.’ To gauge which protocol is better, you can consider three different facets:
It’s worth breaking these down into more depth, because some of the underlying statistics make for good reading.
When it comes to popularity, the take up is slow. Google curates statistics for the availability of IPv6 among its users, and only 38 percent use the protocol:
Even so, it’s interesting to note that most of North and South America have some level of access, with some countries showing around 45 percent adoption. This is the same for countries such as the United Kingdom (UK), Australia, and Japan. India, Saudi Arabia, France, Germany, and Greece all show around a 50–60 percent adoption:
However, if manufacturers and web hosts don’t support IPv6, there’s no reason to switch. The W3Techs website reports that around 20 percent of all sites use IPv6, which isn’t an encouraging number right now.
As for performance, there doesn’t seem to be much difference between IPv4 vs IPv6. An old comparison from Sucuri didn’t find any noticeable difference between them. However, Facebook did some performance testing back in 2015, with the conclusion that there may be a speed benefit using IPv6.
The Zivaro site also carried out a deep dive into the performance between IPv4 vs IPv6, and the conclusion is the same as we’re going to go with: It depends. This is because performance isn’t the primary goal of IPv6, and even if the protocol runs at a snail’s pace, we need the technology due to the exhaustion of IPv4 addresses.
The short answer here is: Choose IPv6 if you can, and if every site you access can support the protocol. However, there are so many caveats and conditions here that we can’t state this as a reliable answer.
Transitioning to IPv6 is unique in that it requires a group effort of all web users – hardware manufacturers, web hosts, computer software companies, and end users. As a result, unless you have a direct influence over whether sites use IPv6, you may have to wait until adoption rates rise.
IP addresses almost run the entire web. You use them to pinpoint, then communicate with, other computers. However, there are different protocol versions to consider. IPv4 vs IPv6 is a comparison you need to look into, but in many cases you won’t need to worry too much.
This is because many hosts set this without your input. Even so, despite the weakening capacity for IPv4, lots of hosts don’t yet support IPv6, or offer minimal compatibility. If you have the choice, IPv6 is more modern. Our advice is not to sweat it at current writing if you don’t have the option to choose.
Do you have any questions about IPv4 vs IPv6? Ask away in the comments section below!
Are you on the look out for Google Analytics alternatives? Google Analytics has dominated the…
Are you on the hunt for cPanel alternatives? cPanel is the web server control panel…
New to Webflow and not sure where to start? This step-by-step guide will show you…
Are you in the market for a forum software to get your online community off…