You don't have javascript enabled. Please enable javascript to use this website.

What Is IPv6?

IPv6 (Internet Protocol version 6) is the 128-bit network layer protocol that identifies and routes data between devices on the internet by assigning each interface a unique, globally routable address. Defined by RFC 2460 in December 1998 and updated by RFC 8200 in 2017, IPv6 expands the address space from IPv4's 4.3 billion to 340 undecillion (3.4 × 1038) unique addresses. Each IPv6 address consists of eight groups of four hexadecimal digits separated by colons — for example, 2001:db8::1. As of March 28, 2026, IPv6 carries more than 50% of global traffic to Google's services — the first time this threshold has been crossed in the protocol's history.

What Is an IPv6 Address?

IPv6 (Internet Protocol version 6) is the current version of the Internet Protocol, specified by the IETF in RFC 2460 (December 1998) and superseded by RFC 8200 (July 2017). IPv6 operates at the network layer (Layer 3 of the OSI model), assigning each network interface a globally unique 128-bit address used for packet routing across interconnected networks.

IPv4, the predecessor defined by RFC 791 (1981), uses 32-bit addresses and supports approximately 4.3 billion unique addresses — a pool that IANA fully allocated at the top level in February 2011. IPv6 addresses this exhaustion by expanding the address space to 128 bits, yielding 2128 = 340 undecillion unique addresses. That is enough to assign more than 500 quadrillion addresses to every square millimetre of Earth's surface.

Adoption has accelerated steadily. On March 28, 2026, IPv6 traffic to Google's services exceeded 50% (50.10%) globally for the first time, per data published by Internet Society Pulse — 18 years after Google began tracking this metric. Countries leading native IPv6 deployment include France (73%), India (72%), and Saudi Arabia (65%). Countries below 20% include Italy (17%), Spain (10%), and Egypt (4%).

How IPv6 Addresses Are Written

An IPv6 address is 128 bits divided into eight 16-bit groups. Each group is represented as four hexadecimal digits, and groups are separated by colons. Full notation example:

Diagram of the IPv6 address 2001:0db8:85a3:0000:0000:8a2e:0370:7334 as eight 16-bit groups: 64-bit network prefix and 64-bit interface ID
Eight groups of four hex digits: 16 bits each, 128 bits in total.
2001:0db8:85a3:0000:0000:8a2e:0370:7334

Each hexadecimal digit represents 4 bits. Four hex digits represent 16 bits. Eight such groups yield 8 × 16 = 128 bits. Because addresses in full notation are long and prone to transcription errors, RFC 5952 defines two compression rules that produce a shorter, valid representation.

IPv6 Compression Rules (RFC 5952)

Rule 1 — Omit leading zeros within each group. Leading zeros in any group may be removed. Each group must retain at least one digit. For example, 0db8 becomes db8, and 0001 becomes 1.

Rule 2 — Replace the longest consecutive run of all-zero groups with ::. The double-colon may appear at most once per address. If two separate runs of zeros are equal in length, the leftmost run is compressed. A single all-zero group may also be replaced.

Applying both rules to the example from Section 2:

Diagram of IPv6 compression: 2001:0db8:85a3:0000:0000:8a2e:0370:7334 becomes 2001:db8:85a3::8a2e:370:7334 after removing leading zeros and replacing the zero run with ::
Rule 1 drops leading zeros, rule 2 replaces the longest run of zero groups with “::”.
2001:0db8:85a3:0000:0000:8a2e:0370:7334
→ 2001:db8:85a3::8a2e:370:7334
Full Address Compressed Rules Applied
2001:0db8:0000:0000:0000:0000:0000:0001 2001:db8::1 Leading zeros + consecutive zero block
fe80:0000:0000:0000:0202:b3ff:fe1e:8329 fe80::202:b3ff:fe1e:8329 Leading zeros + consecutive zero block
0000:0000:0000:0000:0000:0000:0000:0001 ::1 Loopback — all groups zero except the last
2001:0db8:0000:0001:0000:0000:0000:0001 2001:db8:0:1::1 Longest zero block (rightmost, 3 groups) compressed

Use the IPv6 Address Compressor to shorten any full-form IPv6 address, or the IPv6 Address Expander to restore the complete eight-group notation.

Types of IPv6 Addresses

RFC 4291 (IP Version 6 Addressing Architecture, February 2006) defines three address categories: unicast, anycast, and multicast. Specific prefixes distinguish several subtypes with different routing scopes and purposes.

Address Type Prefix Scope Purpose
Global Unicast 2000::/3 Internet-routable Public internet addresses; assigned by ISPs and regional registries (RIRs)
Link-Local fe80::/10 Same link only Auto-assigned to every IPv6-enabled interface; cannot traverse a router
Loopback ::1/128 Local host only Self-reference and testing; equivalent to IPv4's 127.0.0.1 (RFC 4291)
Unique Local fc00::/7 Private network Non-routable private addresses; IPv6 equivalent of RFC 1918 ranges
Multicast ff00::/8 Group of interfaces One-to-many packet delivery; replaces IPv4 broadcast entirely
Anycast No fixed prefix Nearest matching node Same address on multiple servers; used in DNS root servers and CDN infrastructure

The RFC 1918 private address ranges (10.x.x.x, 172.16–31.x.x, 192.168.x.x), NAT mechanics, and CGNAT (RFC 6598) are covered in detail on the Public IP vs Private IP guide.


IPv6 vs IPv4: Key Differences

The table below compares IPv4 and IPv6 across nine dimensions. It is self-contained and designed to be read without additional context.

Feature IPv4 IPv6
Address Length 32 bits 128 bits
Format Dotted-decimal (e.g. 192.168.1.1) Colon-hexadecimal (e.g. 2001:db8::1)
Total Addresses ~4.3 billion (232) 340 undecillion (2128)
Header Size 20–60 bytes (variable) Fixed 40 bytes
Address Configuration Manual or DHCP Manual, DHCPv6, or SLAAC (RFC 4862)
NAT Required Yes — most networks share one public IP No — every device receives a unique public address
IPsec Support Optional Built-in, mandatory (RFC 4301)
Broadcast Supported Eliminated — replaced by multicast
Specification RFC 791 (1981) RFC 2460 (1998) / RFC 8200 (2017)

How IPv6 Works: SLAAC, DHCPv6, and Dual-Stack

SLAAC — Stateless Address Autoconfiguration (RFC 4862)

SLAAC allows a device to configure its own global unicast IPv6 address without a DHCP server. When a device joins a network, it sends a Router Solicitation to the all-routers multicast address (ff02::2). The router responds with a Router Advertisement containing the network prefix — typically a /64. The device appends a 64-bit interface identifier to the advertised prefix to form its full 128-bit address.

The interface identifier is derived from the device's MAC address using the EUI-64 process, or generated randomly per RFC 7217 to prevent cross-network device tracking. Because no server maintains a lease table, the process is called "stateless" — each device configures itself independently.

DHCPv6 (RFC 8415)

DHCPv6 provides an alternative or complement to SLAAC. In stateful DHCPv6, a server assigns specific IPv6 addresses and tracks active leases, directly equivalent to IPv4 DHCP. In stateless DHCPv6, SLAAC handles address assignment while DHCPv6 provides additional configuration such as DNS server addresses. Whether a network uses SLAAC, DHCPv6, or both is communicated to devices via flags carried in the Router Advertisement message.

Dual-Stack Deployment

Most networks in 2026 operate in dual-stack mode: each device holds both an IPv4 address and an IPv6 address simultaneously. Modern operating systems support this by default — Windows 10 and later, macOS 10.7 and later, Linux kernel 2.6 and later, iOS, and Android all prefer IPv6 when both endpoints support it, falling back to IPv4 transparently.

On March 28, 2026, Google recorded that IPv6 carried 50.10% of global traffic to its services — the first time native IPv6 exceeded 50% in the 18 years since Google began tracking this metric (Internet Society Pulse, April 2026). Leading countries: France (73%), India (72%), Saudi Arabia (65%).

Where native dual-stack is not yet available, transition mechanisms such as 6to4 (RFC 3056) and DS-Lite (RFC 6333) allow IPv6 traffic to traverse IPv4 infrastructure through tunneling, enabling incremental deployment.


How to Find Your IPv6 Address

Check your device's network settings or run a terminal command to retrieve your IPv6 address in seconds.

1

Open a command prompt or terminal

On Windows, open Command Prompt or PowerShell. On macOS or Linux, open Terminal.
2

Run the network address command

Type ipconfig on Windows, run ifconfig | grep inet6 on macOS, or run ip -6 addr show on Linux, then press Enter.
3

Identify your IPv6 address

Look for an address starting with 2001: — this is your global unicast IPv6 address, publicly internet-routable. An address starting with fe80:: is a link-local address valid only on your local network segment.
4

Verify IPv6 connectivity for a domain

Use the WhatIsMyIPNow Website IPv6 Test to confirm whether a domain or server you administer supports IPv6 from an external vantage point.

Frequently Asked Questions

What is an IPv6 address?
An IPv6 address is a 128-bit identifier assigned to a network interface, written as eight groups of four hexadecimal digits separated by colons — for example, 2001:0db8:85a3::8a2e:0370:7334. Standardized under RFC 2460 (December 1998) and updated by RFC 8200 (July 2017), IPv6 provides 340 undecillion unique addresses, replacing the exhausted 32-bit IPv4 address space.
What is the difference between IPv4 and IPv6?
IPv4 uses 32-bit dotted-decimal addresses (e.g. 192.168.1.1) and supports approximately 4.3 billion unique addresses (RFC 791, 1981). IPv6 uses 128-bit colon-hexadecimal addresses and supports 340 undecillion unique addresses (RFC 2460, 1998). IPv6 also eliminates broadcast, mandates IPsec support per RFC 4301, uses a fixed 40-byte header instead of IPv4's variable 20–60 bytes, and supports SLAAC (RFC 4862) for automatic address configuration without a DHCP server.
Is IPv6 faster than IPv4?
IPv6 does not guarantee a faster connection, but it improves routing efficiency. The fixed 40-byte IPv6 header removes the per-hop checksum recalculation required by IPv4 routers, reducing processing overhead at every hop. IPv6 also supports flow labeling for Quality of Service prioritization. In practice, connection speed depends primarily on the network path and ISP infrastructure rather than the protocol version itself.
Why does my device show both an IPv4 and an IPv6 address?
This is dual-stack operation. Modern operating systems — Windows 10 and later, macOS 10.7 and later, Linux kernel 2.6 and later, iOS, and Android — run IPv4 and IPv6 simultaneously. When your ISP provides IPv6 connectivity, your device receives both a public IPv6 address and an IPv4 address. Traffic uses IPv6 when both endpoints support it, and falls back to IPv4 automatically otherwise.
What is SLAAC and how does IPv6 address assignment work?
SLAAC (Stateless Address Autoconfiguration), defined in RFC 4862, allows a device to configure its own IPv6 address without a DHCP server. The device listens for router advertisements containing the network prefix, then appends a 64-bit interface identifier — derived from its MAC address via the EUI-64 process, or generated randomly per RFC 7217 to protect privacy — to form its complete 128-bit global unicast address.
What is the difference between a global unicast and a link-local IPv6 address?
A global unicast address (prefix 2000::/3) is publicly internet-routable and assigned by your ISP — the equivalent of a public IPv4 address. A link-local address (prefix fe80::/10) is automatically assigned by the operating system to every IPv6-enabled interface and is only valid within the same network segment; it cannot traverse a router. Both types coexist simultaneously on the same network interface and serve different purposes.
How do I find my IPv6 address?
On Windows, open Command Prompt and run ipconfig — your IPv6 address appears under each adapter listed. On macOS, run ifconfig | grep inet6 in Terminal. On Linux, run ip -6 addr show. You can also use the WhatIsMyIPNow Website IPv6 Test, which shows whether your current connection uses IPv6 and displays your active global unicast IPv6 address.
Does WhatIsMyIPNow store or log the IPv6 addresses I look up?
No. WhatIsMyIPNow does not store or log the IPv6 addresses you enter or that are detected during your session. All queries are processed in real time and no personally identifiable information is retained after your session ends.

Put this guide into practice

Related Tools

IPv6 Subnet Calculator
Calculate the network prefix, usable host range, and address count for any IPv6 address and CIDR block.
Compress an IPv6 Address
Convert a full-form IPv6 address to its shortest valid notation per RFC 5952 compression rules.
Website IPv6 Test
Verify whether a domain or web server supports IPv6 connectivity from an external vantage point.
Expand an IPv6 Address
Restore a compressed IPv6 address to its full eight-group representation for configuration or analysis use.

Related Guides

Guide What Is an IP Address?
The master guide covering IP addressing fundamentals, packet routing mechanics, and what an IP address reveals about a device's location and ISP.
Guide What Is IPv4?
Deep dive into 32-bit addressing, dotted-decimal notation, address classes A through E, CIDR notation, and the exhaustion that made IPv6 necessary.
Guide Public IP vs Private IP
Covers the full RFC 1918 private address ranges, NAT mechanics, and CGNAT (RFC 6598) — the IPv4 equivalent of IPv6 unique local addresses.