How it works · 5 of 36 Foundation

What is the difference between IPv4 and IPv6?

Why the world ran out of addresses

IPv4 vs IPv6: IPv4 addresses are 32-bit numbers, about 4.3 billion in all; the world has more devices than that. IPv6 uses 128-bit numbers, enough for every device many times over, and the two run side by side.

Loading the animation…

Say it like this IPv4 has about 4.3 billion addresses and the world ran out; IPv6 has enough for every device many times over, and today most phones use both.

Under the hood — for builders
Real case: the day the pool ran dry
On 31 January 2011 IANA handed its last two spare IPv4 blocks to APNIC, the Asia-Pacific registry. Three days later the global free pool was declared empty:
How much bigger IPv6 is
Each extra bit doubles the count. 32 bits against 128 bits is the difference between a 10-digit number and a 39-digit one:
India's switch
Share of users in India whose connection can use IPv6, measured on 1 January each year:
How they look
IPv4: four numbers, 192.0.2.53. IPv6: eight groups of hex digits, shortened with "::", as in 2001:db8:582:ae33::29.
Dual stack
A phone or server with both an IPv4 and an IPv6 address. It uses IPv6 when the other side can.
Measure it
Windows: ipconfig lists "IPv6 Address" lines as well as "IPv4 Address". On mobile data, look for an address with colons.
Watch out
Firewall rules written only for IPv4 leave IPv6 traffic unchecked. Write every rule for both.
Sources
IANA, Number Resources. NRO press release, 3 Feb 2011. APNIC Labs IPv6 measurement, India (IN). Read 28 Nov 2026.

What happens in the IPv4 vs IPv6 animation, step by step?

  1. An IPv4 address is a 32-bit number, so there are about 4.3 billion of them. IPv4 switched on in 1983, when that looked like plenty.
  2. Your turn: drag the years. Watch the pool of free IPv4 addresses, and the share of Indian users on IPv6.
  3. On 3 February 2011 the central pool of IPv4 addresses ran out. Phones, laptops and servers kept arriving.
  4. IPv6 uses 128-bit numbers: about 340 undecillion addresses, a 39-digit number. The tank doesn't fit on the screen.
  5. Indian networks moved early. In November 2026, about 78 in every 100 users in India could use IPv6.
  6. IPv6 exists because the world ran out of IPv4 addresses, and most phones now carry one of each. Next: why does your phone show 192.168.x.x?

What everyday example explains IPv4 vs IPv6?

A city that gave out every 4-digit house number and had to switch to 12-digit ones; old letters still arrive while the new numbers spread.

Why should a team care about IPv4 vs IPv6?

Explains the odd-looking addresses in logs and settings, and why firewall rules, allow-lists and logs must handle both kinds.