23 Difference between IPv4 and IPv6

23 Difference Between Ipv4 And Ipv6

What is IPv4 and IPv6

Before discussing IPv4 and IPv6, it is necessary to first discuss what is meant by IP. IP is an extension of the internet protocol which can determine the data path in the network so that data can be transferred to the right destination address.

The data is transferred through networks and computers, then divided into several “bits” called data packets. Data packages support the data transfer process to be more effective. Each packet contains a source and destination IP address. An IP address is an identity that is only owned by devices connected to the internet or computer networks.


IPv4 is an extension of internet protocol version 4. IPv4 is the first most widely used IP address. This version of IP also prioritizes the most possible flow of data transmission although it does not guarantee the quality of data transmission and its services.

IPv4 has advantages as a protocol that is able to transfer packets via alternative routes even when the connection is hampered or the router is having problems. In addition, IPv4 can also run even without a connection.

In IPv4, sending data packets can be done without having to make sure the destination device is ready. This IP address uses 32-bit, which is the most common format for IP addresses. This IP consists of four decimal digits separated by three dots ranging from 0 to 255.

READ :  How to Turn Off Twitter’s Sensitive Content Features

For example, address Each number separated by a dot is called an octet. Within the scope of today’s computer networks, computers do not understand IP addresses in standard numeric format because computers only understand numbers in binary form. Binary numbers can only be 1 or 0.

IPv4 consists of four sets which represent octets. The bits in an octet represent a number. Each bit in the octet can be a number 1 or 0. If using bit 1 then the number it represents can be counted, whereas if it is 0 then the number it represents is not counted.


IPv6 is the generation of IP addresses. IPv6 is referred to as the next generation internet protocol which has a function similar to internet protocol version 4, providing a special address for all devices connected to the internet using a 128-bit address.

The 128-bit address space has about 340 undecillion addresses or 1,028 times more than IPv4’s previous generation. This IP address can contain numbers and letters, written in eight groups of four-digit hexadecimal numbers, and separated by colons.

The IPv6 example is as follows.


The advantages possessed by IPv6 include being able to load more addresses, IPv6 has a simpler header than IPv4. The IP header is the meta information at the start of the IP packet. The IPv6 header has a new format designed to minimize header overhead.

READ :  How to Check BLT for Newest Elementary, Middle and High School Children 2022

IPv4 and IPv6 functionality

The following IPv4 and IPv6 functions include them.

IPv4 function

  1. Supports networkless protocols.
  2. Can create a virtual communication layer between different devices.
  3. Low storage usage and easy to remember addresses.
  4. This protocol is supported by millions of devices.
  5. Can store more than four billion IP addresses.

IPv6 function

  1. Use routing infrastructure and user addressing systematically.
  2. Support QoS or Quality of Service.
  3. IPv6 is the best protocol for node interaction.
  4. Ability to store an almost unlimited number of IP addresses.

Why There’s IPv4 and IPv6

A large number of IP addresses can be created for IPv4 addresses. However, only 4.3 billion is not enough to accommodate all connected devices worldwide, not to mention the emergence of Internet of Things devices.

Therefore IPv6 is here to meet more needs for IP addresses on the internet. Even so, IPv4 is still needed and used on devices. There are a number of major content providers such as Netflix and Facebook.

Only 19.1% of the total ten million best Alexa websites can be reached via IPv6, the rest still use IPv4. Then to switch to full use of IPv6 takes a very long time.

Difference between IPv4 and IPv6

Here are some differences between IPv4 and IPv6 to know.

READ :  The 35W Core i7-13700T would be just as powerful as the 125W Core i5-12600K

Information IPv4 IPv6
headers length 20 bytes 40 bytes
Number of headers 12 8
Address size 32-bit 128-bit
Checksum field There is There isn’t any
Variable length subnet mask (VLSM) support Supports VLSM Does not support VLSM
addressing method IPv4 has numeric addresses IPv6 is just an alphanumeric address
Address type Broadcast, multicast, and unicast Anycast, multicast and unicast
Number of classes It has five different classes namely A, B, C, D, and E. Unlimited number of IP addresses
Routing information protocol (RIP) IPv4 is supported by RIPv1 and RIPv2 IPv6 is supported by RIPng
DNS records IPv4 has A records IPv6 has AAAA records
Simple network management protocol (SNMP) Support included Not supported
Minimum package size 576 bytes 1208 bytes
Optional fields There is None, but has extension headers
Address mask Used for the specified network from the host portion Do not use address masks
Package fragmentation Performed by the sender and the forwarding router Only done by the sending router
Security IPv4 security is application dependent IPv6 has internet protocol security (IPSec) built in
Network configuration Manually configured network via DHCP Has automatic configuration capability
Local subnet group management IPv4 uses the Internet Group Management Protocol (IGMP) IPv6 uses multicast listener discovery (MLD)
Package headers IPv4 does not identify packet flow for QoS handling, including the checksum option. The flow label field defines the flow of packets for QoS handling
Dynamic host configuration protocol (DHCP) Users must engage DHCP when trying to connect to the network. Users do not need to contact any server as they will be assigned a permanent address.
Configuration Users must configure a new system so that IPv4 can communicate with other systems. Optional configuration depends on the required function.
mapping IPv4 uses the address resolution protocol (ARP) IPv6 uses the neighbor discovery (ND) process for address resolution.
Mobility and interoperability Using a network topology that is relatively limited, limiting mobility and interoperability. IPv6 provides mobility and interoperability capabilities embedded in network devices.
difference between IPv4 and IPv6

When to Use IPv6

There are several reasons to switch to using IPv6. First, IPv4 prices tend to be expensive because the number of requests and offers can determine the price. Second, there are several drawbacks to using NAT instead of IPv6.

These weaknesses, for example, NAT was developed as a temporary technology so that its performance cannot be relied upon optimally for some protocols and applications. Some cases show that using IPv6 is the right answer.

Switching to IPv6 could increase the opportunities for future internet growth. Even the transition to using IPv6 has already begun. Based on a Google report, the use of IPv6 in the world currently reaches 37%.

Many companies engaged in internet services or ISPs, cellular operators, and other large companies are starting to switch to using IPv6. Apart from that, this transition was also supported by many websites and users upgrading both software and hardware to IPv6.

Leave a Reply

Your email address will not be published. Required fields are marked *