CCNA Subnetting Practice Questions: 10 Worked Examples
Subnetting is the skill CCNA candidates fear most and use most — on the exam and on the job. Every question below is original and fully worked using the magic-number method: find the interesting octet, compute the block size (256 − mask value), and count. Cover the answer, work each one yourself, then check the walkthrough.
Free with your free CertCrack account — sign in to download.
The magic-number method in 20 seconds: (1) Find the interesting octet — the first octet, left to right, where the mask is neither 255 nor 0. (2) Magic number = 256 − (mask value in that octet). (3) Subnet boundaries are multiples of the magic number. Network address = the multiple at or below your IP; broadcast = one less than the next multiple.
| CIDR | Mask | Magic # | Usable hosts |
|---|---|---|---|
| /24 | 255.255.255.0 | 256 | 254 |
| /25 | 255.255.255.128 | 128 | 126 |
| /26 | 255.255.255.192 | 64 | 62 |
| /27 | 255.255.255.224 | 32 | 30 |
| /28 | 255.255.255.240 | 16 | 14 |
| /29 | 255.255.255.248 | 8 | 6 |
| /30 | 255.255.255.252 | 4 | 2 |
The Questions
1. Host 192.168.44.77/26. What is the network address, broadcast address, and usable host range?
- A. Network 192.168.44.64, broadcast 192.168.44.127, hosts .65–.126
- B. Network 192.168.44.0, broadcast 192.168.44.63, hosts .1–.62
- C. Network 192.168.44.64, broadcast 192.168.44.128, hosts .65–.127
- D. Network 192.168.44.77, broadcast 192.168.44.127, hosts .78–.126
2. You must subnet 10.0.0.0/16 to support at least 200 subnets with at least 200 usable hosts per subnet. Which is the most efficient mask?
- A. /22
- B. /23
- C. /24
- D. /25
3. Which of these addresses is a valid usable host address?
- A. 172.16.5.63/26
- B. 172.16.5.64/26
- C. 172.16.5.127/26
- D. 172.16.5.100/26
4. A branch office needs 60 usable host addresses on one subnet. What is the most efficient mask?
- A. /25
- B. /26
- C. /27
- D. /28
5. Two routers are connected by a point-to-point serial link. The engineer assigns 192.168.99.0/31 to the link. Which statement is true?
- A. The /31 is invalid; point-to-point links require /30.
- B. Both 192.168.99.0 and 192.168.99.1 are usable; no addresses are wasted on network/broadcast.
- C. Only 192.168.99.1 is usable; .0 is the network address.
- D. /31 links only work with IPv6.
6. An ACL must match the entire 192.168.16.0/20 network. What is the correct wildcard mask?
- A. 0.0.15.255
- B. 0.0.240.255
- C. 255.255.240.0
- D. 0.0.0.255
7. Which single summary route covers 192.168.32.0/24 through 192.168.39.0/24 with no extra networks?
- A. 192.168.32.0/20
- B. 192.168.32.0/21
- C. 192.168.32.0/22
- D. 192.168.32.0/19
8. Host 10.200.75.14 with mask 255.255.240.0. What is the broadcast address of its subnet?
- A. 10.200.75.255
- B. 10.200.79.255
- C. 10.200.80.255
- D. 10.200.95.255
9. How many total subnets and usable hosts per subnet does 172.16.0.0/19 provide?
- A. 8 subnets, 8,190 hosts each
- B. 32 subnets, 2,046 hosts each
- C. 8 subnets, 32,766 hosts each
- D. 16 subnets, 4,094 hosts each
10. An IPv6 host has address 2001:db8:acad::50/64. Which statement is correct?
- A. The network portion is the first 64 bits; the interface ID is the last 64 bits.
- B. The subnet provides 264 − 2 usable addresses, like IPv4.
- C. The :: can be used twice in one address for extra compression.
- D. The network address is 2001:db8:acad::50.
Quick self-check
If you worked all 10 without peeking, you're in good shape. If questions 2 or 6 tripped you up, re-read them — they test the two most-missed mechanics on the exam: verifying both constraints when sizing a subnet (subnets AND hosts), and deriving wildcard masks from the magic number instead of guessing. On exam day, the magic-number method should take you under 30 seconds per question.
- How fast should I be at subnetting for the CCNA?
- Aim for 30–60 seconds per question. The exam gives you roughly 100 minutes for ~100 questions, and subnetting questions are designed to be quick if your method is automatic — slow down only on VLSM and summarization items, which reward careful boundary checks.
- Do I need to memorize the subnet mask table?
- Memorize the /24–/30 row cold (masks, magic numbers, usable hosts) and be able to derive the rest with the magic-number method. Rote-memorizing every CIDR value is unnecessary; fast derivation beats recall under pressure.
Want 900 more questions like these?
Get the full CCNA 200-301 practice bank — 900 original questions with detailed explanations, plus a free 30-question sample quiz and free sample PDF. No sign-up needed for the samples.
Start the CCNA Practice Exams