ApiaryActive
Try: pause · settings · learn · wipe
← Community / Reading Room
I
computing · 3 min read

Ipv6

IPv6 (Internet Protocol version 6) is a network layer protocol used for routing packets across the internet. It was designed to replace the older IPv4…

Overview

IPv6 (Internet Protocol version 6) is a network layer protocol used for routing packets across the internet. It was designed to replace the older IPv4 protocol, which was becoming increasingly inadequate due to the limited address space and the growing number of devices connected to the internet. IPv6 is a more advanced protocol that provides a much larger address space, improved security features, and better support for mobility and autoconfiguration.

IPv6 was first introduced in the late 1990s and was officially adopted as an Internet Standard in 2017. It has since become a widely deployed protocol, with many organizations and governments around the world transitioning to IPv6 to meet the growing demands of the internet.

Addressing

One of the key features of IPv6 is its much larger address space. IPv4 uses 32-bit addresses, which limits the number of unique addresses to approximately 4.3 billion. In contrast, IPv6 uses 128-bit addresses, which provides a virtually limitless number of unique addresses. This allows for a much greater number of devices to be connected to the internet without the need for complex address assignment and management.

IPv6 addresses are typically written in hexadecimal notation, with eight groups of four hexadecimal digits separated by colons. For example, the address 2001:0db8:85a3:0000:0000:8a2e:0370:7334 is a valid IPv6 address.

IPv6 also includes a feature called "subnetting" which allows for the division of a network into smaller sub-networks. This is achieved through the use of a subnet prefix and a subnet ID.

Routing

IPv6 routing is similar to IPv4 routing, but with some key differences. IPv6 routers use a combination of routing tables and routing protocols to determine the best path for packets to follow. Routing tables are used to store information about the network topology, including the addresses of neighboring routers and the best paths to reach them.

IPv6 routing protocols are similar to those used in IPv4, including OSPF (Open Shortest Path First), RIP (Routing Information Protocol), and BGP (Border Gateway Protocol). However, IPv6 also includes some new routing protocols, such as MLD (Multicast Listener Discovery) and PIM (Protocol Independent Multicast).

Security

IPv6 includes several security features that are not available in IPv4. One of the key features is the use of IPsec (Internet Protocol Security), which provides end-to-end encryption and authentication for IPv6 packets. IPsec is used to secure communication between two endpoints, and it provides protection against eavesdropping, tampering, and replay attacks.

IPv6 also includes a feature called "SEcure Neighbor Discovery" (SEND), which is used to secure the neighbor discovery process. SEND uses a combination of public key cryptography and digital signatures to authenticate neighbor discovery messages and prevent spoofing attacks.

Mobility and Autoconfiguration

IPv6 includes several features that make it easier to support mobile devices and autoconfiguration. One of the key features is the use of "Stateless Autoconfiguration" (SLAAC), which allows devices to automatically configure themselves with an IPv6 address without the need for a centralized server.

IPv6 also includes a feature called "Mobile IPv6" (MIPv6), which allows devices to maintain connectivity while moving between networks. MIPv6 uses a combination of routing protocols and tunneling to provide a seamless transition between different networks.

Transitioning to IPv6

Transitioning to IPv6 is a complex process that requires careful planning and execution. There are several ways to transition to IPv6, including:

  • Dual-stacking: This involves running both IPv4 and IPv6 on the same network, allowing devices to communicate using both protocols.
  • Tunneling: This involves encapsulating IPv6 packets within IPv4 packets, allowing them to be transmitted over IPv4 networks.
  • Translation: This involves using a device called a NAT64 (Network Address Translation 64) to translate IPv4 addresses to IPv6 addresses.

Transitioning to IPv6 requires careful planning and execution, and it is often a gradual process that involves phasing in IPv6 support over time.

Frequently asked
What is Ipv6 about?
IPv6 (Internet Protocol version 6) is a network layer protocol used for routing packets across the internet. It was designed to replace the older IPv4…
What should you know about overview?
IPv6 (Internet Protocol version 6) is a network layer protocol used for routing packets across the internet. It was designed to replace the older IPv4 protocol, which was becoming increasingly inadequate due to the limited address space and the growing number of devices connected to the internet. IPv6 is a more…
What should you know about addressing?
One of the key features of IPv6 is its much larger address space. IPv4 uses 32-bit addresses, which limits the number of unique addresses to approximately 4.3 billion. In contrast, IPv6 uses 128-bit addresses, which provides a virtually limitless number of unique addresses. This allows for a much greater number of…
What should you know about routing?
IPv6 routing is similar to IPv4 routing, but with some key differences. IPv6 routers use a combination of routing tables and routing protocols to determine the best path for packets to follow. Routing tables are used to store information about the network topology, including the addresses of neighboring routers and…
What should you know about security?
IPv6 includes several security features that are not available in IPv4. One of the key features is the use of IPsec (Internet Protocol Security), which provides end-to-end encryption and authentication for IPv6 packets. IPsec is used to secure communication between two endpoints, and it provides protection against…
References & sources
  1. Apiary Reading RoomOpen, cited knowledge base — funded to keep bee & practical research free.
From the Apiary Reading Room. Opinion & editorial — not financial advice. We don't overclaim.
More from the Reading Room