The Wayback Machine - https://web.archive.org/web/20240709232020/https://www.geeksforgeeks.org/what-is-ipv6/
Open In App

What is IPv6?

Last Updated : 10 Jun, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

The most common version of the Internet Protocol currently in use, IPv4, will soon be replaced by IPv6, a new version of the protocol. The well-known IPv6 protocol is being used and deployed more often, especially in mobile phone markets. IP address determines who and where you are in the network of billions of digital devices that are connected to the Internet.

IPv6 or Internet Protocol Version 6 is a network layer protocol that allows communication to take place over the network. IPv6 was designed by the Internet Engineering Task Force (IETF) in December 1998 with the purpose of superseding IPv4 due to the global exponentially growing internet of users.

What-is-IPv6

What is IPv6?

The next generation Internet Protocol (IP) address standard, known as IPv6, is meant to work in tandem with IPv4, which is still in widespread use today, and eventually replace it. To communicate with other devices, a computer, smartphone, home automation component, Internet of Things sensor, or any other Internet-connected device needs a numerical IP address. Because so many connected devices are being used, the original IP address scheme, known as IPv4, is running out of addresses.

What is IPv4?

The common type of IP address (is known as IPv4, for “version 4”). Here’s an example of what an IP address might look like:

25.59.209.224

An IPv4 address consists of four numbers, each of which contains one to three digits, with a single dot (.) separating each number or set of digits. This group of separated numbers creates the addresses that let you and everyone around the globe to send and retrieve data over our Internet connections. The IPv4 uses a 32-bit address scheme allowing to store 2^32 addresses which is more than 4 billion addresses. To date, it is considered the primary Internet Protocol and carries 94% of Internet traffic. Initially, it was assumed it would never run out of addresses but the present situation paves a new way to IPv6, let’s see why? An IPv6 address consists of eight groups of four hexadecimal digits. Here’s an example IPv6 address:

3001:0da8:75a3:0000:0000:8a2e:0370:7334

IPv6 vs IPv4

This new IP address version is being deployed to fulfil the need for more Internet addresses. With 128-bit address space, it allows 340 undecillion unique address space.

IPv6 support a theoretical maximum of 340, 282, 366, 920, 938, 463, 463, 374, 607, 431, 768, 211, 456. To keep it straightforward, we will never run out of IP addresses again.

The next iteration of the IP standard is known as Internet Protocol version 6 (IPv6). Although IPv4 and IPv6 will coexist for a while, IPv6 is meant to work in tandem with IPv4 before eventually taking its place. We need to implement IPv6 in order to proceed and keep bringing new gadgets and services to the Internet. We can only move forward with an innovative and open Internet if we implement it, which was created with the needs of a global commercial Internet in mind.

IPv6

IPv4

IPv6 has a 128-bit address length

IPv4 has a 32-bit address length

It supports Auto and renumbering address configuration

It Supports Manual and DHCP address configuration

The address space of IPv6 is quite large it can produce 3.4×1038 address space

It can generate 4.29×109 address space

Address Representation of IPv6 is in hexadecimal

Address representation of IPv4 is in decimal

In IPv6 checksum field is not available

In IPv4 checksum field is available

IPv6 has a header of 40 bytes fixed 

IPv4 has a header of 20-60 bytes.

IPv6 does not support VLSM.

IPv4 supports VLSM(Variable Length subnet mask).

Representation of IPv6

An IPv6 address consists of eight groups of four hexadecimal digits separated by ‘ . ‘ and each Hex digit representing four bits so the total length of IPv6 is 128 bits. Structure given below.

IPv6-Representation

IPV6-Representation

gggg.gggg.gggg.ssss.xxxx.xxxx.xxxx.xxxx

The first 48 bits represent Global Routing Prefix. The next 16 bits represent the student ID and the last 64 bits represent the host ID. The first 64 bits represent the network portion and the last 64 bits represent the interface id.

Global Routing Prefix: The Global Routing Prefix is the portion of an IPv6 address that is used to identify a specific network or subnet within the larger IPv6 internet. It is assigned by an ISP or a regional internet registry (RIR).

Student Id: The portion of the address used within an organization to identify subnets. This usually follows the Global Routing Prefix.

Host Id: The last part of the address, is used to identify a specific host on a network.

Example: 3001:0da8:75a3:0000:0000:8a2e:0370:7334

Types of IPv6 Address

Now that we know about what is IPv6 address let’s take a look at its different types.

  • Unicast Addresses : Only one interface is specified by the unicast address. A packet moves from one host to the destination host when it is sent to a unicast address destination.
  • Multicast Addresses: It represents a group of IP devices and can only be used as the destination of a datagram.
  • Anycast Addresses: The multicast address and the anycast address are the same. The way the anycast address varies from other addresses is that it can deliver the same IP address to several servers or devices. Keep in mind that the hosts do not receive the IP address. Stated differently, multiple interfaces or a collection of interfaces are assigned an anycast address.

Advantages

  • Faster Speeds: IPv6 supports multicast rather than broadcast in IPv4.This feature allows bandwidth-intensive packet flows (like multimedia streams) to be sent to multiple destinations all at once.
  • Stronger Security: IPSecurity, which provides confidentiality, and data integrity, is embedded into IPv6.
  • Routing efficiency
  • Reliability
  • Most importantly it’s the final solution for growing nodes in Global-network.
  • The device allocates addresses on its own.
  • Internet protocol security is used to support security.
  • Enable simple aggregation of prefixes allocated to IP networks; this saves bandwidth by enabling the simultaneous transmission of large data packages.

Disadvantages

  • Conversion: Due to widespread present usage of IPv4 it will take a long period to completely shift to IPv6.
  • Communication: IPv4 and IPv6 machines cannot communicate directly with each other.
  • Not Going Backward Compatibility: IPv6 cannot be executed on IPv4-capable computers because it is not available on IPv4 systems.
  • Conversion Time: One significant drawback of IPv6 is its inability to uniquely identify each device on the network, which makes the conversion to IPV4 extremely time-consuming.
  • Cross-protocol communication is forbidden since there is no way for IPv4 and IPv6 to communicate with each other.

Conclusion

IPv6 was designed by the Internet Engineering Task Force (IETF) in December 1998 with the purpose of superseding IPv4 due to the global exponentially growing internet of users. The IPv4 uses a 32-bit address scheme allowing to store 2^32 addresses which is more than 4 billion addresses. This new IP address version is being deployed to fulfil the need for more Internet addresses. With 128-bit address space, it allows 340 undecillion unique address space.

Frequently Asked Questions on IPv6 – FAQs

what is IPv6?

IPv6 or Internet Protocol Version 6 is a network layer protocol that allows communication to take place over the network. IPv6 was designed by Internet Engineering Task Force (IETF) in December 1998 with the purpose of superseding the IPv4 due to the global exponentially growing internet users.

What are the benefits of using IPv6 rather than IPv4?

IPv6 supports multicast rather than broadcast in IPv4.This feature allows bandwidth-intensive packet flows (like multimedia streams) to be sent to multiple destinations all at once.

How is the IPv6 address represented?

IPv6 is represented by the below representation

1000:0ac3:22a2:0000:0000:4b3c:0504:1234

Who is more secure IPv4 or IPv6?

Since IPv6 was created with security in mind, it is more secure than IPv4 when implemented correctly.

What is IPv6 tunneling?

IPv4 and IPv6 packets can be encapsulated inside IPv6 packets using the IPv6 tunnelling technique. Between two IPv6 nodes, it is used to create a virtual point-to-point link. Since IPv6 tunnels are stateless, they are unaware of the remote tunnel endpoint’s existence or configuration.



Previous Article
Next Article

Similar Reads

Transition from IPv4 to IPv6 address
Prerequisite - Differences between IPv4 and IPv6 In the current scenario, the IPv4 address is exhausted and IPv6 had come to overcome the limit. Various organization is currently working with IPv4 technology and in one day we can't switch directly from IPv4 to IPv6. Instead of only using IPv6, we use combination of both and transition means not rep
3 min read
IPv6 Addressing Format and Conventions
We know that IPv4 addresses are mostly represented in a dotted decimal form like 192.168.10.1, and if written with a prefix mask then it would be written like 192.168.10.1/24, where /24 is the network mask. But IPv6 is long addressing format. IPv6 is 128 bit long and usually represented in hexadecimal format of addressing. IPv6 representation inclu
2 min read
Compression of IPv6 address
IPv6 address is short form of IP address version 6. It is basically a 128 bit address. In IPv6 address, hexadecimal notation is preferred. There are total 8 fields in IPv6 hexadecimal notation and each field consists of 16 bits. Hence, total bits are 8 x 16 = 128 Rules for compression: There are basically three rules for compression: Rule-1: When o
1 min read
IPv6 Fragmentation Header
Prerequisite - Internet Protocol version 6 (IPv6) Header In IPv4 fragmentation is done whenever required, at destination or at routers whereas in IPv6 only source is supposed to do fragmentation but not routers. This can only be done when source knows path Maximum Transmission Unit (MTU). In Ipv6 "do not fragment" bit is always 1 where case is not
4 min read
The rise of IPv6
IP address (Internet Protocol Address) recognizes computers on the Internet. It is a string of digits separated by some delimiter. When your device sends requests on the Internet for some page, it tags your IP address with the request. An IP address is usually based on a real-world location. The purpose of IP is to manage the connection between a d
3 min read
IPv6 and DNSSEC: Their Slow adaptation
In this article, we will discuss the overview of IPv6 and DNSSEC and will discuss the reason in detail with all these benefits why is IPv6 deployment is slow. Let's discuss it one by one. Pre-requisite -Internet Protocol version6 And IPv4 vs IPv6 Overview :Internet isn't as simple as it looks, It's a merger of many protocol stacks. Many of these ha
4 min read
IPv4 versus IPv6 Geolocation: Accuracy and Other FAQs Answered
Introduction :Every Internet-connected device is identifiable through its IP address. In fact, many organizations employ IP geolocation (through a geolocation database download, an API or web service) for several business purposes, including marketing, fraud prevention, cybercrime investigation, and more. However, many argue that IP geolocation is
6 min read
What is IPv6 Intra Site Automatic Tunnel Addressing Protocol (ISATAP)?
ISATAP is a routable tunneling protocol developed by the IETF as an extension to IPv6, used in scenarios where no other encapsulation is available. It uses IPv4 to transmit data packets over the network. IPv6 Intra Site Automatic Tunnel Addressing Protocol (ISATAP): It is a tunneling protocol that was developed as an extension to IPv6 by the IETF a
2 min read
Advantages of IPv6
Pre-requisites: IPv6, Differences between IPv4 and IPv6 An interconnected system of equipment, such as computers, servers, and routers, that can communicate with one another and share resources is known as a computer network. Computer networks are used to make it easier for devices to communicate with one another and exchange data, as well as to gi
3 min read
IPv6 Transition Mechanisms: 6to4, Teredo, ISATAP
IPv4 transition mechanisms are designed to keep IPv4 and IPv6 networks constant during the transition from IPv4 to IPv6. These mechanisms help devices and networks communicate with each other, even when using different versions of IP. The three most common IPv6 switching protocols are 6to4, Teredo, and ISATAP. 6to4 (IPv6-to-IPv4)Purpose of 6to46to4
3 min read