CHAPTER 1
Subnetting & VLSM
Master IP subnetting and Variable Length Subnet Masking
Estimated Time
5-7 hours
Difficulty
Medium
XP Points
0 / 500
0%
0%
Complete
Lesson 1: What is Subnetting?
The Apartment Building Analogy
Imagine an IP network as a large apartment building:
- The building addressis like the network address (192.168.1.0)
- Each apartmentis like a host IP (192.168.1.1, 192.168.1.2, etc.)
- The subnet maskdetermines how many apartments are in the building
Why Do We Need Subnetting?
📊 Efficient IP Usage
Don't waste valuable IP addresses
🔒 Better Security
Isolate departments and services
⚡ Improved Performance
Reduce broadcast traffic
🗂️ Network Organization
Logical network segmentation
Key Terms
Network Address: First address in subnet (all host bits = 0)
Broadcast Address: Last address in subnet (all host bits = 1)
Subnet Mask: Defines network vs host portion
CIDR Notation: Shorthand (/24 = 255.255.255.0)
Lesson 2: Binary Basics
Understanding binary is crucial for subnetting. Every IP address is actually 32 bits (1s and 0s).
Binary Position Values
128
64
32
16
8
4
2
1
Interactive Binary Converter
Lesson 3: Subnet Mask Fundamentals
A subnet mask divides an IP address into network and host portions:
IP Address: 192.168.1.100
192
168
1
100
Subnet Mask: 255.255.255.0 (/24)
255
255
255
0
Network Portion (24 bits)
11111111.11111111.11111111
Host Portion (8 bits)
00000000
Network Address
192.168.1.0
Usable Hosts
2^8 - 2 = 254
Broadcast
192.168.1.255
Common CIDR Notations
/24
255.255.255.0
254 hosts
/25
255.255.255.128
126 hosts
/26
255.255.255.192
62 hosts
/27
255.255.255.224
30 hosts
/28
255.255.255.240
14 hosts
/30
255.255.255.252
2 hosts