SecLern
Blog · How-to · 10 min read

How to Practice Subnetting: A 20-Minute Drill

How to practice subnetting: a repeatable 20-minute drill with the block-size method, a /24 to /30 table, five question types and speed targets.

By The SecLern Team · Published Dec 3, 2026
A bar split into four segments with a marker in the third, a pencil at the boundary, a stopwatch, a face-down calculator, pencil-marked paper and a network switch.
On this pageTL;DRKey facts, checked on Dec 3, 2026What Is the Easiest Way to Learn Subnetting?Which Subnet Numbers Should You Memorize First?How Do You Subnet an IP Address Step by Step?How Do You Practice Subnetting in 20 Minutes a Day?Which Five Question Types Should You Drill?How Do You Check Answers Without Letting the Calculator Do the Work?Is Subnetting on Network+ and CCNA?How Fast Should You Be at Subnetting?What Are the Most Common Subnetting Mistakes?Your Subnetting Practice ChecklistOur perspectivePractice with SecLernFAQWhat is the easiest way to learn subnetting?How often should I practice subnetting?Can I use a subnet calculator while learning?Is subnetting on the CCNA exam?Is subnetting on the Network+ exam?How long does it take to get good at subnetting?SourcesRecommended

Learning how to practice subnetting comes down to one repeatable drill: turn the prefix into a mask, subtract the mask octet from 256 to get the block size, list the subnet boundaries, then read off the network, broadcast and usable range. Drill five question types in 20-minute sessions, solve on paper before checking, and log every miss. This guide gives you the loop, the /24 to /30 numbers to memorize, realistic speed targets and what Network+ and CCNA actually ask.

TL;DR

  • Subnetting is easiest with one block-size method: mask, block size (256 minus the mask octet), boundaries, then network, broadcast and usable range.
  • Memorize /24 to /30 first: /24 has 256 addresses and 254 usable hosts, /26 has 64 and 62, and /30 has 4 and 2.
  • A 20-minute session is 3 minutes rebuilding the table, 10 minutes on 8 to 10 mixed questions, 5 minutes marking and logging errors, and 2 minutes saying the corrected rule aloud.
  • Drill five question types: find the range, choose a prefix from a host count, same-subnet checks, mask-to-prefix conversion, and VLSM allocation.
  • Subnetting appears on CompTIA Network+ N10-009 (Networking Concepts, 23%) and Cisco CCNA 200-301 (IP Connectivity, 25%).
  • Solve on paper first and use a subnet calculator only to check.

Key facts, checked on Dec 3, 2026

What Is the Easiest Way to Learn Subnetting?

The easiest way to learn subnetting is to use one block-size method on every question: convert the prefix to a mask, subtract the mask octet from 256 to get the block size, list the boundaries, then read the network, broadcast and usable range off that list. Practice it as retrieval: solve on paper first, check second.

Subnetting is dividing one IPv4 network into smaller networks by using host bits as network bits. An IPv4 address is 32 bits long and written as four decimal octets (RFC 791). In CIDR notation, /n means the first n bits are the network prefix, and the block holds 2^(32-n) addresses (RFC 4632).

Train three sub-skills separately:

  • Mask and prefix pairs: 255.255.255.224 is /27, recognized without counting on your fingers.
  • Boundary counting: listing 0, 32, 64, 96 at speed in the interesting octet.
  • Address classification: deciding whether an address is the network, a host or the broadcast.

Professor Messer's Seven Second Subnetting is a well-known free walkthrough of a shortcut method, and one viewing is worth it. It will not make you fast; timed retrieval does that. If you want a calendar to hang the sessions on, see the 7-day subnetting drill plan.

Which Subnet Numbers Should You Memorize First?

Memorize the /24 to /30 rows first. They cover almost every exam question, and you can rebuild longer prefixes from /24 by halving the block size and adding one to the prefix.

PrefixDotted maskBlock size (step)AddressesUsable hosts
/24255.255.255.0256256254
/25255.255.255.128128128126
/26255.255.255.192646462
/27255.255.255.224323230
/28255.255.255.240161614
/29255.255.255.248886
/30255.255.255.252442

Block size is the gap between one subnet boundary and the next in the interesting octet. For masks in the fourth octet it is 256 minus the mask octet (Cisco's subnetting guide). Usable hosts is total addresses minus 2, because the first address is the network and the last is the broadcast. Keep the two numbers separate: a /26 has 64 addresses and 62 usable hosts.

A /31 has two addresses and is defined for point-to-point links in RFC 3021, so minus 2 does not apply there; a /32 represents a single host. Practice questions mostly stay in /24 to /30.

60-second self-test: cover the table and write all seven rows, usable hosts included, from memory.

How Do You Subnet an IP Address Step by Step?

To subnet 192.168.10.130/26, work five steps: /26 becomes 255.255.255.192, the block size is 256 minus 192 = 64, the boundaries are 0, 64, 128 and 192, and .130 falls between .128 and .191, so the network is 192.168.10.128, the broadcast is 192.168.10.191 and the usable range is 192.168.10.129 to 192.168.10.190.

  1. Convert the prefix to a mask. /26 means 26 network bits, which is 255.255.255.192.
  2. Calculate the block size. In the interesting octet, 256 minus 192 gives 64.
  3. List the boundaries. 0, 64, 128, 192. Start at 0, never at 1.
  4. Place the address. .130 sits in the 128 to 191 block, so 192.168.10.128 is the network and 192.168.10.191 is the broadcast.
  5. Write the usable range. 192.168.10.129 to 192.168.10.190, which is 62 hosts and matches the table above.
0        64       128      192      256
|--------|--------|--------|--------|
                      ^ .130 lands here

The interesting octet is the one where the mask is neither 255 nor 0. Here it is the fourth octet. With a /20 (255.255.240.0) it is the third, so you count boundaries there and the fourth octet stays free for hosts. The method never changes, only the column does. The example network sits inside 192.168.0.0/16, one of the private ranges in RFC 1918.

Check every answer three ways: the network address is a multiple of the block size, the broadcast is the next boundary minus one, and the host count is block size minus 2.

A bar split into four blocks with a dot in the third, a pencil at the boundary, pencil-marked paper and blank index cards.
5-step timeline: Convert the prefix to a mask; Calculate the block size; List the boundaries; Place the address and read the network and broadcast; Write the usable range
The 5 steps at a glance.

How Do You Practice Subnetting in 20 Minutes a Day?

A 20-minute session has four fixed blocks: 3 minutes rebuilding the table, 10 minutes on 8 to 10 mixed questions, 5 minutes marking and logging errors, and 2 minutes saying the corrected rule aloud.

  1. Minutes 0 to 3: rebuild the table. Write /24 to /30, masks, block sizes and usable hosts from memory. This is your warm-up and your speed check.
  2. Minutes 3 to 13: drill 8 to 10 mixed questions. Paper only, calculator away, 60 to 90 seconds each. Rotate the five question types instead of doing ten of the same.
  3. Minutes 13 to 18: mark and diagnose. Write a one-line cause for every miss, then re-solve one missed question from scratch.
  4. Minutes 18 to 20: say the rule aloud. Without notes. If you cannot explain the corrected step in a sentence, you do not own it yet.

Run the loop five days a week for two weeks, then three sessions a week for maintenance. Twenty minutes five times a week is easier to keep than a two-hour block, and it gives you more retrieval reps under mild time pressure. When the loop feels easy, swap part of the middle block for a timed mixed set from SecLern's free practice tests, where every option is explained.

Four markers dividing a line into four stages, a stopwatch, a pencil on a notebook and a stack of index cards.

Which Five Question Types Should You Drill?

Drill five question types: find the range from an address and prefix, choose a prefix from a host count, test whether two addresses share a subnet, convert between dotted masks and CIDR, and allocate subnets with VLSM.

  • Type 1: Network, broadcast and usable range. The core skill behind every other question. Drill random /24 to /30 addresses.
  • Type 2: Smallest prefix for a host requirement. 50 hosts needs a /26, because /27 gives only 30 usable. Move one prefix at a time until it fits.
  • Type 3: Same-subnet check. Compare the two network boundaries, not the addresses themselves.
  • Type 4: Mask to prefix and back. 255.255.255.224 is /27 because 256 minus 224 = 32 = 2^5, and 32 minus 5 = 27.
  • Type 5: VLSM allocation. Sort requirements largest to smallest and allocate in that order so the space stays contiguous.

Rotate all five in every session. Ten identical Type 1 questions build speed on one pattern and hide the type that is actually costing you points.

How Do You Check Answers Without Letting the Calculator Do the Work?

Check answers with a calculator only after you have solved the question completely: write your network, broadcast and usable range first, then compare. If you are wrong, label the cause before moving on.

Use five labels: mask conversion, block size, boundary counting, network/broadcast confusion, or arithmetic. Keep an error log with five columns: the question, your answer, the correct answer, the cause, and the corrected rule in your own words. After two weeks the log tells you which sub-skill to drill, which is more useful than a score.

Do one binary spot-check per session so the reason behind the shortcut still makes sense, and explore with the calculator after solving, never during. For extra questions, SubnettingPractice.com offers free random subnetting problems with answers, and SolarWinds' Advanced Subnet Calculator is a long-standing tool for checking a range. SecLern's free subnet calculator shows the network, broadcast and usable range so you can compare it against your pencil answer.

Is Subnetting on Network+ and CCNA?

Yes. Subnetting shows up on both CompTIA Network+ N10-009 and Cisco CCNA 200-301, inside a domain worth about a quarter of each exam.

ExamCodeDomain covering subnettingWeightWhat to drill
CompTIA Network+N10-009Networking Concepts (IPv4 network addressing)23%mask recognition, usable-host counts, troubleshooting-style questions
Cisco CCNA200-301IP Connectivity (IPv4 addressing and subnetting)25%fast range math, VLSM, configuration and verification tasks

As of December 2026, CompTIA's Network+ page lists Networking Concepts at 23% of N10-009 and includes IPv4 network addressing, while Cisco's CCNA exam topics put IP Connectivity at 25%, the largest CCNA domain, covering IPv4 addressing and subnetting. Blueprints change, so confirm the objectives for your exam version before you book.

The flavor differs. Network+ questions tend to be operational, asking which subnet a host is in and why it cannot reach its gateway. CCNA questions often wrap the same math in a configuration or verification task. For domain-by-domain practice, see the CompTIA Network+ (N10-009) study page and the Cisco CCNA 200-301 study page. If you are still planning your timeline, How Long to Study for Network+? and How Long to Study for CCNA? cover realistic hours.

How Fast Should You Be at Subnetting?

A practical exam-ready target is 45 to 60 seconds per standard question at about 95% accuracy. These are coaching targets, not official pass marks.

StageTime per questionAccuracyNext action
Learning3 to 5 minutesabout 80%keep every step on paper, no timer
Fluentabout 90 seconds90%mix all five question types
Exam-ready45 to 60 seconds95%timed mixed sets including VLSM

If you are slow, fix table recall first; boundary counting is usually the bottleneck, not the reasoning. If you are inaccurate, slow down and write the boundaries explicitly instead of doing the arithmetic in your head. Move to timed sets only when untimed accuracy is stable, or you will practice speed on top of errors.

Roadmap: Learning: 3 to 5 minutes; Fluent: about 90 seconds; Exam-ready: 45 to 60 seconds
How Fast Should You Be at Subnetting?

What Are the Most Common Subnetting Mistakes?

The most common subnetting mistakes are using the wrong mask, confusing block size with usable hosts, and counting boundaries from 1 instead of 0.

  • Using a classful default mask. If the question says /26, use /26. Do not fall back on 255.255.255.0.
  • Confusing block size with usable hosts. A /26 has 64 addresses and 62 usable hosts.
  • Dropping the network and broadcast addresses. The first address is the network, the last is the broadcast, and neither goes to a host.
  • Counting boundaries from 1. Boundaries start at 0 in the interesting octet.
  • Changing the wrong octet. For anything shorter than /24, find the octet where the mask is neither 255 nor 0 before you count.
  • Allocating VLSM smallest-first. Start with the largest requirement and work down, or you fragment the space.
  • Treating /31 as a normal subnet. It is a point-to-point special case from RFC 3021.

Your Subnetting Practice Checklist

You are ready for timed mixed sets when you can check every line below.

  • I can write the /24 to /30 table from memory in under a minute.
  • I can find the network, broadcast and usable range in under 60 seconds.
  • I can choose a prefix from a host requirement.
  • I can say whether two addresses share a subnet.
  • I can convert a dotted mask to a prefix and back.
  • I keep an error log and re-solve missed questions from scratch.
  • I check with a calculator only after solving.
  • I have completed two weeks of 20-minute sessions and moved to timed mixed sets.

Any unchecked line is your next session's focus. Rerun the checklist each Friday and note what changed.

Our perspective

We built SecLern's subnet calculator and drills around one observation: people who miss subnetting questions on Network+ or CCNA rarely lack the theory. They have watched the video, they can explain CIDR, and then they freeze when the clock is running. What they lack is reps under mild time pressure. Our opinion: the calculator should be a checking tool, never a solving tool, and paper comes first every time. The trade-off is boredom. Twenty minutes of the same five question types is duller than a two-hour video marathon, and it works better. If you only have ten minutes today, rebuild the /24 to /30 table from memory and answer four questions. That still counts.

Practice with SecLern

On SecLern, the free subnet calculator checks the network, broadcast and usable range you worked out on paper, and the practice questions explain every answer. The free tier needs no card: the first module of each path, 30 questions a day, 3 labs and PBQs, and unlimited flashcards. Pro is $15 a month or $99 a year with a 7-day trial, and Exam Sprint is $29 once for 90 days if your exam date is already booked.

FAQ

What is the easiest way to learn subnetting?

The block-size method: convert the prefix to a mask, subtract the mask octet from 256 to get the block size, list the boundaries, then read off the network, broadcast and usable range. Use that one method every time instead of converting to binary, and drill it on paper in short timed sessions.

How often should I practice subnetting?

Twenty minutes, five days a week is a good default, and two weeks of that gives you a solid base. After that, three sessions a week keeps the skill alive until exam day. Frequency matters more than duration: short retrieval sessions beat one long study block, because you are training recall under mild time pressure.

Can I use a subnet calculator while learning?

Yes, but only as a checker. Solve the question completely on paper, write the network, broadcast and usable range, then compare with the calculator. If you use it to solve, you practice typing instead of subnetting, and the skill will not transfer to a timed exam.

Is subnetting on the CCNA exam?

Yes. Cisco's CCNA 200-301 blueprint lists IPv4 addressing and subnetting inside IP Connectivity, which is 25% of the exam and the largest domain. Expect the math inside configuration and verification scenarios rather than as standalone arithmetic, so practice reading a requirement and writing the boundary quickly.

Is subnetting on the Network+ exam?

Yes. CompTIA's Network+ N10-009 blueprint puts IPv4 network addressing inside Networking Concepts, which is 23% of the exam. Network+ questions tend to be operational, such as identifying which subnet a host belongs to or why it cannot reach its gateway, so practice interpreting the answer, not just calculating it.

How long does it take to get good at subnetting?

Plan for two to three weeks of 20-minute sessions to reach 45 to 60 seconds per question with high accuracy. That is a coaching target, not a guarantee; it depends on how reliably you recall the mask table. If you are still slow after three weeks, check whether table recall is the bottleneck.

Sources

The SecLern TeamSecLern builds practice questions, performance-based questions and browser-based hands-on labs for IT certifications.