IT Manager candidate based in Riyadh. 12+ years in IT operations and infrastructure.
+966 55 973 2392
https://www.islamfathi.com
Riyadh, Saudi Arabia
A practical way to read prefixes, find block boundaries and plan VLAN ranges, with a table you can keep next to your keyboard.
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.
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
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.
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.
Your email address will not be published. Required fields are marked *