Skip to content
uencoder

IPv6

IPv6 is the 128-bit network addressing protocol, written in colon-separated hexadecimal (e.g., 2001:db8::1), offering about 3.4×10^38 addresses to solve IPv4 exhaustion.

Purpose

It provides ample address space for IoT and mobile devices while improving on IPv4's security and efficiency.

Mechanism

The 128 bits appear as eight 16-bit hexadecimal groups; a run of zero groups can be compressed to :: (once only). It supports SLAAC stateless autoconfiguration, link-local (fe80::/10), and unique-local (fd00::/8) addresses. The header is simplified, with extension headers chained after it.

Use cases

  • Modern cloud and mobile networks
  • Addressing massive IoT fleets
  • IPv4 replacement deployments
  • Dual-stack and tunneling

Examples

  • Input
    2001:db8:85a3::8a2e:370:7334
    Output
    A public IPv6 address

    :: compressing zeros

Common errors

IPv6 and IPv4 are not interoperable without dual-stack or NAT64
Deploy dual-stack or DNS64+NAT64

Related terms

Related tools

References