Every time I see someone asking “how do I learn subnetting?” on Reddit, I flash back to my own struggle. 2026 and the CCNA exam hasn’t gotten any easier on this front. Most cheat sheets out there are either outdated or pure theory with zero practical value.
Here’s the thing I learned the hard way: memorizing tables won’t save you when the exam throws a curveball. You need to understand the why behind the math.
Why Most Subnetting Cheat Sheets Are Garbage
I spent months digging through Reddit threads and HN discussions. The pattern is clear: everyone’s memorizing formulas without understanding the mechanics. That classic 256-192=64 trick works until the exam twists the question.
Worse, most tutorials mash CIDR, VLSM, and ACLs together into an incomprehensible mess. Here’s my take: accuracy beats speed in the CCNA exam. Getting the broadcast address wrong by 1 bit costs you the whole question.
My Three-Step Subnetting Framework
This is what I refined after failing my first practice exam and debugging production networks for years.
Step 1: Find the Block Size Instantly
Forget everything else. Look at the last octet. The magic formula: 256 minus subnet mask = block size.
Mask 192? Block size = 256-192 = 64. Subnets start at 0, 64, 128, 192. Done.
Step 2: Identify Network and Broadcast Addresses
Network address is the block size multiple. Broadcast is the next subnet start minus 1.
Example: 192.168.1.0/26. Block size 64.
- Subnets: 0-63, 64-127, 128-191, 192-255
- Network: 192.168.1.0
- Broadcast: 192.168.1.63
I drilled this about 100 times before it became muscle memory.
Step 3: Calculate Usable Hosts
Formula: 2^(32 - CIDR) - 2. Subtract 2 for network and broadcast.
/26 gives 2^6 - 2 = 62 hosts.
CLI Commands You Must Practice
Don’t just read. Fire up GNS3 or Packet Tracer and type these:
# Check interface IP and mask
show ip interface brief
# Configure an interface
configure terminal
interface gigabitethernet 0/0
ip address 192.168.1.1 255.255.255.192
no shutdown
# Verify routing
show ip route
# Test connectivity
ping 192.168.1.62
The real test: ACL questions will expose weak subnetting skills immediately.
access-list 1 permit 192.168.1.0 0.0.0.63
See 0.0.0.63? That’s a /26 subnet with block size 64. You need to recognize this in under 5 seconds.
The Cheat Sheet You Need for the Exam
Memorize this table. It’ll save you 10+ minutes on exam day:
| Mask | CIDR | Subnets | Hosts/Subnet | Block Size |
|---|---|---|---|---|
| 255.255.255.0 | /24 | 1 | 254 | 256 |
| 255.255.255.128 | /25 | 2 | 126 | 128 |
| 255.255.255.192 | /26 | 4 | 62 | 64 |
| 255.255.255.224 | /27 | 8 | 30 | 32 |
| 255.255.255.240 | /28 | 16 | 14 | 16 |
| 255.255.255.248 | /29 | 32 | 6 | 8 |
| 255.255.255.252 | /30 | 64 | 2 | 4 |
Pro tip: /30 is your go-to for point-to-point links. Only 2 usable IPs, but that’s all you need.
VLSM: Stop Using One Mask for Everything
Real networks don’t work that way. VLSM (Variable Length Subnet Mask) gives you flexibility.
Say you have 192.168.1.0/24 for three departments:
- Sales: 100 hosts
- R&D: 50 hosts
- Finance: 20 hosts
Here’s the allocation:
- Sales: /25 (126 hosts), 192.168.1.0/25
- R&D: /26 (62 hosts), 192.168.1.128/26
- Finance: /27 (30 hosts), 192.168.1.192/27
Warning: Start with the largest subnet first. I learned this the hard way when I ran out of space mid-allocation during my first attempt.
Tricky Exam Questions You’ll Face
1. Broadcast Address Calculation
Given 172.16.5.100/22, find the broadcast.
Solution: /22 means third octet mask is 255.255.252.0. Block size = 256-252 = 4. 172.16.5.100 is in subnet 172.16.4.0. Broadcast is 172.16.7.255.
2. ACL and Subnet Combination
access-list 10 permit 10.0.0.0 0.255.255.255 permits what?
Analysis: Wildcard mask 0.255.255.255 matches only the first octet. Permits 10.0.0.0 through 10.255.255.255. This is the entire 10.0.0.0/8 private range.
3. Route Summarization
Summarize 192.168.1.0/24, 192.168.2.0/24, 192.168.3.0/24.
Solution: Third octets are 1 (00000001), 2 (00000010), 3 (00000011). First 6 bits match (000000). Summary: 192.168.0.0/22.
My Honest Advice for Passing
Ignore the “learn subnetting in 3 days” ads. I spent two weeks grinding 50 practice questions daily before it clicked.
Tools that actually work:
- Subnetting.net: Free random practice questions
- Cisco Packet Tracer: Validate your answers by configuring real devices
- Boson ExSim: Good quality, but don’t rely on it exclusively
Most important: You get scratch paper in the exam. Write down the cheat table above before you start. I know people who failed because they wasted time recalculating basic block sizes.
FAQ
Q: What’s the difference between subnetting and VLSM? A: Subnetting divides a network into equal-sized subnets (all /26). VLSM lets you use different sizes (one /26, one /27, one /28). VLSM is more common in both the exam and real-world.
Q: How do I convert between subnet mask and wildcard mask? A: Wildcard mask = 255.255.255.255 - subnet mask. Example: /26 mask 255.255.255.192 gives wildcard 0.0.0.63. Essential for OSPF and ACL configuration.
Q: Do I need to do manual calculations in the exam? A: Yes. No calculators allowed. You must be able to compute block sizes, network addresses, and broadcast addresses by hand. Memorize the cheat table.
Q: Is subnetting actually used in real network engineering? A: Absolutely. Last year I designed a campus network VLAN scheme. Without solid subnetting skills, you can’t plan IP allocation efficiently. It’s not just an exam topic — it’s a daily tool.
That’s it. If you’re grinding for the CCNA, don’t panic. Subnetting is pure repetition. Once you see a mask and instantly know the block size, you’re ready.
Drop your questions in the comments. I’ll help where I can.