Subnetting classroom activity
Name: ______________________ Date: ______________
Subnetting looks like arithmetic with strange numbers, but it is just splitting a block of addresses into equal parts. Use the Subnet and CIDR Visualiser to see the split and check your working; allow about 30 minutes. It suits networking units in computing courses.
What you will learn
- What a prefix such as /24 means and how many addresses it holds.
- How borrowing bits creates subnets and shrinks the number of hosts.
- How to choose a prefix for a required number of hosts.
Step 1: predict first
- A /24 network holds 256 addresses. Why can only 254 be given to devices? ________
- If you split a /24 into four equal subnets, what prefix does each have? ________
Step 2: split 192.168.10.0/24 into four
Open the settings. Read the network address, the broadcast address and the usable range of each of the four subnets from the table in the simulator.
| Subnet | Network address | Broadcast address | Usable range |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | |||
| 4 |
Open the settings for this table
Step 3: how the prefix changes the numbers
| Split into | Settings | Subnets | Usable hosts each | Subnet mask |
|---|---|---|---|---|
| /25 | Open | |||
| /26 | Open | |||
| /27 | Open | |||
| /28 | Open | |||
| /30 | Open |
Questions
- What is the pattern in the third number or last number of each network address in Step 2? What is the block size?
- You need subnets of at least 50 hosts each from a /24. Which is the smallest prefix that works: /26, /27 or /28? Explain.
- Why does a /30 hold only 2 usable hosts? Why was it the traditional choice for a link between two routers?
- The simulator counts a /31 as having 2 usable hosts. Look up RFC 3021 and explain why this is allowed.
Teacher answer key
This section does not print. Every figure below is what the simulator shows for those settings.
| Subnet | Network | Broadcast | Usable range |
|---|---|---|---|
| 1 | 192.168.10.0/26 | 192.168.10.63 | 192.168.10.1 – 192.168.10.62 |
| 2 | 192.168.10.64/26 | 192.168.10.127 | 192.168.10.65 – 192.168.10.126 |
| 3 | 192.168.10.128/26 | 192.168.10.191 | 192.168.10.129 – 192.168.10.190 |
| 4 | 192.168.10.192/26 | 192.168.10.255 | 192.168.10.193 – 192.168.10.254 |
Each subnet starts 64 addresses after the last (block size 64, from 2³²⁻²⁶), and the mask is 255.255.255.192.
| Split into | Subnets | Usable hosts each | Mask |
|---|---|---|---|
| /25 | 2 | 126 | 255.255.255.128 |
| /26 | 4 | 62 | 255.255.255.192 |
| /27 | 8 | 30 | 255.255.255.224 |
| /28 | 16 | 14 | 255.255.255.240 |
| /30 | 64 | 2 | 255.255.255.252 |
Question 1: the last number goes up in steps of 64: 0, 64, 128, 192.
Question 2: /26 (62 usable hosts). A /27 holds only 30 usable hosts, which is too few; /26 is the largest block that fits four subnets in a /24 and still reaches 50 hosts.
Question 3: a /30 has 4 addresses; the network and broadcast addresses use two, leaving 2 usable. A router-to-router link needs exactly two addresses, so a /30 wastes none.
Question 4: RFC 3021 allows a /31 on point-to-point links, so both addresses are usable and no network or broadcast address is needed.
Sources and references
The figures in this sheet were calculated from the formulas on the simulator page and checked against the live simulator.
- RFC 4632, Classless Inter-domain Routing (CIDR) (accessed 12 November 2026)
- RFC 3021, Using 31-Bit Prefixes on IPv4 Point-to-Point Links (accessed 12 November 2026)
- RFC 950, Internet Standard Subnetting Procedure (accessed 12 November 2026)