About this interactive
Subnetting starts with two numbers: how many networks you need and how many hosts each must hold. Both come from the design. Every LAN is a network, and so is every link between two routers, because each end of the link needs an address on a network of its own. A ring of five routers has five links; five routers each linked to every other have ten.
With one mask for the whole network every subnet is the same size, so each one must fit the largest LAN, and it must fit it as it will be, not as it is: plan around three years of growth. The hosts set the host bits, the smallest h where 2^h - 2 is enough, and the networks set the borrowed bits, the smallest b where 2^b is enough. If the class default plus the borrowed bits plus the host bits comes to exactly 32, only one mask fits; if it comes to less, you have a choice, and if more, the network you were given is too small. A router-to-router link here gets a full-sized subnet, which wastes most of its addresses. Variable-length subnet masking fixes that by giving each link a /30, or a /31 on point-to-point links under RFC 3021.
Type counts in digits; commas are fine. Anything you miss shows the answer and how to work it out. Seven of the twenty questions are drawn each run.
About TechKnowSurge
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →