Subnetting Practice

Unlimited random IPv4 subnetting problems, each with a step-by-step worked solution. Answer, build a streak, and check your working. Nothing is sent anywhere — it all runs in your browser.

Loading a problem…

Current streak: 0  ·  Best streak: 0  ·  Skipped: 0
Answered: 0  ·  Accuracy:  · 
Per-type accuracy
No answers yet.

Embed this on your site

Paste this where you want the drill to appear. It loads a stripped-down version with no site navigation.

<iframe src="https://findwhatismyip.com/subnet-practice?embed=1" width="100%" height="620" style="border:1px solid #dee2e6;border-radius:8px" title="Subnetting Practice" loading="lazy"></iframe>

What Tier 1 Covers

Most problems give you an address and a prefix, like 192.168.23.138/21, and ask for one of:

Prefixes run from /8 to /30. The ? next to a question gives the method; Show worked solution shows the binary lined up.

Tier 2 — Applied

Switch the difficulty selector to Tier 2 for the questions that come up in real design work:

Tier 3 — Design

Why Practise This By Hand

Subnetting is on the CCNA and CompTIA Network+ exams without a calculator, and it comes up constantly in real network design and troubleshooting — working out whether two hosts are on the same subnet, how many addresses a VLAN needs, or which range a firewall rule should cover. Doing it on paper until it is fast is the point.

Need to check a full breakdown of any block? Use the Subnet Calculator. New to the topic? Start with Understanding Subnets and IP Addresses or What is CIDR.

Awesome findWhatIsMyIP Blog

Frequently asked questions

Are the problems the same every time?

No. Each problem is generated fresh from a random address and a random prefix between /8 and /30, so you effectively never see the same one twice. There is no fixed question bank.

How do I get faster at subnetting?

Memorise the mask value for each prefix (/24 is 255.255.255.0, /26 is 255.255.255.192, and so on), and only convert the one octet where the network boundary falls to binary. Use the hint for the method and the worked solution to check your working, and drill until a problem takes under 30 seconds without a calculator.

Does this cover VLSM and IPv6?

Not yet. Tier 1 covers core IPv4: network and broadcast addresses, subnet and wildcard masks, host counts and ranges, and CIDR from a mask. VLSM, route summarisation and IPv6 are planned for later tiers.