I have to write a report for an OU assignment that covers a bit about IPv4, IPv6 and any issues with the move over from one to the other. What i would like to include in my report is the number of IPs usable that are not reserved.
What i need help with is just confirmation that i am calculating the number of reserved addresses correctly. wikipedia lists the reserved addresses and the way im currently working out the number of reserved ip from the addresses listed like 0.0.0.0/8 10.0.0.0/8 14.0.0.0/8 127.0.0.0/8 etc... is 2^h where h is the host bits, so for instance there are 4 reserved IPs that use the /8 subnet, so i would do 2^24 + 2^24 + 2^24 + 2^24, then for the /16's i would add 2^16 etc...
Is the the correct way of calculating the total number of reserved IP addresses?
Also, out of the non-reserved pool of IPs, is there any way i can find out how many of the IPs are usable and how many are network/broadcast IPs?
What i need help with is just confirmation that i am calculating the number of reserved addresses correctly. wikipedia lists the reserved addresses and the way im currently working out the number of reserved ip from the addresses listed like 0.0.0.0/8 10.0.0.0/8 14.0.0.0/8 127.0.0.0/8 etc... is 2^h where h is the host bits, so for instance there are 4 reserved IPs that use the /8 subnet, so i would do 2^24 + 2^24 + 2^24 + 2^24, then for the /16's i would add 2^16 etc...
Is the the correct way of calculating the total number of reserved IP addresses?
Also, out of the non-reserved pool of IPs, is there any way i can find out how many of the IPs are usable and how many are network/broadcast IPs?