Kahibaro
Discord Login Register

8 IPv6

Introduction

IPv6 is the newer version of the Internet Protocol designed to replace IPv4. It solves the address exhaustion problem of IPv4 and introduces improvements in routing, configuration, and security. In this chapter you will get an overall picture of IPv6 as a technology, why it exists, what makes it different, and how it changes the way networks are built. Details that belong to later child sections such as exact address formats, header structure, or specific mechanisms like SLAAC will be introduced only at a high level here and then explored more deeply in their own chapters.

Why IPv6 Exists

IPv4 has a limit of roughly 4.3 billion unique addresses. When IPv4 was designed, this seemed more than enough. With the growth of the internet, mobile devices, home networks, cloud services, and the Internet of Things, that pool became too small. Workarounds such as private addressing and NAT delayed the problem, but they did not truly solve it.

IPv6 was created to provide a vastly larger address space so that every device can have its own globally unique IP address. It also aimed to simplify some aspects of network configuration, improve routing efficiency, and make certain security features easier to use across the internet.

The crucial point is that IPv6 is not just a bigger IPv4. It is a separate protocol with its own rules, address style, and packet structure. IPv4 and IPv6 run side by side on the global internet and devices frequently support both.

Key Properties of IPv6

IPv6 uses 128 bit addresses instead of 32 bit addresses. That is the single most important difference and it drives almost everything else. A 128 bit address space is so large that in practical terms it is considered inexhaustible.

IPv6 address size: $128$ bits
IPv4 address size: $32$ bits

With this much space, IPv6 addressing strategies can be far more generous. Networks can give large address blocks to each customer or subnet, avoid complex address conservation tricks, and design simpler routing policies.

Another important property is that IPv6 was designed with extensibility in mind. The basic header is simpler, and optional information is carried in separate extension headers. This approach makes it easier for the protocol to evolve without breaking existing devices.

Coexistence with IPv4

IPv6 does not directly replace IPv4 in the sense of turning it off everywhere. Instead, most modern networks and hosts run in a dual stack mode, which means they support both IPv4 and IPv6 at the same time. A device can have an IPv4 address and one or more IPv6 addresses and can talk over either protocol depending on what the other side supports.

Because IPv4 and IPv6 are not directly compatible, packets from one protocol are not simply understood by the other. Networks use different strategies, such as dual stack, tunneling, and translation techniques, to allow communication across mixed environments. Dual stack is usually preferred because it keeps each protocol native on the wire where possible, which simplifies troubleshooting and preserves performance.

In practice, you will often see that public internet services and large content providers enable IPv6 in addition to IPv4, then gradually shift more traffic to IPv6 as adoption grows.

High Level Benefits of IPv6

The most visible benefit of IPv6 is the enormous address pool. This is what allows end to end addressing to return, where every device can in principle be directly reachable over the internet. Even if security policies limit that reachability, not having to share a single public IPv4 address through NAT removes a whole set of complications.

IPv6 makes automatic addressing a core feature. Hosts can typically configure their addresses and default gateways with very little manual input. This can be done in several ways, which you will explore later, but the idea is that networks with IPv6 can be easier to deploy and renumber.

Routing is also improved in IPv6. The addressing architecture encourages hierarchical allocation, so that large blocks can be summarized more cleanly. This can reduce the size and complexity of global routing tables and make routing decisions more efficient.

Security was also considered more deeply during the design of IPv6. While security is still a broader system problem, IPv6 was built with support for end to end IPsec at the protocol level and eliminated some ambiguous behaviors found in IPv4.

High Level Differences from IPv4

At a conceptual level, IPv6 and IPv4 both provide the same core function. They both deliver packets from a source address to a destination address across multiple networks, using routing to choose the path. However, IPv6 deliberately changes several aspects of how this is done.

Address notation looks completely different in IPv6. Instead of dotted decimal numbers like 192.0.2.1, IPv6 uses groups of hexadecimal digits separated by colons. The format is longer, but also has rules that allow you to shorten it for readability. These details are covered in the IPv6 address format section, but it is useful to recognize immediately that IPv6 addresses will look unfamiliar at first.

The header layout in IPv6 has been simplified compared to IPv4. Some fields from IPv4 were removed, and some features such as fragmentation are handled differently. IPv6 routers do not perform fragmentation. The responsibility to ensure that packet sizes fit the network path lies primarily with the sender and with path MTU discovery. The exact header layout and how fragmentation works are topics for the IPv6 header chapter and the MTU and fragmentation chapter, but it is important at this stage to know that the behavior is intentionally different.

In IPv6, broadcast is removed. IPv4 used broadcast to send a packet to all hosts on a network. IPv6 replaces broadcast with more specific mechanisms such as multicast and special address types so that traffic can be directed at groups of interested hosts instead of every device on the link.

There are also some changes to how addresses are categorized and used. The IPv6 address space is structured with built in notions of global unicast, link local, and special roles like multicast or unique local addresses. This structure supports better separation between different types of communication and makes it easier for routers to recognize what kind of traffic they are handling.

Transition and Deployment

The move to IPv6 is a long running process. Large backbone providers and major content platforms already use IPv6 widely, while smaller networks may still be largely IPv4. Because of this uneven deployment, understanding both protocols is valuable, and you will see networks using a variety of transition techniques.

Common patterns are to provide IPv6 connectivity alongside IPv4, then slowly shift preference to IPv6 where available. Some mobile networks are already heavily IPv6 oriented, often using translation techniques for connectivity to legacy IPv4 services.

In enterprise environments, adoption can be slower, because IPv4 based systems still function and reconfiguring everything for IPv6 can take planning and testing. However, new applications, devices, and services are increasingly built with IPv6 support as a standard expectation.

How This Chapter Connects to Later Topics

In the remaining IPv6 chapters, you will explore the structure and notation of IPv6 addresses in detail, including how they are written, shortened, and categorized into different types. You will examine the IPv6 header and see exactly how packets carry information through a network, and how that differs from IPv4 headers.

You will learn how stateless address autoconfiguration works and how devices discover neighbors, routers, and network parameters without manual configuration. Finally, you will compare IPv4 and IPv6 side by side to understand practical trade offs and how network design choices shift when you use IPv6.

For now, you should take away that IPv6 is the modern Internet Protocol version that expands address capacity dramatically, makes configuration and routing more scalable, and coexists with IPv4 while the global transition continues.

Views: 48

Comments

Please login to add a comment.

Don't have an account? Register now!