Week 2IP Connectivity40 min

Subnetting Mental Model

Learning objectives

  • Think in network bits vs host bits without memorizing every table
  • Estimate block sizes and prefix boundaries quickly
  • Connect exam questions to real address planning
  • Build intuition for the seven attributes of any subnet

Watch first

Recommended video

Subnetting Mastery Part 1 — Seven Attributes

Video credit: Jeremy's IT Lab

Watch on YouTube
Recommended video

Subnetting Part 1 (Day 13)

Video credit: Jeremy's IT Lab

Watch on YouTube

Also watch — playlist supplement

Recommended video

Binary — How Does That Work? (Video #13)

Video credit: David Bombal

Watch on YouTube
Recommended video

Binary IP Conversions (Video #14)

Video credit: David Bombal

Watch on YouTube

Plain-English explanation

Subnetting splits one big address block into smaller networks. The CIDR prefix (e.g., /26) tells you how many bits belong to the network portion. Everything left over identifies hosts — minus network and broadcast addresses in classic IPv4 subnets.

If /24 is one classroom of 256 seats, /25 splits it in half (128 addresses each), /26 into quarters (64 each), and so on. Each +1 to the prefix halves the block size.

Deep dive

CIDR Conversion Table

Keep this table nearby while drilling subnetting.

From study charts · jdepew88 CCNA notes

The seven attributes (learn to find all seven for any address/prefix):

  1. CIDR notation
  2. Subnet mask (dotted decimal)
  3. Network address (host bits = 0)
  4. Broadcast address (host bits = 1)
  5. First usable host
  6. Last usable host
  7. Total / usable host count

Block size shortcut: For prefixes in the last octet, subtract mask octet from 256.

  • /24 → mask .0 → block 256
  • /25 → mask .128 → block 128
  • /26 → mask .192 → block 64
  • /27 → mask .224 → block 32
  • /28 → mask .240 → block 16
  • /29 → mask .248 → block 8
  • /30 → mask .252 → block 4

Host bits: 32 - prefix = host bits. Total addresses = 2^host bits. Classic usable = total − 2 (network + broadcast).

Step-by-step — find the subnet of 192.168.10.45/26

  1. /26 → block size 64 in the last octet
  2. Multiples of 64: 0, 64, 128, 192 — 45 falls in 0–63 block
  3. Network: 192.168.10.0
  4. Broadcast: 192.168.10.63
  5. Usable: 192.168.10.1192.168.10.62 (62 hosts)
  6. Mask: 255.255.255.192

Commands to know

Cisco — verify subnet on interface

interface GigabitEthernet0/0 ip address 192.168.10.1 255.255.255.192 ! show ip interface GigabitEthernet0/0

Troubleshooting

| Mistake | Result | |---------|--------| | Wrong mask on host | Host thinks neighbor is remote → traffic via gateway fails | | Wrong gateway subnet | ARP fails or asymmetric routing | | Overlapping subnets | Intermittent reachability, routing loops | | Block size miscalculation | Off-by-one broadcast errors on exams |

When two hosts "can't talk on the same VLAN," verify they share the same network address per their masks before chasing ARP.

Exam relevance

Speed trick

Memorize the /24 boundary first, then halve block sizes as the prefix number increases by 1 in the same octet.

Exam trap

Usable host count is not always 2^n - 2 for /31 and /32 in modern point-to-point use — CCNA still tests classic rules heavily; know both exist.

Practice checklist

  • Given any /24–/29, state block size in under 5 seconds
  • For five random host/prefix pairs, list all seven attributes
  • Explain why /28 wastes fewer addresses than /24 for a 10-host LAN
  • Complete 10 timed drills on the subnetting trainer
  • Teach the block-size method to someone else without notes

How many total addresses are in a /26 subnet?

You need at least 50 usable host addresses. What is the smallest typical prefix?

Video credits

These are free, open educational videos from independent creators. We link and embed them with attribution; all rights belong to the respective channels.

Related tools