Subnetting Practice Generator
Create address-planning exercises.
Subnetting Practice Generator: inputs and results
Enter an IP address, CIDR prefix, or range. Then check its first and last address below.
Calculated Boundaries & ParametersReady
Key Capabilities
- •100% Client-Side: Zero telemetry or server latency.
- •RFC Compliant: Exact 32-bit and 128-bit integer precision.
- •Quick Copy: Instant access to CIDR, mask, and range bounds.
- •Cross-Platform: Works on desktop, tablet, and mobile browsers.
Related Diagnostics, Generators & UtilitiesAll Tools
IPv4 Reverse DNS Name Generator
Generate address-level reverse lookup names.
Reverse DNS Zone Planner
Identify applicable reverse delegation boundaries.
Bounded IP Address List Generator
Enumerate a selected, limited address range.
Random Address Sampler
Sample addresses within supplied ranges.
Batch Subnet Calculator
Calculate details for multiple prefixes.
IP List Deduplicator
Remove repeated addresses.
How Subnetting Practice Generator Works?
This tool works by picking a random address and prefix inside a chosen difficulty range, then building questions with stored answers for self-checking.
Pick a difficulty
Easy uses /24 to /30, medium uses /16 to /30, and hard uses /8 to /30 plus VLSM tasks.
Pick question types
Choose network, broadcast, host range, host count, mask, or VLSM questions.
Generate the set
The generator creates 10 to 50 questions with random addresses.
Reveal answers
Answers stay hidden until requested, then appear with the working.
Subnetting Practice Generator Formula
The formula is Question = (random address, random prefix in [p_min, p_max]), with Answer = the standard subnet calculation.
Random prefix
p = p_min + floor(r × (p_max − p_min + 1))Difficulty sets the range.
Random address
A = floor(r × 2^32)Filtered to private space by default.
Answer
Network, broadcast, hosts from (A, p)Computed, not stored by hand.
Worked example: 1 medium question
Q: Find the broadcast address of 172.20.93.17/19. A: 172.20.95.255 Working: block 32 in octet 3 → 93 → 64 → 64 + 31 = 95
Subnetting Practice Generator Conversion Table
The table shows a sample set of 8 generated questions with their answers.
| Question | Address / Prefix | Answer |
|---|---|---|
| Network address | 10.44.170.9/20 | 10.44.160.0 |
| Broadcast address | 172.20.93.17/19 | 172.20.95.255 |
| First usable host | 192.168.88.200/26 | 192.168.88.193 |
| Last usable host | 10.3.3.3/23 | 10.3.3.254 |
| Usable hosts | 172.30.0.0/21 | 2,046 |
| Subnet mask | 10.0.0.0/18 | 255.255.192.0 |
| Wildcard mask | 192.168.0.0/27 | 0.0.0.31 |
| Hosts in /29 | 192.168.1.8/29 | 6 |
What is Subnetting Practice Generator?
The Subnetting Practice Generator is a tool that creates unlimited subnetting exercises with hidden answers for self-study and classroom use.
Speed in subnetting comes from repetition. Textbooks run out of questions quickly, and memorized answers stop being practice. The generator creates fresh questions on demand and calculates every answer, so the answer key is always correct.
Difficulty levels match exam stages: /24 to /30 questions for beginners, wider prefixes for intermediate learners, and VLSM design tasks for advanced practice.
What are the uses of Subnetting Practice Generator?
There are 4 main uses of the Subnetting Practice Generator, including timed drills, classroom worksheets, and interview prep.
Running timed drills
Learners solve 20 questions against a timer to build exam speed.
Creating classroom worksheets
Each student receives a different set, which prevents copying.
Preparing for technical interviews
Network engineering candidates practice whiteboard-style questions.
Refreshing skills
Experienced engineers keep manual subnetting sharp between projects.