IPv6 addresses problem

IPv6 is proposed as an almost unlimited source of addresses to overcome the IPv4 address shortage some people have suggested. As IPv6 addresses are 128-bit long, 2^128 (aprox 3.4 x 10^38 ) addresses are possible. This should be large enough.

To put things into perspective consider the following problem: How many IPv6 addresses could you put into each squared centimeter of the planet? (Assume the Earth is a regular sphere of 40.000 Km of perimeter).

And a second part ... compare the above number of IPv6 addresses per square centimeter to the total address space of IPv4.

4 comments:

Anonymous said...

I think it´s around 6x10^20 IP Adresses per squared centimeter, more or less.

misan said...

I think José Manuel is quite close but you can do better. Don't forget the second question either.

Anybody else?

Remember you can do math with Google too as in the example

Anonymous said...

I think that i have already done a better aproximation.

The total Adresses per squared centimeter it´s around:
6.67220327 × 10^20 adresses

And in the second part:

(6.67220327 × (10^20)) / (2^32) = 1.55349338 × 10^11 times more (respect of total space of Ipv4)

Anyway, all these numbres are amazing!

misan said...

First question:
(3.1416 * (2^128)) / (4e9^2) = 6.68144427 × 10^19
Second one:
((3.14 * (2^128)) / (4e9^2)) / (2^32) = 1.55485269 × 10^10

or 15 billion times the IPv4 addressing space per each square centimeter of the planet surface, not bad isn't it?