Subnet mask cheat sheet
- The prefix length is the number of network bits. The rest are host bits.
- Usable hosts =
2^n - 2, where n is the number of host bits. - Block size =
256 - mask valuein the interesting octet. /24254 hosts,/25126,/2662,/2730,/2814,/296,/302.
Memorise the last-octet masks: 128, 192, 224, 240, 248, 252. Each one halves the block size.