This article was first published on the SecLern blog.
To practice subnetting, drill one question type at a time in short timed sets, then check each answer with a subnet calculator only after you have written your answer down. Plan on 15 to 20 minutes a day for one to two weeks to reach exam speed for CCNA 200-301 and Network+ N10-009. The skill being tested is speed, not theory, so reps against a clock beat one more explanation video.
TL;DR
- Subnetting practice works best as short timed sets on one question type at a time, checked only after you commit the answer in writing.
- A /26 mask (255.255.255.192) has a block size of 64 and 62 usable hosts.
- Usable hosts = 2^host bits minus 2, because the network and broadcast addresses are reserved.
- Cisco's CCNA 200-301 blueprint puts IP Connectivity at 25% of the exam, the largest domain, and it includes IPv4 addressing and subnetting.
- CompTIA Network+ N10-009 covers IPv4 addressing and subnetting inside Networking Concepts, 23% of the exam.
- A realistic target is one to two weeks of 15 to 20 minute daily drills for exam speed.
What does subnetting actually ask you to do?
Subnetting asks one question: which bits of a 32-bit IPv4 address are the network and which are the host. Exam questions are variations on answering it.
An IPv4 address is 32 bits long and splits into a network portion and a host portion, as RFC 791 defines it. Subnetting borrows bits from the host portion to create smaller networks, and the prefix length records how many bits belong to the network, a notation RFC 4632 standardized as CIDR. Once you can see that split, the arithmetic is just powers of 2 and multiples of the block size.
The exams put real weight on it. Cisco's CCNA 200-301 exam topics give IP Connectivity 25% of the exam, and CompTIA's Network+ N10-009 objectives place IPv4 addressing and subnetting inside Networking Concepts, 23%. That is why speed matters more than theory here. Reading another explanation will not help; answering questions against a clock will.
What should you learn before you start drilling?
Learn four things cold before timed drills are worth doing: single-octet binary, powers of 2 to 2^12, prefix-to-mask conversion for /8 through /30, and the private ranges.
- Single-octet binary. The column values are 128, 64, 32, 16, 8, 4, 2, 1. You need to convert any number from 0 to 255 both ways without writing the columns out each time.
- Powers of 2 to 2^12. 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096. These turn into usable host counts and subnet counts.
- Prefix to mask and mask to prefix. /26 is 255.255.255.192, and 255.255.255.224 is /27. Know every step from /8 to /30.
- Private ranges. 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 come from RFC 1918, and practice questions reuse them constantly.
The gate: do not start timed drills until you can convert a single octet in under 10 seconds. Every later drill depends on that one skill.
How to Practice Subnetting in 7 Days
Practice subnetting in 7 days by running one 15 to 25 minute session a day. Each day targets a single drill with a pass bar, and you repeat that day before moving on if you miss it.
| Day | Drill | Pass bar |
|---|---|---|
| 1 | Octet to binary and back, 20 conversions | Under 10 seconds each |
| 2 | Mask to prefix and prefix to mask, 40 flashcards | 90% correct |
| 3 | Block size from the mask, 20 questions | 20 out of 20 |
| 4 | Network and broadcast for /25 through /30, 20 questions | 20 questions in 20 minutes |
| 5 | Full answer set: network, first host, last host, broadcast, 15 questions | 15 questions in 15 minutes, 90% correct |
| 6 | Reverse sizing from a host count, 15 questions | 90% correct |
| 7 | Timed mixed set, 25 questions | 25 minutes, 90% or better |
Consistency beats weekend marathons. A daily 20-minute block builds the recall you need under exam pressure, and a four-hour session on Sunday mostly builds fatigue. If day 7 goes badly, repeat days 5 to 7 rather than starting new material.
Which subnetting questions should you drill?
Drill seven question types, because exams mix them and each one needs a slightly different mental move.
- Mask to prefix. 255.255.255.224 is /27.
- Prefix to mask. /26 is 255.255.255.192.
- Usable hosts. A /28 has 16 addresses and 14 usable.
- Network, broadcast and host range. 10.20.30.45/28 sits in 10.20.30.32/28, so the broadcast is 10.20.30.47 and hosts run from .33 to .46.
- Reverse sizing. A host requirement of 50 needs a /26, which gives 62 usable addresses.
- Membership check. 192.168.1.130 is inside 192.168.1.128/25, a block that runs from .128 to .255 with usable hosts from .129 to .254.
- VLSM-lite. Split one block to satisfy three different host requirements.
Log which type you miss. The miss pattern, not the total score, decides what you drill tomorrow.
How do you find the network, broadcast and host range fast?
Use the block-size method: convert the prefix to a mask, subtract the interesting octet from 256, count up in that block size, then read off the network, broadcast and host range.
Worked example: 172.16.44.201/26
- Turn /26 into a mask. 255.255.255.192.
- Find the block size. The interesting octet is the one where the mask is neither 255 nor 0. Subtract it from 256: 256 minus 192 is 64.
- Count up in 64s in the interesting octet. 0, 64, 128, 192. The host octet is 201, which falls between 192 and 255, so the network is 172.16.44.192.
- Broadcast is the next network minus 1. The next block starts at 172.16.45.0, so the broadcast is 172.16.44.255.
- Host range is network plus 1 to broadcast minus 1. 172.16.44.193 to 172.16.44.254.
- Sanity check the size. /26 leaves 6 host bits, so 2^6 is 64 addresses and 62 usable. That matches the block size, which is the fastest self-check available.
Two habits make this quick under time pressure. Write the multiple line (0, 64, 128, 192) before you do anything else, and never count host addresses one by one.
What belongs on a subnetting cheat sheet?
A one-page table of prefixes, dotted masks, total addresses and usable hosts covers the numbers many subnetting questions ask for. The formula behind it is usable hosts = 2^host bits minus 2, because the network and broadcast addresses are reserved.
| Prefix | Dotted mask | Total addresses | Usable hosts | Typical use |
|---|---|---|---|---|
| /8 | 255.0.0.0 | 16,777,216 | 16,777,214 | very large block |
| /16 | 255.255.0.0 | 65,536 | 65,534 | large block |
| /22 | 255.255.252.0 | 1,024 | 1,022 | four /24s |
| /24 | 255.255.255.0 | 256 | 254 | standard LAN |
| /25 | 255.255.255.128 | 128 | 126 | half a /24 |
| /26 | 255.255.255.192 | 64 | 62 | 50-host segment |
| /27 | 255.255.255.224 | 32 | 30 | small team |
| /28 | 255.255.255.240 | 16 | 14 | tiny segment |
| /29 | 255.255.255.248 | 8 | 6 | small segment or lab link |
| /30 | 255.255.255.252 | 4 | 2 | point-to-point |
| /31 | 255.255.255.254 | 2 | 2 on point-to-point links | point-to-point per RFC 3021 |
The formula assumes at least two host bits. /31 is the exception worth knowing: RFC 3021 allows a 31-bit prefix on point-to-point links, where both addresses are usable and there is no network or broadcast address.
One more number appears in troubleshooting questions but has nothing to do with subnet math: 169.254.0.0/16 is the IPv4 link-local block from RFC 3927, the range a host falls back to when DHCP fails.
How do you check your answers without fooling yourself?
Commit to an answer in writing, then verify it, then score it right or wrong with no partial credit.
- Write it first. Network, first host, last host and broadcast on paper before you touch any tool.
- Then verify. Use the free subnet calculator to confirm what you wrote.
- Never verify inside a timed set. The exam will not give you a calculator, so a calculator-assisted score is a fake score.
- Log misses by question type and time taken. Re-drill the missed type the next day before adding new material; after a week the log shows which type is costing you minutes.
- Add time limits before harder questions. Accuracy first, then speed.
Which subnetting practice resources are worth using?
The best resources are video walkthroughs for the method, a question generator for volume, a simulator for applying a plan, and a full-length exam simulator for test day.
- Professor Messer's Network+ subnetting videos. Clear, exam-objective focused explanations, best when you still need the concept framed before drilling.
- Practical Networking's Subnetting Mastery series. A visual walkthrough of the block-size method, useful if counting in multiples of 64 does not yet feel obvious.
- subnettingpractice.com. A random question generator for volume reps; check answers yourself and log misses by type.
- Cisco Packet Tracer. Available through Cisco Networking Academy, and useful for applying a subnet plan to device configuration.
- Boson ExSim-Max. Practice exams with detailed explanations; useful later, when you need full exam simulation rather than subnet reps.
How long does it take to learn subnetting?
A realistic target is one to two weeks of 15 to 20 minute daily drills to reach exam speed.
If you are already fluent in binary and powers of 2, three to five days is a reasonable target. If it drags past two weeks, check your octet-to-binary fluency before assuming the subnetting logic is the problem, and go back to the day 1 drill instead of pushing into harder questions.
CCNA and Network+ preparation runs for months, so subnetting is a small, high-value block worth front-loading early in a study plan. See realistic hours for the CCNA exam and Network+ exam. Getting it out of the way in week one makes every later topic that touches addressing, routing or access lists easier to absorb.
How is subnetting tested on the CCNA and Network+ exams?
Both exams test subnetting inside a larger domain, and both ask you to apply it rather than recite it.
| Exam | Where subnetting sits | Domain weight | Format |
|---|---|---|---|
| Cisco CCNA 200-301 (v1.1) | IP Connectivity: configure and verify IPv4 addressing and subnetting | 25%, the largest domain | 120 minutes |
| CompTIA Network+ N10-009 | Networking Concepts: IPv4 addressing and subnetting | 23% | maximum of 90 questions in 90 minutes; passing score 720 on a 100-900 scale |
Both exams also include performance-based questions, where a subnet design has to be applied inside a simulated device or topology rather than calculated on paper. You can practice that in browser-based hands-on labs and in the guide to performance-based questions.
Blueprints change. Confirm the current exam topics on Cisco's page and CompTIA's page before you book, and use the CCNA 200-301 study page or the Network+ N10-009 study page to plan the rest of your prep.
What should a subnetting practice checklist look like?
A subnetting practice checklist is a set of seven gates: if you cannot tick every line, you know exactly which day of the plan to repeat.
- I can convert any octet to binary and back in under 10 seconds.
- I know powers of 2 up to 2^12 without counting on my fingers.
- I can go from mask to prefix and prefix to mask for /8 through /30.
- I can state the block size instantly as 256 minus the interesting octet.
- I can produce network, first host, last host and broadcast for any /24 to /30 address in under 60 seconds.
- I can size a subnet backward from a host requirement.
- I score 90% or better on a 25-question mixed set in 25 minutes with no calculator.
Our perspective
We built SecLern around a boring observation: people miss subnetting questions because they hesitate, not because they cannot understand the concept. It is easy to follow a video explanation line by line and then freeze when a clock starts. So our advice is to make practice deliberately uncomfortable. Write the answer down, commit, then check it and score it honestly. A 60% on timed questions you actually attempted teaches you more than a 100% on questions you solved with a calculator in the next tab. The other honest trade-off: if your octet-to-binary conversion is slow, no amount of subnetting drills fixes it. Spend two days on binary first and save yourself a week of frustration.
Practice
SecLern supports this plan in three places. The free subnet calculator checks an answer after you commit to it. The CCNA 200-301 study page and the Network+ path carry original practice questions with an explanation for every answer, so a miss tells you which question type to re-drill tomorrow. Browser-based hands-on labs let you apply a subnet design on a simulated Cisco or Linux desktop without a VM. The free tier, no card needed, includes the first module of each path, 30 questions a day, and 3 labs and PBQs; Pro is $15 a month or $99 a year with a 7-day trial (card required; cancel before day 7 and you are not charged).
FAQ
What is the fastest way to learn subnetting?
Drill one question type at a time in short timed sets of 15 to 20 minutes, and check each answer only after you have written it down. Start with octet-to-binary fluency, then block size, then the full network, first host, last host and broadcast set. Speed comes from repetition, not another explanation video. Expect the speed to show up in the second week.
How long does it take to learn subnetting?
A realistic target is one to two weeks of daily 15 to 20 minute drills. If you are already fluent in binary and powers of 2, three to five days is a reasonable target. When progress stalls past two weeks, check whether slow octet-to-binary conversion is the cause rather than subnetting logic, and return to day 1 drills before adding harder question types.
Do I need to convert everything to binary to subnet?
No. The fast method works in decimal: subtract the interesting mask octet from 256 to get the block size, then count up in that step. Binary matters for understanding why the method works, and powers of 2 matter when you size a subnet from a host count. Under exam time pressure, almost nobody converts whole addresses to binary.
Is subnetting on the CCNA exam?
Yes. Cisco's CCNA 200-301 exam topics list configuring and verifying IPv4 addressing and subnetting inside IP Connectivity, which is 25% of the exam and the largest single domain. The exam runs 120 minutes. Confirm the current exam topics on Cisco's page before you book, because blueprints get revised.
Is subnetting on the CompTIA Network+ exam?
Yes. CompTIA's Network+ N10-009 objectives include IPv4 addressing and subnetting in Networking Concepts, 23% of the exam. The exam is a maximum of 90 questions in 90 minutes, and the passing score is 720 on a 100-900 scale. Check CompTIA's current objectives page before booking.
How do I check my subnetting answers?
Write your answer down first, then verify it with a subnet calculator and mark it right or wrong with no partial credit. Never use the calculator during a timed set, because the exam will not give you one and a calculator-assisted score hides exactly the gaps that cost you points. Log each miss by question type and re-drill that type the next day.
Sources
- RFC 791: Internet Protocol
- RFC 4632: Classless Inter-domain Routing (CIDR)
- RFC 1918: Address Allocation for Private Internets
- RFC 3021: Using 31-Bit Prefixes on IPv4 Point-to-Point Links
- RFC 3927: Dynamic Configuration of IPv4 Link-Local Addresses
- Cisco CCNA 200-301 Exam Topics
- CompTIA Network+ (N10-009) Certification Page
Read the original, kept up to date, on SecLern.


Top comments (0)