IPv4 vs IPv6

Knowledge Videos

Short animated explainers, organised by subject.

IPv4 vs IPv6

What IPv4 and IPv6 have in common and how they differ: address size, notation, address count, NAT and headers.

Transcript

Every device on the internet needs an address. I P version four and I P version six are two versions of the same idea.

They are alike in many ways. Both identify devices, and both let routers send packets to the right place.

Both split an address into a network part and a host part, and both can run side by side on one network, called dual stack.

An I P v four address has thirty two bits, written as four numbers from zero to two hundred fifty five, separated by dots.

An I P v six address has one hundred twenty eight bits, written as eight groups of hexadecimal, separated by colons.

Leading zeros can be dropped, and one long run of zero groups can be shortened to a double colon.

Thirty two bits gives about four point three billion addresses, and those have mostly run out.

One hundred twenty eight bits gives three point four times ten to the thirty eight, enough for every device many times over.

Because I P v four addresses are scarce, many devices share one public address through N A T.

With I P v six, every device can have its own address, and the fixed size header is simpler for routers to process.

Same job, different scale. I P v six is the long term replacement, and the two will coexist for years.

Same job, far more addresses.