Votes: 0Posted On: May 25, 2017 06:29:23
The subnet mask is used to define the block of IP addresses provided to the organization. A block of IP address is represented as "a.b.c.d/n".
The "/n" is called as the CIDR notation.
Calculation of IP range - The "/ " notation after the IP address can be used to calculate the IP address range that falls under that category. All you have to do is subtract the prefix from the number 32(As IP addresses is a 32 bit number). Put the result as an exponent of 2 and you will get the number of IPs in that range.
For instance, to find the IP range of "/29" prefix, we subtract The prefix 29 from 32. The result 3 is used as an exponent of 2. Hence, the IP range you get is "2 to the power 3" i.e 8 IPs.
With this method you will be able to calculate any IP range that is provided to you.
For more information on subnetting and IP block allocation please refer to our articles.