The block picture

The wide band across the middle of the screen is your whole allocation. Its CIDR sits above it. Inside every block are up to three lines: the block's prefix, its usable count underneath, and the name you assigned to it under that.

The usable count is the N-2 rule made visible. A /26 says 62 usable, not 64, because the network number and the broadcast are already spoken for. Cut a block and watch the two halves report a smaller total than the one they came from. As a block gets narrow the word drops off and the bare number stays, and narrower still the whole line goes; the table underneath always has it.

This is the same picture the lecture draws on the board. Nothing on screen is decoration: the width of a block is proportional to how many addresses it holds, so a /25 really is half the width of the /24 it came from.

Blue on the left, red on the right

Every block has a blue left edge and a red right edge.

Neither can be given to a machine. That is the N-2 rule, and it is why the two rows are drawn on opposite edges: when you cut a block, the new bar grows a red edge on its left and a blue edge on its right, and you can see the two addresses that just stopped being usable.

The first block's network number and the last block's broadcast are always written out in full. The ones in the middle shorten to just the octets that change, so a /24 shows .128 rather than repeating the first three octets on every label.

Cutting a block

There are three ways, and they all do the same thing.

Why the bar snapped

Because of Binary Law. A block is divided into two equal halves, so the only place a first cut can go is the midpoint. If you point at .100 in a /24, the cut goes to .128, and the readout says so:

You pointed at .100. Binary Law: a block is only ever cut in half, so the
cut goes at .128, the midpoint of 10.200.5.0/24 (one halving). Nearer cuts
need more halvings: .96 takes 3 halvings (a /27); .100 exactly takes 6
halvings (a /30). Cut again inside the new block to get there.

That second sentence is the useful one. It tells you that .100 is reachable, that it is a /30 boundary, and that getting there means halving six times. Addresses that are not on any boundary at all cannot be reached however many times you cut, and that is the point.

One halving per gesture

A gesture is always exactly one halving, wherever you point. That is the lecture's procedure: to reach .96 in a /24 you halve at .128, halve the left half at .64, then halve the right quarter at .96, three gestures, and the readout counts them for you each time. There is no setting that does several at once, so every cut on the picture is one you made on purpose. Cuts stop at /30, or at /32 when Allow /31 and /32 under Settings in the menu is on.

Rejoining

Click a division bar to merge the two halves under it back into one block. Anything you cut inside those halves disappears with them, and any names assigned inside them are released back to the list. With a block selected you can also press Backspace.

Ctrl+Z undoes and Ctrl+Y redoes. One gesture is one undo step, even when it performed several halvings.

Reading a network need

Each network in the Business needs panel states a host count and, under it, the terms that count comes with. A need might read:

Clinic                              10 hosts
plus 10% growth, gateway included

The number on the right is what the network was given. The line under it says what you still have to do with that number before it is the size you need. Subnetris never shows you the answer here. Working it out is the exercise, and the Check report is where the arithmetic gets spelled out afterwards.

Allowing for growth

plus 10% growth means the network has to hold ten percent more than it holds today. Ten hosts plus ten percent is eleven, so the block has to have at least eleven usable addresses. That makes it a /28, which has fourteen. A /29 has six, which is not enough.

Always round up. Twelve hosts plus ten percent is 13.2, and there is no such thing as a fifth of a computer, so the answer is fourteen. Rounding down would leave a device with nowhere to go.

Do the growth first and the rest afterwards. Growth applies to the hosts, not to the gateway.

Whether the gateway is counted

Every network with a host count says one of two things:

This catches people out, and it is worth being deliberate about. The N-2 rule already took two addresses away, the network number and the broadcast. Convention A then spends one of what is left on the gateway. So a network described as "60 hosts and a gateway" needs a block with 61 usable addresses, which means a /26 with 62, not a /27 with 30.

When a need does not state a host count at all, it says nothing about a gateway either, because there is no number for the gateway to be part of.

Assigning a subnet to a network

An exercise lists the networks it wants in the Business needs panel on the left. Giving one of them a subnet is a drag, and it works from either end:

Two things worth knowing about the gesture. Drag within the diagram and you are cutting, as usual; it only becomes an assignment once the pointer leaves the diagram. And if you release somewhere that is not a network, or a network somewhere that is not a block, nothing happens at all: no cut, no assignment.

Dragging is the only way to assign, so if a network's row is off the bottom of the panel, scroll it into view before you start the drag from either end. On a touch screen, a row still scrolls the panel when you drag it up or down; it is a sideways drag that picks the network up.

Bowie's Hierarchy of Subnetting

Five rules, listed from the one you bend first to the one you can never break. Check reports against them in this order.

RuleHow firmWhat it means here
Most elegant designChange freelyThe tidiest plan, the least wasted space. Subnetris notes waste; it never fails you for it.
Business needChange reluctantlyEvery network on the list gets a subnet that fits, and the exercise's own rules are met.
ConventionFollow unless toldThe course conventions below. Reported as a note.
N-2 ruleMostly unbreakableTwo addresses per subnet cannot be hosts. A network that is one address short fails here.
Binary lawUnbreakableNetworks divide in powers of two. The tool cannot draw anything else.

The rule you bend first is the most elegant design. The one you can never bend is binary law.

The conventions above are the lecture's defaults. An instructor can change them from Conventions in the menu (gateway first or last, statics from the start or the end, a pool or none, other DNS servers), and the choice travels in the link, so a link you were sent is read against the conventions it came with. Check's Convention card always states the ones in force.

The table, column by column

Under the diagram is the handout table, one row per subnet in address order.

ColumnWhat it holds
LabelThe name you assigned to this block, if any.
Network #The first address and the prefix together, such as 132.235.0.0/26. The address is the blue edge; the prefix is the slash notation the diagram prints on each block. They share a cell because those two are what you type into a router together, and the prefix also tells you the size: a /26 is 64 addresses.
Usable IPsThe addresses you can actually assign to machines.
Broadcast AddressThe last address. The red edge.
HostsThe total minus the network number and the broadcast.
Subnet Mask Dotted DecimalThe mask Windows shows you, such as 255.255.255.192. Hidden by default; see below.
BinaryThe same mask in binary. Where the mask has a 1 the bit is network; where it has a 0 the bit is host. Hidden by default; see below.
GatewayThe gateway you entered for that network in its addressing plan. The column appears on its own once you have entered a gateway for any network and goes away when none is left; a network you have not addressed yet reads not set. It never shows the gateway the conventions would give.

Pointing at a block on the diagram selects it, and so does clicking its row here: either way the row and the block light up together and the block's details appear at the foot of the left panel. The selection stays put when the pointer leaves the diagram, so you can move over to the panel and read it.

Two checkboxes beside the panel title, Hide binary and Hide dotted decimal, are both ticked to begin with. That leaves the five columns you need for most work, and they fit the width without scrolling sideways. Untick Hide dotted decimal when you want the mask Windows would show you, and untick Hide binary when you want to see where the boundary actually sits in the bits, which is the one thing binary shows you that dotted decimal does not.

Both settings are remembered, and Copy follows them, so what you paste is what you were looking at. A drill overrides them: if the drill asks you for the mask, that column appears whatever the checkbox says, because otherwise the question would vanish with the column.

The N-2 rule and the tax rows

Three rows sit at the foot of the table.

Work the handout's five walkthrough tables in order and watch those three numbers. A whole /24 is 254 usable and a tax of 2. Four /26 networks out of the same /24 are 248 usable and a tax of 8. You did not lose addresses to arithmetic; you spent them on having four networks.

Watch the wording on a quiz. "How big is the subnet" means the total, which you read off the prefix in the Network # column: a /26 is 64 addresses. "How many hosts will it hold" means the Hosts column.

Course conventions

These apply to every subnetting assignment for the whole semester.

Filling in the addressing plan

Cutting the block and handing it to a network answers "how big". The addressing plan answers "which address goes where", which is the half you will actually type into a router.

Once a network has a subnet, its row in the Business needs panel grows an Addressing section. Open it and there are three things to fill in:

Every box takes a full address such as 10.200.5.126, or just the part that changes, such as .126. Shorthand is filled in from the block the network sits in, so you are never retyping an octet the diagram already shows you. An empty DHCP pool or static is unanswered, not wrong. An empty gateway is wrong; see below.

The badge beside the word Addressing says where you stand at a glance: not started, ok, a count of things to check, or a count of problems.

Remove deletes a static you added. On a static the exercise requires, the button reads Clear instead and only empties the address, because the exercise still wants that device addressed.

The gateway is yours to place

Nothing in the panel is filled in for you, and nothing tells you where the gateway goes. The box shows a.b.c.d until you type an address. Work it out from the conventions: under the lecture's defaults the gateway is the last usable address, so for 10.200.5.0/25 that is .126.

A network that has a subnet but no gateway fails Check under Business need, because a network without a default gateway does not work. This is the one addressing box that is not optional. Once you have committed an address, the panel and the report tell you where it departs from the conventions, so you can check yourself after working it out, never instead of working it out.

Problems and things to check

Subnetris separates the two, and the difference is the whole point.

That split is Bowie's Hierarchy doing its job. A convention is a rule you follow unless you are told otherwise, so breaking one is worth a sentence rather than a failure. The N-2 rule is nearly unbreakable, so putting the gateway on the broadcast address is a failure.

Your plan travels in the share link along with everything else, so a link you send to a classmate or hand in carries the addresses you typed.

Exercises and the Check button

Exercises in the toolbar opens the library. It has three sections.

An exercise loads its network and its list of needs into the left panel. Cut the block, then drag each piece onto the network that should live there, as described under Assigning a subnet to a network. When every need has a home, press Check.

What each message means

Check opens its report in a window over the diagram: one card per rule, in the order of the table above, from the rule you bend first at the top to Binary Law at the bottom, and each card is either OK, FAIL or NOTE. Close it, fix what it names, and press Check again. The badge on each need in the left panel keeps the last result after the window closes.

Changing the tree clears the report, so a message on screen always describes what you are looking at.

Random exercises and codes

Open Exercises and choose Random from the category pull-down. It builds a fresh problem: pick a difficulty, decide whether you want public or private address space, and press Start. If your instructor posted a code, paste it into the Code box instead and press Start.

TierWhat you get
AA /24 into two equal parts.
BA /24 into four equal parts.
CA /24 or /25 into three networks using all the space, largest first.
DA /24 for three or four LANs by host count.
EA /22 for four or five sites by host count.
FA /20 for five departments plus a router-to-router link.

Each problem has a code such as SN1-DPK7M3Q. The same code always builds the same problem, so if your instructor posts one code, everyone in the class works the same numbers, and you can quote the code when you ask a question.

Drill mode

Drill in the menu hides the addresses on the diagram and turns the table into blanks. You fill in the network number, the broadcast, the mask and the usable count for each subnet, then press Grade.

Some exercises start in drill mode by themselves. Your typed answers never travel in a share link, so a drill link you send to a classmate arrives blank.

Sharing your work

The address bar carries your whole plan: the allocation, every cut, the names you assigned and the exercise you are working. Bookmark the page or copy the link from Share and it comes back exactly as you left it.

The menu also opens the same plan in the ECT Visual Subnet Calculator, and a link from that calculator opens here with its divisions and labels intact, so you can move between the two tools freely.

The cheat sheet

Help carries the mask table from /22 to /32. Learn the /24 line and derive the rest by halving or doubling: 256 total and 254 usable at /24, halve to 128 and 126 at /25, halve again to 64 and 62 at /26. If you can rebuild that table from the /24 row you never have to memorise the whole thing, which matters because you can write it out on blank paper at the start of a quiz.

The table follows the course handout, where a /31 and a /32 have no usable addresses. Real equipment can use a /31 as a two-address point-to-point link under RFC 3021, but that is not what this course asks for.

Keyboard and accessibility

Tips that pay off