Subnetting Basics: Michael D. Mann
Subnetting Basics: Michael D. Mann
Subnetting Basics: Michael D. Mann
Michael D. Mann
5
Subnetting Basics
A subnet mask is logically ANDed with a network address space
in order to return the network and subnetwork space
The logical AND Truth Table
AND 1 0
1 1 0
0 0 0
Click once to see the result of 1 AND 1 6
Subnetting Basics
Math :
Let x represent the number of bits required for 4 subnets.
Let y represent the number of subnets required.
Equations : 2x >= y and 2x < y * 2, substitute 4 for y :
Equations : 2x >= 4 and 2x < 8 Note : x = log y / log 2
Solution :
The value of x that satisfies BOTH equations = ? 2
9
Subnetting Basics
Example
Class C 192.168.32.145 /24 :
subnet the address space to create 4 subnets.
(See slide 3)
11
Subnetting Basics
192.168.32.0 /24
This blue box represents the whole network space
12
Subnetting Basics
Subnetting is the process of sub-dividing a network
15
Subnetting Basics
The MULTIPLIER :
Subnet 1 : 192.168.32.0 /26 Subnet 2 : 192.168.32.64 /26
Subnet 3 : 192.168.32.128 /26 Subnet 4 : 192.168.32.192 /26
Notice how the subnet addresses are multiples of 64
The number 64 is called the Multiplier.
17
Subnetting Basics
The new sub-divided network :
18
Subnetting Basics
The new sub-divided network :
19
Subnetting Basics
The new sub-divided network :
20
Three Types of
Subnetting Questions
Those that deal with …
The MULTIPLIER
21
The Number of HOSTS
Given (Class C) : 192.168.32.66 /27
How many HOSTS can be supported per subnet?
23
The MULTIPLIER
Given : 192.168.32.66 /27
10101100.00010000.00000000.00000000
10101100.00010000.00000000.00000000
Network bits Subnet bits Host bits
Are 10 host bits enough to represent 500 hosts Yes
?
Why ? 210 – 2 = 1022 - more than enough for 500 hosts! 25
Class B Network Example
172.16.0.0/22
10101100.00010000.00000000.00000000
26
Class B Network Example
172.16.0.0/22
10101100.00010000.00000000.00000000
Minimum host with subnet ID 4
10101100.00010000.00000100.00000001
172.16.4.1 /22
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800a67f5.shtml
www.semsim.com/ccna/tutorial/subnetting/subnetting.html
www.learntosubnet.com
28