Skip to main content
IP Range CalculatorPRO
Diagnostics, Generators & UtilitiesInstant Client-Side Tool

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.

Quick presets:

Calculated Boundaries & ParametersReady

Network Address192.168.1.0
Broadcast Address192.168.1.255
First Usable Host192.168.1.1
Last Usable Host192.168.1.254
Subnet Mask255.255.255.0
Wildcard Mask0.0.0.255
Total Addresses256
Usable Host Range254

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.

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.

  1. Pick a difficulty

    Easy uses /24 to /30, medium uses /16 to /30, and hard uses /8 to /30 plus VLSM tasks.

  2. Pick question types

    Choose network, broadcast, host range, host count, mask, or VLSM questions.

  3. Generate the set

    The generator creates 10 to 50 questions with random addresses.

  4. 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.

QuestionAddress / PrefixAnswer
Network address10.44.170.9/2010.44.160.0
Broadcast address172.20.93.17/19172.20.95.255
First usable host192.168.88.200/26192.168.88.193
Last usable host10.3.3.3/2310.3.3.254
Usable hosts172.30.0.0/212,046
Subnet mask10.0.0.0/18255.255.192.0
Wildcard mask192.168.0.0/270.0.0.31
Hosts in /29192.168.1.8/296

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.