What is the percentage difference between the number of possible addresses with Ipv4 and Ipv6?

Asked

Viewed 2,246 times

0

What is the difference in percentage numbers of the ip possibilities of the IPv4 and of IPv6?

3 answers

11


As already mentioned, the IPV6 uses 128bit addresses and therefore has 2128 numbers of IP possible, ie:

340282366920938463463374607431768211456 possible combinations.

(340 undecilhões 282 decilhões 366 nonilhões 920 octillions 938 setillions 463 sextilhões 463 quintillions 374 quatrilhões 607 trillion 431 billion 768 million 211 thousand 456 )

As the IPV4 uses 32bit addresses and has 232 numbers of IP possible, which corresponds to:

4294967296 possible combinations

(4 billion 294 million 967 thousand 296)

I mean, it’s a very, very, very high number.

Whereas in the model IPV4 we have something similar to this:

192.168.0.1
4 groups up to 3 decimal digits.

Therefore, for each set of 3 digits we have:

28 * 28 * 28 * 28 = 232
for 28 = 256.
232 = 4294967296

In the IPV6 we have the IP in this way:

2001:0db8:85a3:08d3:1319:8a2e:0370:7344
Eight groups of 4 hexadecimal digits.

This difference in notation made possible a crease greater possibilities, which can be calculated in this way:

(216 * 216 * 216 * 216 * 216 * 216 * 216 * 216) = 2128
as the hexadecimal digits comprise 16 values from 0 to 9 and from A to F then, 2128 corresponds to 340282366920938463463374607431768211456 already mentioned.

With a simple rule of 3 we have to:

2128 = 100%
232 = x

2128x = 232

x = 232 / 2128

x = 1/79228162514264337593543950336
That is, the IPV6 is 79.228.162.514.264.337.593.543.950.336% greater than the IPV4
And the IPV4 possesses:

1.2621774483536188658765704452457967477130296174436807... 10-29% of the addresses of IPV6

Sources

  1. https://www.wolframalpha.cominput?i=%282^16++2 16++2 16++2 16++2 16++2 16++2 16+*+2 16%29
  2. https://www.wolframalpha.com/input/? i=%282 8++2 8++2 8+*+2 8%29
  3. https://www.wolframalpha.com/input/? i=%282 32%29+%2F+%282 128%29
  • This is the correct answer, my round 79.228...

8

Free translation of Wikipedia content in English:

Ipv6 uses 128-bit addresses, allowing 2128 or 3.4 1038 addresses, i.e., more than 7.9 1028 times more than Ipv4.

This means, as the comments posted below by @Vargas and @tsippert:

  • IPV6 is 79,000,000,000,000,000,000,000,000% greater than IPV4
  • Ipv4 has only 0.000000000000000000000012632257% of Ipv6 addresses
  • 1

    Whereas the values of @bfavaretto are correct then, IPV6 is 79,000,000,000,000,000,000,000,000,000% higher than IPV4.

  • @Vargas Boa, I didn’t have the patience to count zeros when typing :)

  • 1

    I updated the value, my previous calculation was wrong ;)

  • When I saw IPV4 and 0000...% Li IPVA

  • @Tony If the IPVA were so cheap it would be good.

3

IPV4 has 32 bits, IPV6 has 128 bits.

It is such an absurdly large value that it is possible to say that IPV4 = 0% of IPV6

Browser other questions tagged

You are not signed in. Login or sign up in order to post.