LOGBOOK

HELP

1 / 50
Other keys: showSpace: good1-4: rate0: skip5: flag

Question

What was the main motivation for designing IPv6 in the first place?

Answer

IPv4's 32-bit address space (~4.3 billion addresses) ran out, and IPv6's 128 bits make addresses effectively unlimited again.

IPv4 is over 40 years old and was designed for a handful of research computers — not billions of smartphones, IoT devices, and servers.

The core driver — address exhaustion:

  • IPv4 = 32 bits = 4,294,967,296 addresses (already fewer than humans on Earth)
  • The IANA central pool of free IPv4 blocks was exhausted in 2011; the regional registries followed soon after
  • Stop-gaps like NAT (sharing one public IP among many private hosts) kept IPv4 alive but broke the "every device is directly reachable" end-to-end model

IPv6's answer — 128 bits:

  • 2¹²⁸ ≈ 340 undecillion (340 × 10³⁶) addresses
  • Enough to give every grain of sand on Earth its own address many times over — so NAT becomes unnecessary

Tip: Remember the jump as "32 → 128 bits" — that's 4× the bits, but because it's exponential, it's an astronomically larger space, not 4× larger.

Go deeper:

or press any other key

Question

What are the key improvements IPv6 offers over IPv4?

Answer

Bigger address space (no NAT), stateless autoconfiguration, a simpler fixed header, no in-transit fragmentation, built-in IPsec, and QoS support via flow labels.

The six headline improvements:

# Improvement Why it matters
1 Stateless address autoconfiguration (SLAAC) Hosts self-configure without a DHCP server
2 128-bit addresses, NAT eliminated Restores true end-to-end addressing
3 Simplified header Less per-packet processing on routers
4 No fragmentation by routers Routing is more efficient; only the source fragments
5 Built-in IPsec Security designed into the protocol (extension headers)
6 Built-in QoS Flow labels let routers prioritise delay-sensitive traffic

Tip: In practice the killer feature is simply the address space — most of the others (IPsec, QoS) also exist as bolt-ons in IPv4, but you can't bolt on more addresses.

Go deeper:

or press any other key