So how many IPv4 addresses will be lost?

    I was hooked by question No. 13 "Do you know how many addresses [IPv4] are missing " from the topic Tricky network questions
    Not so much the question itself, how much the remark of the esteemed eucariot "Here we are wasteful." It became interesting, but how many percent of the address space disappears in the current conditions of IPv4 address deficit (about which almost all the media sounded a year ago and safely forgot) - 1%? Or 5%? Or maybe 10%?

    Firstly, it is not entirely clear what to understand by the term disappears ? Secondly, on which of the sources should one be guided in determining the lists of missing addresses, where to look for the truth?

    For simplicity, we assumemissing all addresses about which there is an explicit mention (for example, in the RFC), that for one reason or another they can not be used for assignment to the node. Losses on masks \ gates caused by the need to ensure the distribution of IP addresses to consumers and the routing between them will not be taken into account. Losses will be considered in% of the maximum possible number of unique addresses (4,294,967,296 = 2 ^ 32).

    According to RFC 5735 (which is mentioned by eucariot in the answer to question No. 13), it turned out that 588 514 561 (13.70%) addresses will be lost. The Reserved_IP_addresses wiki article already lists 592,708,616 (13.80%) addresses. Why don't the numbers match? And because RFC 5735 is deprecated, and the current RFC on the topic is 6890 . BasedRFC6890 on iana.org has the IANA IPv4 Special-Purpose Address Registry , which is fairly complete and up to date (Last Updated 2013-05-22), although not perfect (imho).

    In the new RFC6890, the network 100.64.0.0/10 (Shared Address Space) appears, and the subnet 192.0.0.0/24 (IETF Protocol Assignments) on 192.0.0.170/32 and 192.0.0.171/32 (NAT64 / DNS64 Discovery) is detailed, and also 192.0.0.0/29 (DS-Lite). But the network for multicast 224.0.0.0/4 from RFC5735 is not already in the lists. Total 324,273,411 (7.55%) missing addresses. And where did the range 224.0.0.0/4 go? Really handed out to the afflicted? No, the IANA IPv4 Address Space Registry in the Designation column honestly indicates Multicast. Therefore, we take into account the range 224.0.0.0/4 in the list of losses .
    As for the wiki, the 192.0.0.0/24 network is only mentioned by the 192.0.0.0/29 subnet, which gives an absolute error of 248 hosts, which, due to its meager size, is not reflected in the percentage ratio.

    Thus, if I haven’t made a mistake anywhere - today the total loss of IPv4 addresses is 13.8% of the maximum possible number of unique addresses, and there is an error on Wikipedia. Dear experts, please correct me if I am not right. Or Wikipedia.

    Along the way, a question arose for specialists - how is the shortage of IPv4 addresses, which was widely announced by the media last year? And how long will the range 240.0.0.0/4 remain in the RESERVED for Future use status (since September 1981 already)?

    PS: I’m not a networker, if it’s wrong - do not kick pliz much.

    Tables with calculations
    RFC5735 wikiiana.org
    0.0.0.0/8816 777 2160.0.0.0/8816 777 2160.0.0.0/8816 777 216
    10.0.0.0/8816 777 21610.0.0.0/8816 777 21610.0.0.0/8816 777 216
    100.64.0.0/10104 194 304100.64.0.0/10104 194 304
    127.0.0.0/8816 777 216127.0.0.0/8816 777 216127.0.0.0/8816 777 216
    169.254.0.0/161665,536169.254.0.0/161665,536169.254.0.0/161665,536
    172.16.0.0/12121,048,576172.16.0.0/12121,048,576172.16.0.0/12121,048,576
    192.0.0.0/24>24256192.0.0.0/2929th8192.0.0.0/2424256
    192.0.0.0/2929th
    192.0.0.170/3232
    192.0.0.171/3232
    192.0.2.0/2424256192.0.2.0/2424256192.0.2.0/2424256
    192.88.99.0/2424256192.88.99.0/2424256192.88.99.0/2424256
    192.168.0.0/161665,536192.168.0.0/161665,536192.168.0.0/161665,536
    198.18.0.0/15fifteen131 072198.18.0.0/15fifteen131 072198.18.0.0/15fifteen131 072
    198.51.100.0/2424256198.51.100.0/2424256198.51.100.0/2424256
    203.0.113.0/2424256203.0.113.0/2424256203.0.113.0/2424256
    224.0.0.0/44268 435 456224.0.0.0/44268 435 456224.0.0.0/44268 435 456
    240.0.0.0/44268 435 456240.0.0.0/44268 435 456240.0.0.0/44268 435 456
    255.255.255.255/32321255.255.255.255/32321255.255.255.255/32321
    TOTAL588 514 561TOTAL592 708 617TOTAL592,708,865
    total IPv4 addresses4,294,967,296total IPv4 addresses4,294,967,296total IPv4 addresses4,294,967,296
    % loss13.7024224% loss13,80007288% loss13,80007865

    Content

    Also popular now: