"The network you build is the net worth you earn."
Back to all articles
CCNA Tips

Top 5 Subnetting Tricks for the CCNA Exam

Tungabadra Networks 6 min read

Subnetting scares more CCNA candidates than any other topic. The secret: stop calculating in binary under exam pressure and start using shortcuts. Here are five tricks that turn a two-minute problem into a 30-second one.

1. Memorise the block-size table

The last octet values for subnet masks are always the same: 128, 192, 224, 240, 248, 252, 254, 255. The corresponding block sizes are 128, 64, 32, 16, 8, 4, 2, 1. Know these cold and most questions collapse instantly.

2. The magic number method

The "magic number" is 256 minus the interesting octet of the mask. For a /26 (mask 255.255.255.192), the magic number is 256 − 192 = 64. Subnets fall on multiples of 64: .0, .64, .128, .192. Find which block your IP lands in and you have the network and broadcast addresses immediately.

3. Hosts per subnet: 2ⁿ − 2

Count the host bits (n) and compute 2ⁿ − 2. A /26 leaves 6 host bits: 2⁶ − 2 = 62 usable hosts. The −2 is for the network and broadcast addresses.

4. Subnets created: 2ʳ

Count the bits you borrowed from the host portion (s). 2ʳ gives the number of subnets. Borrow 2 bits from a /24 and you get 2² = 4 subnets.

5. Work the interesting octet only

Never subnet all four octets. Identify the single octet where the mask changes and solve only that one. Everything to the left is fixed network; everything to the right is host.

Why this sticks better with packets

Tricks help you pass; understanding helps you work. Once you can see how a host decides whether a destination is local or remote — by ANDing its IP with the mask — subnetting stops being arithmetic and becomes obvious. That is the packet-level approach we use in our CCNA course.

Start your networking career with Tungabadra Networks

Every batch is built around real hardware and packet-level training — you watch traffic move frame by frame in Wireshark instead of memorising theory. That is what makes our graduates job-ready.

Ready to Accelerate Your IT Career?

Join thousands of successful professionals who transitioned into high-paying networking roles with our industry-aligned training programs.