Subnetting
Tarek Sheltami
Subnetting
[Link]/25 10101100.0001000.0001010.00000000
1. Network ID: [Link]/25
2. Lowest ID: [Link]/25
3. Broadcast: [Link]/25
4. Highest ID: [Link]/25
5. Range: [Link] --- [Link]
Subnetting
[Link]/24 11000000.10101000.00000001.00000000
We would like to have 3 networks.
2N= #Network → the closest 22= 4
11000000.10101000.00000001.00000000
2N-2= #Hosts
Network 1st Host Last Host Broadcast
[Link]/26 [Link]/26 [Link]/26 [Link]/26
[Link]/26 [Link]/26 [Link]/26 [Link]/26
[Link]/26 [Link]/26 [Link]/26 [Link]/26
27 26 25 24 23 22 21 20
Bit Positional Value 128 64 32 16 8 4 2 1
Subnet Mask 128 192 224 240 248 252 254 255
2nd Byte Prefix /9 /10 /11 /12 /13 /14 /15 /16
3rd Byte Prefix /17 /18 /19 /20 /21 /22 /23 /24
4th Byte Prefix /25 /26 /27 /28 /29 /30 --- ---
Subnet Mask Network
We need 6 networks of:
[Link]/19 10101100.00010000.00100000.00000000
1. [Link]/22
2. [Link]/22
3. [Link]/22 Subnet Mask= [Link]
4. [Link]/22
5. [Link]/22
6. [Link]/22
Subnet Mask Network
We need 3 networks of:
[Link]/24 11000000.10101000.00010000.00000000
1. [Link]/26
2. [Link]/26 Subnet Mask= [Link]
3. [Link]/26
Subnet Mask
We are assigned [Link]/19 10101100.00010000.00100000.00000000
and we have 5 networks of different sizes:
B: 1000 hosts, A: 500 hosts, C: 200 hosts, D: 60 hosts and E: 43 hosts
First, we arrange the networks in descending order:
Name # of Hosts # of bit required Network ID
B 1000 32 – 10 = 22 [Link]/22
A 500 32 – 9 = 23 [Link]/23
C 200 32 – 8 = 24 [Link]/24
D 60 32 – 6 = 26 [Link]/26
E 50 32 – 6 = 26 [Link]/26
Using the table in slide 4, we calculate the network IDs
Subnet Mask
An organization has been assigned the prefix 212.1.1/24
and wants to form subnets for four departments, with hosts
as follows:
•Give a possible arrangement of subnet masks to make
this possible.
Name # of Hosts # of bit required Network ID
A 75 32 – 7 = 25 [Link]/25
B 35 32 – 6 = 26 [Link]/26
C 20 32 – 5 = 27 [Link]/27
D 18 32 – 5 = 27 [Link]/27
Subnet Mask
Suggest what the organization might do if department D grows
to 32 hosts.
For the distribution of part a), department D can get max of 30
hosts. If Department D grows to 32 hosts then a possible
solution is to assign multiple subnets to different departments:
Name # of Hosts # of bit required Network ID
62 32 – 6 = 26 [Link]/26
A
30 32 – 5 = 27 [Link]/27
30 32 – 5 = 27 [Link]/27
B
14 32 – 4 = 28 [Link]/28
14 32 – 4 = 28 [Link]/28
D 14 32 – 4 = 28 [Link]/28
14 32 – 4 = 28 [Link]/28
14 32 – 4 = 28 [Link]/28
C
14 32 – 4 = 28 [Link]/28
Name # of Hosts # of bit required Network ID
A 75 32 – 7 = 25 [Link]/25
B 35 32 – 6 = 26 [Link]/26
C 20 32 – 5 = 27 [Link]/27
D 18 32 – 5 = 27 [Link]/27
Another quick solution
Name # of Hosts # of bit required Network ID
A 62 32 – 6 = 26 [Link]/26
14 32 – 4 = 28 [Link]/28
B 62 32 – 6 = 26 [Link]/26
C 30 32 – 5 = 27 [Link]/27
D 30 32 – 5 = 27 [Link]/27
14 32 – 4 = 28 [Link]/28