IT Manager candidate based in Riyadh. 12+ years in IT operations and infrastructure.

Phone

+966 55 973 2392

Website

https://www.islamfathi.com

Address

Riyadh, Saudi Arabia

Social Links

Tutorials

Subnetting without the headache

A practical way to read prefixes, find block boundaries and plan VLAN ranges, with a table you can keep next to your keyboard.

Subnetting without the headache

Subnetting looks like arithmetic homework until you need to carve up an address range for a new branch. A small amount of pattern recognition is enough for daily work.

The prefix tells you the size

A /24 has 256 addresses, so 254 usable hosts. Every time the prefix grows by one, the block halves: a /25 has 128 addresses, a /26 has 64, a /27 has 32. Two addresses in each block are reserved, the network address and the broadcast address, so usable hosts are the block size minus two.

/24  256 addresses  254 hosts  255.255.255.0
/25  128 addresses  126 hosts  255.255.255.128
/26   64 addresses   62 hosts  255.255.255.192
/27   32 addresses   30 hosts  255.255.255.224
/28   16 addresses   14 hosts  255.255.255.240
/29    8 addresses    6 hosts  255.255.255.248
/30    4 addresses    2 hosts  255.255.255.252
Finding the boundaries

Take 192.168.10.0/26. The block size is 64, so the networks start at 192.168.10.0, 192.168.10.64, 192.168.10.128 and 192.168.10.192. In the first one the usable addresses run from .1 to .62 and .63 is the broadcast. A host at 192.168.10.70 belongs to the second block, whose network address is .64.

Planning for growth

Size each VLAN for the devices you have now plus a margin, then leave gaps between blocks so a segment can grow without renumbering. Many offices give each VLAN a /24 for simplicity and use a /29 or /30 for point-to-point links. Writing the plan in a table before you configure anything saves arguments later.

1 min read
May 05, 2026
By Islam Fathy
Share

Leave a comment

Your email address will not be published. Required fields are marked *

Related posts

Oct 06, 2026 • 1 min read
Automating Repetitive IT Tasks with PowerShell and C#

How small scripts and simple tools save IT teams hours every week, and where to start.

Sep 29, 2026 • 2 min read
SPF, DKIM and DMARC in plain terms

Three DNS records decide whether your email is trusted. What each one does, an example of each, and...

Aug 18, 2026 • 2 min read
DNS problems you can diagnose in five minutes

Many network is down tickets are DNS. A few commands and one question tell you whether the name or t...

Your experience on this site will be improved by allowing cookies. We use cookies to enhance performance and improve your browsing experience. Cookie Policy