What are the differences between IPv4 and IPv6 to browse the Internet

To be able to surf the Internet, something essential is the IP protocol or Internet Protocol . It has two versions: IPv4 and, the most recent, IPv6 . They have differences, as we will see. Although the first is the one that is widely spread today, the future belongs to the second. We are going to explain what this protocol is used for and the main aspects of each of its two versions.

What is the Internet Protocol for?

differences between IPv4 and IPv6 to browse the Internet

We can say that the Internet Protocol is basic for navigation as we know it. It contains a series of rules used to route and address data packets . Each of these packets will carry information that is necessary to know where they should be sent. Basically they have to know the address.

Keep in mind that each of the devices connected to the network is assigned an IP address . For example, domains like this article.net have an IP assigned to which we connect every time we put the address in a browser. That Internet Protocol or IP is what allows the information to reach the correct destination.

In a way it is the same as when we send a letter by post. We are sending information (a written paper, for example) to a person who is in another place. For that letter to reach its destination, it must have an address so that it does not get lost along the way. This is the same, but in digital terms. The difference is that this IP can change, since it will be assigned automatically when the connection is established.

It is not a new protocol, far from it; however, with the passage of time everything has changed, there are more devices connected and that has led to the emergence of different versions. That is where we will find differences between IPv4 and IPv6 .

What is IPv4

IPv4 is the first version. When it was created 40 years ago it had limitations but for that time they were more than enough. That is, it was designed to theoretically support some 4.3 billion devices connected to the network. However, of those it is going to reserve about 16 million for private networks and another 268 million, approximately, for multicast addresses. Of course, in the 1980s there was practically no Internet anywhere and everything was limited to computer equipment belonging to official organizations and certain countries.

In the case of IPv4, a 32-bit address is used. That IP address is made up of four blocks. Each one of those blocks will have 256 numbers, since it goes from 0 to 255. For example, we can find an IP address of the type That will be the address that will identify a particular device or server on the network. For example the address of a web page.

Until a few years ago that was more than enough, but things have been changing. We have more and more devices connected to the network. You just have to think about the number of devices of what is known as the Internet of Things that we have around us. Surveillance cameras, printers, smart light bulbs… That, in addition to the usual computers and mobile phones, gradually exhausts the available IP addresses.

Protocolo de Internet

What is IPv6

To overcome this limitation, IPv6 arose. This happened in 2011, so we are not facing a novelty either, although, yes, it is not very well established yet. Of course, its development began at the end of the 1990s. In this case, it admits practically infinite addresses, which will at least solve the problem for a long time.

In total, the figure is 2 raised to 128 or, in other words, about 340 sextillion. A more than significant number. IPv6 is based on 128-bit addresses . They are represented through eight blocks of four hexadecimal digits each. This allows to reach really high numbers of combinations. The routing, therefore, is similar to that of IPv4 but in this case it becomes 128 bits.

An example of an IPv6 address would be 2001:3dr4:0231:6852:5h76:34p7:3469:8453. It should be noted that an IPv6 address packet will have mainly two parts. One of them will act as a header (it will have a fixed part and another with variables) and then the payload (which is the data).

The switch to IPv6 has already started, especially in some countries. The exhaustion of IPv4 addresses is a reality and that requires action. There are transition mechanisms to gradually adapt the addresses.

An important factor of IPv6 is that it also brings improvements in security . For example, it natively has IPSec. This is used to authenticate and encrypt data packets, something that provides an improvement over the previous version. After all, it is a much more recent protocol, since the previous one was 40 years old.

Differences between IPv4 and IPv6

As you can imagine, there are clear and important differences between IPv4 and IPv6. We are going to summarize the main ones so that you can know how each of them works. You will see that there are some significant changes with the introduction of the new Internet Protocol.

  • Number of addresses : undoubtedly the most important difference and the reason why the implementation of IPv6 began to be devised. It will allow to overcome the problem of exhaustion of IP addresses at a global level.
  • Blocks and Separation – Another difference, in this case visual, is in the IP address itself. The IPv4 protocol is divided into four blocks separated by a period, while IPv6 is divided into eight blocks separated by a colon (:) each.
  • Speed : although there is really no clear difference here, it is true that in certain circumstances IPv6 can work faster (when we are working with NAT).
  • Security : IPv6 provides greater security natively. It has added security mechanisms, such as IPSec.

In short, as you have seen there are several differences between IPv4 and IPv6. The main one of all of them is the number of addresses, which will be infinitely greater in the latter case. There are also differences in terms of security, speed or the blocks and separation of addresses. All this means that we are facing a protocol that will undoubtedly be decisive soon due to the large number of devices that already exist and will be.