IPv6 Explained

The Future of Internet Addressing

The primary driver for IPv6 was the exhaustion of IPv4 addresses. IPv4 uses 32-bit addresses, allowing for about 4.3 billion unique addresses. In the early days of the Internet, this seemed like plenty. However, with the explosion of mobile devices, IoT, and always-on servers, we ran out.

IPv6 uses 128-bit addresses, which allows for approximately 340 undecillion ($3.4 \times 10^{38}$) addresses. This is enough to assign a unique address to every atom on the surface of the Earth and still have plenty left over.

Addressing Format

IPv6 addresses are written in **hexadecimal** and separated by colons. Example: `2001:0db8:85a3:0000:0000:8a2e:0370:7334`

Sorthand Rules:

  1. Omit Leading Zeros: 0db8 becomes db8.
  2. Double Colon (::): A single sequence of groups containing only zeros can be replaced by ::. This can only be done once per address to avoid ambiguity.
    • Refined Example: 2001:db8:85a3::8a2e:370:7334

Key Features of IPv6

Coexistence with IPv4

Since we can't switch the whole world to IPv6 overnight, several mechanisms allow them to coexist:

Webmentions

If you liked this article and think others should read it, please share it.

👍 0 🔁 0 💬 0