IPv4 Vs IPv6 (Advantages and Disadvantages)

We can see the rapid growth of Internet users in recent years and this increase also creates challenges for Internet management groups, stakeholders and service providers. Day by day, the internet infrastructure is expanding and we can even enjoy the internet service in villages and remote areas. Increased usage also increases devices online. Initially, Internet Protocol addressing (a specific IP address for each online entity) was designed to be 32-bit, and this IP version of the scheme was called IPv4. decimal is used to make IPv4 addresses more acceptable to humans and a 32-bit address is converted to 4 decimal numbers separated by the period (.) character. If we calculate these decimal values ​​and we can get the total number of devices that can participate in this protocol (256x256x256x256) = allows 4,294,967,296 addresses. It is about 4 billion addresses and in the early days of the internet no one can think, 4 billion slots will be full. here we will discuss some disadvantages of IPv4, since we have seen the problem of addressing capacity and then we will discuss the solution that will replace IPv4 and the addressing structure of the new addressing scheme. We will see some disadvantages of IPv4 and the new features of IPv6.

Rapid growth of the Internet and the depletion of IPv4 addressing

IPv4 allows 4,294,967,296 addresses, which is about 4 billion, and IP allocation limits public IP addresses to a few hundred million. The reason for this limitation is that companies use NAT (Network Address Translator) to map a single public IP to multiple private IP addresses.

IPv4 security at the IP level

When we communicate in a public medium, we need to encrypt the data to maintain security and privacy. After some time, we now have security for IPv4 packets. This security is known as Internet Protocol Security or IPSec, but it is optional for IPv4.

Internet backbone that maintains large routing tables

In IPv4, network ID assignment is very critical and there are currently more than 87,000 routes in the routing tables of Internet backbone routers. The routing infrastructure is based on flat and hierarchical routing.

Quality of service problem in IPv4

Nowadays, Internet users are not only limited with data browsing and searching. Today’s users are well aware of text, voice, and video chats, video conferences, and online video libraries. This type of communication needs data transfer in real time for quality of service. Normally for this type of services we use UDP (User Data Protocol) or TCP (Transmission Control Protocol). The IPv4 TOS field has limited functionality and has been redefined and interpreted locally over time. Also, identification of the payload using a TCP or UDP port is not possible when the IPv4 packet payload is encrypted.

IPv6

As we can see, we have some basic problems in IPv4 practice, now we will check some new features of IPv6. Here I like to describe some of the basic features of IPv6. IPv6 implementation is a major challenge for Internet management groups, stakeholders, and service providers. it’s difficult but not impossible. We can see the benefits of IPv6 here. Largest upgrade jump from 32-bit IPv4 to 128-bit IPv6.

IPv6 header format

The new header is designed to minimize header overhead. moving non-essential and optional fields to extension headers that are placed after the IPv6 header. The IPv6 header is processed more efficiently by intermediate routers, and that creates efficiency. IPv6 is 4 times larger than IPv4 and its header size is double that of the previous version.

Large IPv6 address space

In IPv6, the source and destination addresses are based on 128 bits. 128-bit addressing can produce more than 3.4 x 1038 possible combinations. Currently, we can say that this is enough, but who knows about the future, it may also face the same problem as IPv4 after a few decades. 128-bit addressing allows for multiple levels of subnetting and address assignment. So we can say that we have many addresses to use in the future.

Efficiency of the addressing and routing infrastructure in IPv6

IPv6 designed to create an efficient, hierarchical, and summarizing routing infrastructure that is based on the common occurrence of multiple tiers of Internet service providers. Reduces the size of the routing table of backbone routers. Which can cause an efficient internet experience.

Security features are now integrated

IPv6 has been designed to support IPsec (AH and ESP header support required) and also supports the mobile version of Mobile IPv6. IPSec based on two types of extension headers and a protocol for negotiating security settings. The Authentication Header (AH) provides data integrity, data authentication, and replay protection for the entire IPv6 packet. It’s better to train the developers who built security features into the development of IPv6 rather than have us do it later.

IPv6 Quality of Service (QoS)

As we have already seen about the UDP and TCP protocols for streaming and other multimedia services on the Internet. Because the use of these services is increasing day by day, IPv6 has a flow level field in its header that makes a better and special handling of packets from source to destination. Data traffic is identified in the IPv6 header, QoS support can be achieved even when the packet payload is encrypted with IPSec and ESP.

Leave a Reply