TodayTools

Compare protocols

IPv4 vs IPv6: addresses, headers and what really changes

Donate
What brings you here?

The difference at a glance

IPv4

Internet Protocol version 4

Best for: Older devices and simple home setups

Short addresses run out, so a home shares one public address through NAT.
  1. From 192.168.1.10, from 192.168.1.10
  2. Reply via NAT, from Internet

IPv6

Internet Protocol version 6

Best for: New, mobile and cloud networks

So many addresses that every device can have its own.
  1. From 2001:db8::10, from 2001:db8::10
  2. Straight reply, from Internet

The short answer

IPv4 addresses are 32 bits long, written like 192.0.2.10, which allows about 4.3 billion addresses. IPv6 addresses are 128 bits, written like 2001:db8::10, enough for every device many times over. IPv4 ran out, so homes share one public address through NAT. IPv6 lets each device have its own public address and uses a simpler, fixed-size header.

Which one fits you?

Tick everything that is true for you.

What do you need?

Your pick shows here

Tick one or more lines and we weigh them for you.

IPv4 and IPv6 side by side

IPv4 vs IPv6: differences row by row
What differsIPv4IPv6
Address size32 bits128 bits
Number of addressesAbout 4.3 billionAbout 340 undecillion (3.4 x 10^38)
Written asFour numbers: 192.0.2.10Eight hex groups: 2001:db8::10
Header20 to 60 bytes, with a checksumFixed 40 bytes, no checksum
Finding a neighbour's MACARPNeighbor Discovery (ICMPv6)
Getting an addressDHCP or set by handSLAAC (self-made from the router's prefix) or DHCPv6
BroadcastYesNo, multicast instead
Fragmenting big packetsSender or any routerOnly the sender
NAT at homeAlmost alwaysNot needed

Watch each one work

Each page plays the real packets on a map, step by step, with every header explained.

Test yourself

Each line describes one of the two. Which one?

Question 1 of 9

Address size

32 bits

Questions people ask

Is IPv6 faster than IPv4?

Not by design. Sometimes it is a little faster because there is no NAT on the path and some networks route it better, and sometimes slower. For most people the difference is too small to notice.

Can IPv4 and IPv6 talk to each other directly?

No. They are separate protocols. Most devices run both at once (dual stack), and networks use translation such as NAT64 when one side has only IPv6.

Why is there no IPv5?

Version number 5 was used by an experimental streaming protocol in the 1980s and 1990s, so the next Internet Protocol took number 6.

Do I still need a firewall with IPv6?

Yes. Without NAT, every device can have a public address, so the router's firewall must block unasked-for incoming traffic. Home routers do this by default.

More comparisons

Donate