Networking & Routing

What is IPv6?

Definition

IPv6 is the most recent version of the Internet Protocol, using 128-bit addresses to provide an effectively unlimited number of unique identifiers for networked devices.

IPv6 (Internet Protocol version 6) is a network-layer protocol standardized in RFC 2460 (1998) that replaces IPv4. Its primary innovation is a 128-bit address field, yielding approximately 3.4*10^38 possible addresses. This solves the IPv4 address exhaustion problem, which became critical in the early 2010s. IPv6 addresses are typically written as eight groups of four hexadecimal digits separated by colons (e.g., 2001:0db8::1). The protocol eliminates the need for Network Address Translation (NAT) in most scenarios, restoring end-to-end connectivity as originally intended for the Internet.

IPv6 integrates several features that were optional or retrofitted in IPv4. These include mandatory IPsec support (though not always enforced), simplified header format with fixed 40-byte base, and built-in multicast and anycast capabilities. Stateless address autoconfiguration (SLAAC) allows devices to generate their own global addresses without a DHCP server, using router advertisements. The neighbor discovery protocol (NDP) replaces ARP, handling address resolution and router discovery more efficiently.

IPv6 does not interoperate directly with IPv4; traffic crossing between the two stacks requires translation gateways or dual-stack implementations, where nodes run both protocols simultaneously. Adoption has been gradual: as of 2023, Google reports that roughly 40% of its users reach the search engine over IPv6. Major mobile networks and cloud providers have largely completed deployments. Enterprise and residential ISPs in many regions still operate primarily in dual-stack mode, with native IPv6 becoming more common as legacy equipment is retired.

Key facts

  • Uses 128-bit addresses, written as eight 16-bit hex groups separated by colons.
  • Defined in RFC 2460, with later updates in RFC 8200.
  • Eliminates the need for NAT in most network designs.
  • Supports stateless address autoconfiguration (SLAAC) via router advertisements.
  • IPsec support is built into the protocol specification, though not mandatory for all deployments.

How it works in practice

A home ISP provides a /56 prefix to a residential router. The router can assign global unicast addresses to every device on the LAN (phones, laptops, smart TVs) without NAT. Each device uses SLAAC to combine the prefix with its interface identifier. A laptop with address 2001:db8:1a2b:3c4d::10 can receive incoming connections directly from any IPv6 host on the internet, enabling peer-to-peer applications without port forwarding.

Related terms

IPv4 ICMPv6 Neighbor Discovery Protocol SLAAC Dual-Stack NAT64 IPsec

References

More in Networking & Routing

Anycast

Anycast is a network addressing and routing method where a single IP address is assigned to multiple servers, and routers send traffic to the nearest server based on routing protocol metrics.

AS Path

A BGP path attribute that lists the sequence of autonomous system numbers a route has passed through, used for loop detection and path selection.

ASN

A globally unique 16 or 32 bit number assigned to an autonomous system for use in BGP routing between organizations on the Internet.

Autonomous System

An Autonomous System (AS) is a group of IP networks under a single administrative routing policy, identified by a unique ASN (Autonomous System Number) for exterior gateway routing.

BGP

BGP (Border Gateway Protocol) is the path vector routing protocol that networks use to exchange reachability information between autonomous systems on the public internet.

CIDR

CIDR (Classless Inter-Domain Routing) is a method for allocating IP addresses and routing packets using variable-length subnet masks (e.g., /24) instead of fixed classful boundaries.

Hop

A hop is one passage of a packet through a router or other layer-3 forwarding device as it travels from source to destination across an internetwork.

IPv4

IPv4 is the core Internet Protocol using 32-bit addresses, providing roughly 4.3 billion unique identifiers for network interfaces on the global internet.

Latency

Latency (or round-trip time, RTT) is the time required for a packet to travel from a source to a destination and back, measured in milliseconds, and is a critical metric in network performance.

Looking Glass

A looking glass is a public web-based tool that provides read-only access to a network's BGP routing table, ping, and traceroute diagnostics from that network's perspective.

Who Is Online

In total there are 79 users online: 0 registered, 74 guests and 5 bots.

Bots: Facebook Majestic Other Bot Other Spider SemrushBot

Users active in the past 15 minutes. Total registered members: 340