Advertisements

LOCAL IPV4 PRACTICE · WORKED FEEDBACK

Subnetting Practice & Quiz

Practice network addresses, masks, broadcasts and host counts. Choose a level, check your answer and learn the steps with a score for this session.

Start your subnetting practice

Questions use private 10.0.0.0/8 examples and conventional /8–/30 subnet arithmetic. No packets are sent and no network settings are changed.

Starting again or changing either option clears the session counters. Reveal counts as completed, without a correct attempt. No timers or exam pass scores are used.

0Completed
0Correct
0Revealed

Enable JavaScript to start the interactive quiz. A worked example is available below.

How to use the subnetting quiz

  1. Choose a level and question type. Foundation focuses on the final IPv4 octet; later levels include prefixes that cross octet boundaries.
  2. Select Start practice. Work out the answer before checking. Use dotted decimal for an address or mask, a whole number for a host count, and either 26 or /26 for a prefix answer.
  3. Select Check answer once. A valid answer completes the question, even if it is wrong. Read the worked steps to see where your calculation differed.
  4. Use Reveal worked answer when you need help. It completes the question without adding a correct attempt. Input-format errors do not consume an attempt.
  5. Select Next question to continue at the same level. Reset or change options when you want a fresh session.

The score is a learning aid for this page session, not an examination result, qualification or prediction of performance. You can practice without a time limit.

Worked subnetting example: 192.168.1.77/26

An IPv4 address has 32 bits. With /26, the first 26 bits identify the prefix and the remaining six are host bits. That gives 26 = 64 addresses per block. The mask is 255.255.255.192.

In the final octet, block boundaries are 0, 64, 128 and 192. The value 77 falls in the block from 64 through 127, so the network address is 192.168.1.64. Setting the six host bits to one gives 192.168.1.127, the directed-broadcast value for this conventional example.

Five answers for the same /26 example
QuestionAnswerReason
Network address192.168.1.64The start of the 64-address block containing .77.
Directed broadcast192.168.1.127The last value in that block.
Subnet mask255.255.255.19226 network bits, followed by six zero mask bits.
Conventional host slots6264 total addresses minus the first and last.
CIDR prefix from the mask/26Eight + eight + eight + two leading one bits.

The conventional host range here is 192.168.1.65 through 192.168.1.126. Arithmetic alone does not say which addresses are assigned, permitted or available on a real network.

A repeatable way to solve each question

Start with the prefix length, rather than guessing from a familiar address ending. Subtract the prefix from 32 to find the number of host bits. The total block size is two raised to that host-bit count.

For a network-address question, retain the network bits and set the host bits to zero. For a directed-broadcast question in this practice range, set the host bits to one. The mask contains the chosen number of leading ones and then zeros. Counting those leading ones converts a contiguous mask back to its prefix length.

For the ordinary subnets generated here, subtract two from the block size to obtain conventional host-address slots. Keep total addresses separate from host slots; mixing the two is a common source of off-by-two errors. After trying a question yourself, compare the values with the subnet mask cheat sheet and IPv4 calculator.

Practice levels and special cases

  • Foundation: /24 through /30, useful for learning the last-octet block pattern.
  • Intermediate: /16 through /30, including calculations across the third and fourth octets.
  • Advanced: /8 through /30, with larger blocks and more host bits. Advanced changes the arithmetic range, not the operational permissions of any address.

The generator deliberately excludes /31 and /32 from its conventional host-count exercises. RFC 3021 permits the two addresses in a /31 to act as endpoints on a compatible point-to-point link. A /32 denotes one address, commonly as a host route; it does not have a separate network/broadcast pair to subtract.

The existing complete /0–/32 reference includes those cases. Private examples stay within 10.0.0.0/8, and the worked example uses private 192.168.0.0/16 space. Neither creates an address allocation or proves connectivity. Use the separate IPv6 connectivity test when you need browser endpoint observations rather than address arithmetic.

What stays in this page session

Questions and counters are kept in memory while this page is open. The quiz does not save practice history, place answers into URLs or send questions to an answer service. Reloading, navigating away, resetting or changing options clears the current practice state.

There is no network scan, traffic measurement, timer or automatic connection test in this quiz. Site-wide privacy controls and optional analytics are described in our privacy policy; the quiz does not attach entered answers or session scores to analytics events. If you want to measure a connection, use the separate internet speed test.

Subnetting practice questions

Is this subnetting practice free, and does it scan a network?

This is a free browser-based IPv4 practice quiz. It generates arithmetic questions from private example addresses and does not contact those addresses, scan devices or require an account.

Which subnetting questions can I practice?

Choose network address, directed-broadcast address, subnet mask, conventional host-address count, CIDR prefix from a mask, or a mixture. Foundation uses /24–/30, Intermediate uses /16–/30, and Advanced uses /8–/30.

Why are /31 and /32 excluded from the generated quiz?

The generated host-count questions use the conventional total-minus-two rule for /8–/30 practice subnets. A /31 may use both addresses on a compatible point-to-point link under RFC 3021; a /32 identifies one address. Those cases need different interpretations and are explained below.

How do checking and revealing affect my score?

Each question can be completed once. A valid checked answer adds one completed question and adds a correct answer only when it matches. Reveal adds a completed question and a revealed answer, without a correct attempt. Invalid input formats do not consume an attempt.

Is my practice history saved?

The quiz keeps the current question and counters only in this page session. Reset, changing options, reloading or leaving the page clears that practice state. It does not put answers or progress into browser storage or URLs, and it does not attach them to analytics events.

Useful next steps

Explore all network tools or read our methods and limitations.

Definitions and references

The generator uses 32-bit integer arithmetic for IPv4 masks and address boundaries. Each selected prefix determines the mask, total block size and conventional host count. These generated arithmetic questions are not a substitute for checking an actual network plan or the requirements of a course or examination.

Method updated 28 October 2026 · About Instant Speed Test · Privacy