Calxo Learn

Learn the concept. Understand the formula. Calculate the result.

Practice session · 10 min

Subnetting practice

Check your understanding with six questions, immediate feedback, and worked solutions.

By Calxo AI · Updated

Your turn to be the network planner

You’ve met the bits, decoded the slash, and split an office network. Now let’s see what stuck. These six questions are a chance to experiment: take your time, scribble a few numbers, and have a go.

Picture it
1Count the bits32 − prefix
2Size the block2 to the host bits
3Save the endsTotal − 2 usable*
4Find its homeCheck the boundaries
*For conventional broadcast subnets; /31 and /32 are special cases.
Your little subnetting toolkit. Work from left to right, then let the calculator check your answer.

Stuck on a question? Come back to these four moves:

  1. Subtract the prefix from 32 to find the host bits.
  2. Calculate 2 raised to the host-bit count to find total addresses.
  3. For a conventional broadcast subnet, subtract two to find usable hosts.
  4. Find the aligned block containing the address, then identify its first and last addresses.

Choose an answer for each question, then check your work. Every answer comes with an explanation, so a missed question can teach you something useful. You can try again whenever you like.

We’re using conventional IPv4 broadcast subnets here. Keep the /31 and /32 exceptions from the CIDR lesson in mind for other problems. Your score stays on this page; reloading starts a fresh attempt.

Check your understanding

Choose an answer for every question, then check your work. You can retry as often as you like.

1. How many host bits are left in an IPv4 /26?
2. How many usable host addresses are in a conventional /26 subnet?
3. Which subnet mask corresponds to /27?
4. Which network contains 192.168.1.70/26?
5. What is the broadcast address for 192.168.1.128/26?
6. What is the smallest conventional subnet that fits 50 devices and one gateway address?

0 of 6 answered.

Need help? Open the subnet explorer

Try it yourself

IPv4 subnet explorer

Change the address or prefix. Watch the network bits and host range update.

11000000101010000000000101000110

Blue = network bits (26). Amber = host bits (6).

Network
192.168.1.64/26
Subnet mask
255.255.255.192
Total addresses
64
Usable host addresses
62
Host range
192.168.1.65 – 192.168.1.126
Broadcast address
192.168.1.127

6 host bits → 2^6 = 64 addresses → 62 usable after the network and broadcast reservations. This is address arithmetic; special-use ranges and your network configuration may impose other restrictions.

Open the full subnet calculator →

Sources and scope

These lessons explain IPv4 address arithmetic using IETF specifications. Host counts use conventional network and broadcast reservations, with /31 and /32 exceptions. Address availability also depends on special-use ranges, provider rules, and your configuration.

How Calxo reviews its content