Chapter 8 — Session 2: Subnetting a /24 Network

🌐 Chapter 8 — Session 2: Subnetting a /24 Network

Now we move from understanding subnetting to actually creating subnets from a /24 network.

We’ll focus on:

/24 → /25 → /26 → /27 → /28 → /29 → /30

and connect the three things you’ve been practicing:

Borrowed bits → Number of subnets → Hosts per subnet

📋 Topics to Mark Off

  • ⬜ Starting Prefix

  • ⬜ New Prefix

  • ⬜ Borrowed Bits

  • ⬜ Host Bits Remaining

  • ⬜ Number of Subnets

  • ⬜ 2^s

  • ⬜ Total Addresses

  • ⬜ 2^h

  • ⬜ Usable Hosts

  • ⬜ 2^h − 2

  • ⬜ /24 → /25

  • ⬜ /24 → /26

  • ⬜ /24 → /27

  • ⬜ /24 → /28

  • ⬜ /24 → /29

  • ⬜ /24 → /30

  • ⬜ Choosing a Prefix Based on Hosts

🧠 The Big Idea

If you start with:

192.168.1.0/24

and change it to:

/27

you are taking some of the original host bits and turning them into network/subnet bits.

That is called borrowing bits.

Your three calculations are:

Borrowed bits
= New prefix − Original prefix

Number of subnets
= 2^borrowed bits

Host bits
= 32 − New prefix

Usable hosts
= 2^host bits − 2

Example: /24 → /27

Step 1: Borrowed bits

27 − 24 = 3

You borrowed 3 bits.

Step 2: Number of subnets

2³ = 8

You created 8 subnets.

Step 3: Host bits remaining

32 − 27 = 5

There are 5 host bits.

Step 4: Usable hosts

2⁵ − 2
= 32 − 2
= 30

Each traditional /27 subnet supports 30 usable hosts.

⭐ The /24 Subnetting Table

New Prefix

Borrowed Bits

Subnets

Host Bits

Usable Hosts

/25

1

2

7

126

/26

2

4

6

62

/27

3

8

5

30

/28

4

16

4

14

/29

5

32

3

6

/30

6

64

2

2

🚨 The Part I Want You to Get Automatic

Suppose Network+ asks:

A /24 network is subnetted using /26. How many subnets are created?

Don't calculate hosts.

The question says SUBNETS.

/24 → /26

26 − 24 = 2 borrowed bits

2² = 4

✅ 4 subnets

But if it asks:

How many usable hosts does each /26 subnet support?

Now we're doing HOSTS:

32 − 26 = 6 host bits

2⁶ − 2
= 64 − 2
= 62

✅ 62 usable hosts

🧠 Memory

SUBNET question?
S = borrowed bits
2^S

HOST question?
H = remaining host bits
2^H − 2

This session is mainly about learning to recognize what the question is asking you to calculate before you touch the math.