IPv6 Addressing Overview

Why IPv6 Was Created

IPv4's 32-bit addresses allow for roughly 4.3 billion unique values - a number the internet has already effectively exhausted. IPv6 solves this with 128-bit addresses, providing an astronomically larger address space that won't run out in any realistic future.

What an IPv6 Address Looks Like

2001:0db8:0000:0000:0000:ff00:0042:8329

It's written as eight groups of four hexadecimal digits, separated by colons - a very different look from IPv4's dotted decimal format.

Two Rules for Writing It More Compactly

  • Leading zeros can be dropped within each group: 0db8 becomes db8.
  • One run of consecutive all-zero groups can be replaced with ::, but only once per address.
Full:        2001:0db8:0000:0000:0000:ff00:0042:8329
Shortened:   2001:db8::ff00:42:8329

IPv4 vs IPv6 at a Glance

IPv4IPv6
Address length32 bits128 bits
Total addresses~4.3 billionEffectively limitless for practical purposes
FormatDotted decimal (192.168.1.1)Hexadecimal groups (2001:db8::1)
NAT needed?Commonly, due to scarcityRarely - enough addresses for every device directly

Why Both Still Coexist Today

IPv6 adoption has grown steadily, but IPv4 remains deeply embedded in existing infrastructure. Most networks today run in a "dual-stack" mode, supporting both IPv4 and IPv6 simultaneously, during this long, gradual transition period.

Written by Lorens Mishra

Software Engineer Notes Management System Administrator

Discussion

0 comments
Sign in to join the discussion.

No comments yet. Be the first to say something.