Content updated: 15 September 2026. Source access dates are listed below.
Subnetting for CCNA: calculate networks using a method you can explain
Speed follows understanding. Learn to relate prefixes, bits and block size; then check the result using a short, repeatable sequence.
How do I calculate an IPv4 subnet for CCNA practice?
Identify the prefix and block size, find the network boundary, then check the broadcast address and usable host range for a conventional IPv4 LAN. Work through the calculation before timing yourself. Learn IPv6 separately; IPv4 broadcast rules do not transfer to IPv6.
Worked example: 192.168.10.77/26
A /26 prefix leaves six host bits, so each block contains 64 addresses. In this /24 range the boundaries are .0, .64, .128 and .192. Address .77 falls in the .64 block: the network is 192.168.10.64 and the broadcast address is 192.168.10.127.
For a conventional multi-access IPv4 subnet, the usable range is .65 to .126: 62 host addresses. Check the result by confirming that .77 lies inside the range and that the next block begins at .128. Special cases such as /31 point-to-point links require their own rules.
- For VLSM, allocate the largest required subnet first and check alignment.
- List each allocated range so that you can detect overlap.
- Practise IPv6 prefix planning without inventing an IPv6 broadcast address.
Reference material: Cisco: CCNA 200-301 v2.0 exam topics
Six-step method for IPv4
- Read the prefix and convert it to a decimal mask when the exercise requires it.
- Locate the interesting octet: the first in the mask that is neither 255 nor 0.
- Calculate the block size as 256 minus that octet's value in the mask.
- Find the multiple of the block size immediately below or equal to the IP value: that is the start of the subnet in that octet.
- The next boundary minus one gives the broadcast address. The usable range in a traditional subnet lies between the network and broadcast addresses.
- Check that the IP belongs to the range and that the prefix provides the requested number of addresses.
Worked example: 192.168.10.70/27
A /27 corresponds to 255.255.255.224. In the last octet, the block size is 256 − 224 = 32. The boundaries are 0, 32, 64, 96… The value 70 falls between 64 and 95.
| Item | Result | Check |
|---|---|---|
| Network | 192.168.10.64/27 | First address in the block |
| First host | 192.168.10.65 | Network + 1 |
| Last host | 192.168.10.94 | Broadcast − 1 |
| Broadcast | 192.168.10.95 | Next boundary (96) − 1 |
| Total addresses | 32 | 2^(32 − 27) |
| Traditional usable hosts | 30 | 32 − network − broadcast |
VLSM: allocate the largest requirement first
In VLSM, order requirements from largest to smallest, choose the smallest sufficient prefix for each and always move along valid boundaries. Do not allocate in the order departments appear if that fragments the space.
- Include spare capacity only when the requirement calls for it; do not invent it.
- Reserve network and broadcast addresses in IPv4 when the subnet type requires it.
- Record the block used, rather than just the host range.
- Check for overlaps and that the intended summary route remains possible.
Common errors the trainer should detect
- Confusing the number of addresses with usable hosts.
- Using the correct mask but starting outside a valid boundary.
- Choosing the higher multiple for the network address.
- Forgetting that the broadcast is the address immediately before the next subnet.
- Allocating small subnets first in a VLSM problem and causing fragmentation.
- Transferring IPv4 broadcast concepts to IPv6.
How the free trainer works
It generates new values, asks for each part of the calculation and gives a hint about the step rather than the full answer. The history distinguishes conceptual errors, arithmetic errors and slow responses to suggest the next difficulty level.
Independence notice
KINTAVOR provides independent educational preparation. It is not affiliated with, sponsored, authorised or endorsed by Cisco. Cisco, CCNA and the other brands mentioned belong to their respective owners.
Frequently asked questions
What should I calculate in an IPv4 subnetting exercise?
Usually the prefix, mask, block size, network address, broadcast address, usable range and number of addresses. The question determines whether design or allocation is also required.
What is the difference between subnetting and VLSM?
Subnetting divides a block. VLSM uses prefixes of different lengths to match each subnet to a different requirement and reduce waste.
How do I practise without memorising a table?
By relating borrowed bits, powers of two and block size. Speed comes after understanding the process and checking each result.
Does the trainer include IPv6?
The learning pathway separates IPv4 calculations from reading and planning IPv6 prefixes to avoid transferring broadcast rules that do not apply to IPv6.
Why does the example use 62 hosts rather than 64?
The /26 block has 64 addresses. In the conventional IPv4 LAN example, one identifies the network and one is the broadcast address, leaving 62 for hosts. This rule should not be applied blindly to /31 links, /32 routes or IPv6.
Sources and date accessed
- Cisco: CCNA 200-301 v2.0 exam topics — Official v2.0 scope, including IPv4 subnetting, routing and troubleshooting. · accessed 2026-09-15