Subnetting Simplified CCNA: It Isn’t Scary Once You See the Logic
Subnetting simplified CCNA style means fewer rules to memorize and more logic to follow.
Subnetting is the part of CCNA that makes or breaks most candidates. It looks intimidating at first โ binary math, network bits, host bits โ but once you grasp the logic, everything clicks.
This guide will walk you through:
- What IP addressing and subnetting actually are
- How to break networks into subnets
- How to solve subnetting questions quickly
If you’re tired of memorizing subnetting tables without understanding, this blog is for you.
๐ What is IP Addressing?
Every device on a network needs a unique IP address to communicate.
An IP address looks like this:
IP : 192.168.10.2
Itโs made up of:
- Network portion: Identifies the network
- Host portion: Identifies the specific device
๐งฎ Classful IP Addressing (Quick Refresher)
| Class | Range | Default Subnet Mask | Use |
|---|---|---|---|
| A | 1.0.0.0 โ 126.255.255.255 | 255.0.0.0 (/8) | Large networks |
| B | 128.0.0.0 โ 191.255.255.255 | 255.255.0.0 (/16) | Medium |
| C | 192.0.0.0 โ 223.255.255.255 | 255.255.255.0 (/24) | Small |
Tip: Classless addressing (CIDR) is what we use now, but this still helps with subnet design logic.
๐งฉ CIDR Notation Explained
Instead of writing the full subnet mask like 255.255.255.0, we use CIDR:
192.168.1.0/24
Here, /24 means the first 24 bits are the network portion. The remaining bits are for hosts.
| CIDR | Subnet Mask | Hosts per Subnet |
|---|---|---|
| /24 | 255.255.255.0 | 254 |
| /25 | 255.255.255.128 | 126 |
| /26 | 255.255.255.192 | 62 |
| /27 | 255.255.255.224 | 30 |
๐ Why Subnetting Matters
๐ Security:
Split departments (HR, Sales, IT) into different subnets for access control.
๐ Performance:
Reduces broadcast domains = faster communication.
๐ Scalability:
Lets you efficiently assign IPs and avoid wasting addresses.
๐งฎ Step-by-Step: How to Subnet (Made Easy)
Letโs say youโre given this:
You need 4 subnets from 192.168.1.0/24
โ๏ธ Step 1: Convert Needed Subnets to Bits
2โฟ โฅ 4 โ n = 2 (because 2ยฒ = 4)
Youโll borrow 2 bits from host portion:
- /24 becomes /26
- New subnet mask:
255.255.255.192
โ๏ธ Step 2: Calculate Subnet Increments
Block size = 2โธ – subnet bits = 64
Subnets:
- 192.168.1.0
- 192.168.1.64
- 192.168.1.128
- 192.168.1.192
โ๏ธ Step 3: Assign Subnets
| Subnet | Range | Broadcast | Usable IPs |
|---|---|---|---|
| 0 | .1 โ .62 | .63 | 62 hosts |
| 64 | .65 โ .126 | .127 | 62 hosts |
| 128 | .129 โ .190 | .191 | 62 hosts |
| 192 | .193 โ .254 | .255 | 62 hosts |
๐ Subnetting Practice Example
Question:
You need to create at least 5 subnets from a 192.168.1.0/24 network, and each subnet must support at least 30 hosts. What subnet mask and CIDR should you use?
Working it through:
- For at least 5 subnets: 2ⁿ ≥ 5 → n = 3 (2³ = 8 subnets, the smallest power of 2 that covers 5)
- Borrowing 3 bits from the host portion of a /24 gives /27
- Check the host requirement: a /27 leaves 5 host bits → 2⁵ – 2 = 30 usable hosts per subnet – exactly enough
Answer: /27, subnet mask 255.255.255.224, giving 8 subnets of 30 usable hosts each. This is the exact kind of two-constraint question (minimum subnets AND minimum hosts) the real exam asks – always check both numbers against your chosen CIDR before finalizing it, since satisfying only one of the two is a common wrong-answer trap.
VLSM: Subnets of Different Sizes
Every example above assumes every subnet is the same size, which wastes addresses in the real world – a point-to-point WAN link between two routers needs only 2 usable addresses, not 62. Variable Length Subnet Masking (VLSM) is subnetting a subnet again, using a different, more appropriate mask for each segment based on how many hosts it actually needs.
The practical rule: size the biggest subnet first, then work down to the smallest. For a network needing one 50-host LAN, one 20-host LAN, and one 2-host WAN link from 192.168.1.0/24:
| Segment | Hosts needed | CIDR | Subnet |
|---|---|---|---|
| LAN A | 50 | /26 (62 usable) | 192.168.1.0/26 |
| LAN B | 20 | /27 (30 usable) | 192.168.1.64/27 |
| WAN link | 2 | /30 (2 usable) | 192.168.1.96/30 |
This is a real, frequently tested CCNA topic precisely because it mirrors how addressing is actually planned on a real network – nobody hands a /30 point-to-point link a /24’s worth of wasted addresses.
Tools & Resources for Fast Practice
๐โโ๏ธ FAQ โ Google-Ranked Questions
What is subnetting in simple words?
Subnetting is dividing one large network into smaller, more manageable networks.
How do I calculate subnet masks?
Use powers of 2 to calculate how many bits you need to borrow. Then convert to CIDR.
What’s the difference between IP address and subnet mask?
An IP address identifies a device; the subnet mask defines what part is network vs. host.
Do I need to know binary for CCNA subnetting?
Yes, a basic understanding of binary is essential โ at least enough to convert and calculate subnet blocks.
Wildcard Masks: Subnet Masks’ Inverted Cousin
ACLs and OSPF’s network statements do not use a subnet mask – they use a wildcard mask, which is the inverse. This single point of confusion costs more CCNA candidates points than almost anything else in this topic area:
Subnet mask: 255.255.255.0
Wildcard mask: 0.0.0.255
The quick way to calculate a wildcard mask without re-deriving it from scratch: subtract each octet of the subnet mask from 255. A /27 (255.255.255.224) becomes a wildcard of 0.0.0.31. This is exactly why an access-list or router ospf network line that looks like it has the subnet mask typed backwards is often correct – it is supposed to be inverted.
If you’d rather have someone walk through this with you step by step, or need a specific Packet Tracer lab completed and explained rather than figured out alone, see the CCNA & Packet Tracer Tutoring page for how that works.

