• A_A@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    7
    ·
    1 day ago

    nb. of iPv4 = 2^(4*8) = 2^24
    nb. they have = 2^14 , so ~16 millions.
    fraction they have = (2^14 / 2^24)
    this is ~1/1 000. Stupid but boring.

    • qjkxbmwvz@startrek.website
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      1 day ago

      4*8 = 24

      TIL ;)

      Each /8 is 1/256th of all IPv4 addresses, not counting reserved/illegal addresses. Not sure where 1/1000 is coming from…

      • A_A@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        1 day ago

        2^10 = 1024 is the soure for ~1/1000.
        Also, correcting my stupid mistakes :

        nb. of iPv4 = 2^(4*8) = 2^32
        nb. they have = 2^24 , so ~16 millions.
        fraction they have = (2^24 / 2^32)

        this is ~1/256. Stupid, but …
        … less boring than ~1/1024.