Subnetting Drills
Twenty-six guided questions that make you find network addresses, broadcast addresses, usable host ranges, and host/subnet counts — then a live calculator and an endless random trainer for practice. Every question carries a worked explanation so you learn the method, not just the answer.
The quick method (read first)
Most subnetting questions fall to three numbers you can compute in your head:
- Block size = 256 − the interesting mask octet. A /26 has mask 255.255.255.192, so the block size is 256 − 192 = 64.
- Network address = the largest multiple of the block size that is less than or equal to the host octet.
- Broadcast address = network address + block size − 1. The first usable host is network + 1 and the last usable host is broadcast − 1.
Part 1 — Network address
-
What is the network address of 192.168.100.130/26?
- 192.168.100.0
- 192.168.100.128
- 192.168.100.64
- 192.168.100.192
A /26 mask is 255.255.255.192, so the block size is 256 − 192 = 64. The multiples of 64 are 0, 64, 128, 192. The largest of these not exceeding 130 is 128, so the network is 192.168.100.128 (covering .128–.191).
-
What is the network address of 172.16.20.77/25?
- 172.16.20.0
- 172.16.20.64
- 172.16.20.128
- 172.16.20.77
/25 is 255.255.255.128, block size 128. Multiples are 0 and 128. Since 77 is below 128, the network is 172.16.20.0 (range .0–.127).
-
What is the network address of 10.10.10.200/29?
- 10.10.10.192
- 10.10.10.208
- 10.10.10.200
- 10.10.10.0
/29 is 255.255.255.248, block size 8. Multiples of 8 include 200. Because 200 is itself a multiple, the network address is 10.10.10.200 (range .200–.207).
-
What is the network address of 192.168.1.14/28?
- 192.168.1.0
- 192.168.1.16
- 192.168.1.8
- 192.168.1.14
/28 is 255.255.255.240, block size 16. Multiples are 0, 16, 32, ... Since 14 is below 16, the network is 192.168.1.0 (range .0–.15).
-
What is the network address of 172.16.5.130/26?
- 172.16.5.0
- 172.16.5.64
- 172.16.5.192
- 172.16.5.128
/26 block size 64. Multiples are 0, 64, 128, 192. The largest not exceeding 130 is 128, so the network is 172.16.5.128 (range .128–.191).
-
What is the network address of 10.1.1.99/27?
- 10.1.1.64
- 10.1.1.96
- 10.1.1.128
- 10.1.1.0
/27 is 255.255.255.224, block size 32. Multiples are 0, 32, 64, 96, 128. The largest not exceeding 99 is 96, so the network is 10.1.1.96 (range .96–.127).
Part 2 — Broadcast address
-
What is the broadcast address of the subnet containing 192.168.10.70/27?
- 192.168.10.64
- 192.168.10.127
- 192.168.10.95
- 192.168.10.70
/27 block size 32. The subnet containing .70 is .64–.95, so the network is .64 and the broadcast is network + block − 1 = .64 + 32 − 1 = 192.168.10.95.
-
What is the broadcast address of 172.16.4.10/30?
- 172.16.4.11
- 172.16.4.15
- 172.16.4.10
- 172.16.4.255
/30 is 255.255.255.252, block size 4. The multiples are 0, 4, 8, 12; the subnet is .8–.11, so the broadcast is 172.16.4.11. A /30 holds 2 usable hosts.
-
What is the broadcast address of 10.0.0.50/26?
- 10.0.0.50
- 10.0.0.128
- 10.0.0.127
- 10.0.0.63
/26 block size 64. The subnet containing .50 is .0–.63, so the broadcast is 10.0.0.63. Note .64 begins the next subnet.
-
What is the broadcast address of 192.168.20.100/25?
- 192.168.20.255
- 192.168.20.127
- 192.168.20.100
- 192.168.20.191
/25 block size 128. The subnet containing .100 is .0–.127, so the broadcast is 192.168.20.127. The next subnet, .128–.255, has broadcast .255.
-
What is the broadcast address of 172.16.1.200/29?
- 172.16.1.255
- 172.16.1.200
- 172.16.1.207
- 172.16.1.208
/29 block size 8. The subnet containing .200 is .200–.207, so the broadcast is 172.16.1.207. The network address is .200 and there are 6 usable hosts.
-
What is the broadcast address of 10.10.10.14/28?
- 10.10.10.15
- 10.10.10.31
- 10.10.10.14
- 10.10.10.0
/28 block size 16. The subnet containing .14 is .0–.15, so the broadcast is 10.10.10.15. Only .1 through .14 are usable.
Part 3 — Usable host range
-
What is the usable host range of 192.168.1.0/24?
- 192.168.1.0 – 192.168.1.255
- 192.168.1.1 – 192.168.1.254
- 192.168.1.1 – 192.168.1.255
- 192.168.1.0 – 192.168.1.254
The network address is .0 and the broadcast is .255, so usable hosts run from 192.168.1.1 to 192.168.1.254 (254 addresses).
-
What is the usable host range of 10.0.0.0/30?
- 10.0.0.1 – 10.0.0.2
- 10.0.0.0 – 10.0.0.3
- 10.0.0.1 – 10.0.0.3
- 10.0.0.2 – 10.0.0.3
A /30 has 2 usable hosts. Network .0, broadcast .3, so usable are 10.0.0.1 and 10.0.0.2. This is ideal for a point-to-point link.
-
What is the usable host range of 172.16.5.32/27?
- 172.16.5.32 – 172.16.5.63
- 172.16.5.1 – 172.16.5.30
- 172.16.5.33 – 172.16.5.62
- 172.16.5.33 – 172.16.5.63
/27 block size 32. Network .32, broadcast .63, so usable hosts are 172.16.5.33 through 172.16.5.62 (30 hosts).
-
What is the usable host range of 192.168.4.0/25?
- 192.168.4.0 – 192.168.4.255
- 192.168.4.1 – 192.168.4.255
- 192.168.4.0 – 192.168.4.126
- 192.168.4.1 – 192.168.4.126
/25 block size 128. Network .0, broadcast .127, so usable hosts are 192.168.4.1 through 192.168.4.126 (126 hosts).
-
What is the usable host range of 10.1.1.64/26?
- 10.1.1.64 – 10.1.1.127
- 10.1.1.65 – 10.1.1.126
- 10.1.1.65 – 10.1.1.127
- 10.1.1.1 – 10.1.1.62
/26 block size 64. Network .64, broadcast .127, so usable hosts are 10.1.1.65 through 10.1.1.126 (62 hosts).
-
What is the usable host range of 192.168.0.16/28?
- 192.168.0.17 – 192.168.0.30
- 192.168.0.16 – 192.168.0.31
- 192.168.0.17 – 192.168.0.31
- 192.168.0.1 – 192.168.0.14
/28 block size 16. Network .16, broadcast .31, so usable hosts are 192.168.0.17 through 192.168.0.30 (14 hosts).
Part 4 — Hosts, subnets & mask choice
-
How many usable host addresses does a /26 subnet provide?
- 64
- 62
- 30
- 126
A /26 leaves 6 host bits: 26 = 64 total, minus network and broadcast = 62 usable hosts.
-
How many usable host addresses does a /28 subnet provide?
- 16
- 30
- 14
- 6
A /28 leaves 4 host bits: 24 = 16 total, minus 2 = 14 usable hosts.
-
How many usable host addresses does a /30 subnet provide?
- 2
- 4
- 6
- 1
A /30 leaves 2 host bits: 22 = 4 total, minus 2 = 2 usable hosts. It is the classic mask for a point-to-point WAN link.
-
How many /27 subnets can be carved from a single /24 network?
- 4
- 16
- 2
- 8
You borrow 3 bits (24 → 27), so there are 23 = 8 subnets, each with a block size of 32 addresses.
-
Which subnet mask supports about 50 hosts per subnet?
- /27 (30 hosts)
- /25 (126 hosts)
- /26 (62 hosts)
- /28 (14 hosts)
/26 provides 62 usable hosts, enough for 50 with a little room. /27 is too small (30), while /25 wastes over half the range for a 50-host need.
-
How many subnets result from borrowing 4 host bits in a /24 network?
- 16
- 4
- 8
- 32
Borrowing 4 bits gives 24 = 16 subnets. The mask becomes /28, with 14 usable hosts each.
-
How many usable host addresses does a /29 subnet provide?
- 8
- 6
- 14
- 4
A /29 leaves 3 host bits: 23 = 8 total, minus 2 = 6 usable hosts.
-
A department needs at least 100 hosts on one subnet. Which prefix is the most efficient choice?
- /24 (254 hosts)
- /26 (62 hosts)
- /30 (2 hosts)
- /25 (126 hosts)
/25 gives 126 usable hosts, which covers 100 with the least waste. /24 would work but doubles the address use; /26 cannot fit 100 hosts.
Interactive subnet calculator
Type any address and drag the prefix. Everything below recomputes instantly, including a binary view that shows exactly which bits are network bits and which are host bits.
Randomised practice trainer
Endless practice. Pick the question types you want, answer, and press Enter. Wrong answers reveal the full worked method so you fix the reasoning, not just the number.
Cheat sheet
Memorise this table. For any prefix, the block size is the last address step and the host count follows from the host bits.
| Prefix | Mask | Block size | Total addresses | Usable hosts |
|---|---|---|---|---|
| /24 | 255.255.255.0 | 256 | 256 | 254 |
| /25 | 255.255.255.128 | 128 | 128 | 126 |
| /26 | 255.255.255.192 | 64 | 64 | 62 |
| /27 | 255.255.255.224 | 32 | 32 | 30 |
| /28 | 255.255.255.240 | 16 | 16 | 14 |
| /29 | 255.255.255.248 | 8 | 8 | 6 |
| /30 | 255.255.255.252 | 4 | 4 | 2 |
| /31 | 255.255.255.254 | 2 | 2 | 0 (point-to-point special case) |
Sources & references
- Cisco. CCNA (200-301) Exam Topics, IP Addressing and Subnetting. cisco.com.
- Rekhter, Y. et al. RFC 1918: Address Allocation for Private Internets (1996). rfc-editor.org/rfc/rfc1918.
- Mogul, J. & Postel, J. RFC 950: Internet Standard Subnetting Procedure (1985). rfc-editor.org/rfc/rfc950.
- IANA. IPv4 Address Space Registry. iana.org.
Target exams: CCNA 200-301 v1.1 · CyberOps Associate 200-201. Last content verification: 2026-10-11.