Network Subnetting
Cheat Sheet
| Group Size | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
| Subnet | 128 | 192 | 224 | 240 | 248 | 252 | 254 | 255 |
| CIDR (4o) | /25 | /26 | /27 | /28 | /29 | /30 | /31 | /32 |
| 3rd octet | /17 | /18 | /19 | /20 | /21 | /22 | /23 | /24 |
| 2nd octet | /9 | /10 | /11 | /12 | /13 | /14 | /15 | /16 |
| 1st octet | /1 | /2 | /3 | /4 | /5 | /6 | /7 | /8 |
- Use CIDR/Mask to find group size above
- Starting from 0, or the corresponding subnet value above, or one to its left, increase or decrease by the group size, until you pass the corresponding octet value in the target IP
- Next Network ID cannot contain 256, instead increment the preceding octet by 1 and reset to 0
- If this is the 1st octet, Next Network is N/A, and Broadcast IP = 255.255.255.255
- Number before target IP = Network ID
- First Host = Network ID + 1
- Number after target IP = Next Network ID
- Broadcast = Next Network - 1
- Last Host = Next Network - 2
- #IP Addresses = Group size, or 2(32-CIDR) for 3rd/4th octet
| Network ID | |
| First Host IP | |
| Last Host IP | |
| Broadcast IP | |
| Next Network ID | |
| No. IP Addresses | |
| CIDR/Subnet Mask |
- East subnet bit doubles the available subnets
- Each host bit doubles the available host addresses
FLSM Questions
| 21 | 2 |
| 22 | 4 |
| 23 | 8 |
| 24 | 16 |
| 25 | 32 |
| 26 | 64 |
| 27 | 128 |
| 28 | 256 |
| 29 | 512 |
Starting with /18, what size sub-network would you need to create 100 sub-networks? /25
- Or, 128 = 27 /18 + 7 = /25
Starting with /21, how many sub-networks could you create that could contain 50 IP addresses? 32
- Or, /26 - /20 = 25 = 32
How to Read a Subnetting Question
You will generally be given 2, and your job will be to solve the 3rd.
- A starting network size
- Number of Sub-Networks
- Size of Sun-Network