Network subnets
Sometimes, you will be given subnet masks (a range of IP addresses) to test, and in some cases, you will test only one single IP address. If you're using a subnet mask, then use the following table as a reference:
CIDR | Hosts | Net mask |
/30 | 2 |
|
/29 | 6 |
|
/28 | 14 |
|
/27 | 30 |
|
/26 | 62 |
|
/25 | 126 |
|
/24 | 254 |
|
/23 | 510 |
|
/22 | 1022 |
|
/21 | 2046 |
|
/20 | 4094 |
|
/19 | 8190 |
|
/18 | 16382 |
|
/17 | 32766 |
|
/16 | 65534 |
|