1. Subnetting
Suppose there is a small business. In which we have three departments like Finance,
Production, Sales. We have a Class C IP Address: 192.168.8.0 /24 as we now class C has
24 subnet masks and we need three different networks. So, we need to find all
possible: Hosts, Network IDs, Useable IP Ranges, Broadcast ID’s. So we will Draw a
Table for this purpose.
Masks 1 2 4 8 16 32 64 128 256
Hosts 256 128 64 32 16 8 4 2 1
Subnet Masks /24 /25 /26 /27 /28 /29 /30 /31 /32
In Host we see every number is double with its next number and in
Masks it is in Reverse order of Hosts.
As we know Class C is 8 bit IP Address because The first 24 bits of
the IP address are used for the network ID. The final 8 bits are for
the host ID.
2^0 2^1 2^2 2^3 2^4 2^5 2^6 2^7 2^8
2. Subnetting
So we need to get THREE subnets but exact 3 in masks list is not
available so we will go for the nearest which is 4 in 3rd column. 2 is also
nearest but it will calculate less subnets that’s why we selected 4 to get
extra but Not less as required.
Masks 1 2 4 8 16 32 64 128 256
Hosts 256 128 64 32 16 8 4 2 1
Subnet
Masks /24 /25 /26 /27 /28 /29 /30 /31 /32
3. Subnetting
So we re in 3rd POD.IP Address is 192.168.8.0/24 as we now class C is 24
subnet masks.
Masks 1 2 4 8 16 32 64 128 256
Hosts 256 128 64 32 16 8 4 2 1
Subnet
Masks /24 /25 /26 /27 /28 /29 /30 /31 /32
So our all answers are in (4, 64, /26)
/26 is the new subnet mask. For this 4 subnets.
4. Network ID Subnet
Mask
Host IP Ranges No. of
Usable
Host
Board Cast ID
Masks 1 2 4 8 16 32 64 128 256
Hosts 256 128 64 32 16 8 4 2 1
Subnet
Masks /24 /25 /26 /27 /28 /29 /30 /31 /32
The IP Address is 192.168.8.0
192.168.8.0
The First Network ID Will Be our
IP Address.
So we have 64 Hosts, Now Add 64 in 0 for next
Network ID.
192.168.8.64
64+64=128
192.168.8.128
128+64=192
192.168.8.192
/26
/26
/26
/26
Our Subnet Mask is /26
5. Network ID Subnet
Mask
Host IP Ranges No. of
Usable
Host
Board Cast ID
Masks 1 2 4 8 16 32 64 128 256
Hosts 256 128 64 32 16 8 4 2 1
Subnet
Masks /24 /25 /26 /27 /28 /29 /30 /31 /32
Now Find Broadcast ID
The IP Address is 192.168.8.0
192.168.8.0
192.168.8.64
192.168.8.128
192.168.8.192
/26
/26
/26
/26
192.168.8.63
192.168.8.127
192.168.8.191
191+64=255
192.168.8.255
Our First Broadcast ID will be Next Network ID minus 1 like 64 - 1 = 63
And so on.
Next 127,191,255
-1=63
-1=127
-1=191
6. Network ID Subnet
Mask
Host IP Ranges No. of
Usable
Host
Board Cast ID
Masks 1 2 4 8 16 32 64 128 256
Hosts 256 128 64 32 16 8 4 2 1
Subnet
Masks /24 /25 /26 /27 /28 /29 /30 /31 /32
Now Find No. of Useable
Hosts
The IP Address is 192.168.8.0
192.168.8.0
192.168.8.64
192.168.8.128
192.168.8.192
/26
/26
/26
/26
192.168.8.63
192.168.8.127
192.168.8.191
192.168.8.255
Our First Host and Last Host ID’s are reserved for Network ID and Broadcast ID so we subtract
2 from our Host which is 64. So our all usable hosts will be 64 -2 = 62.
62
62
62
62
7. Network ID Subnet
Mask
Host IP Ranges No. of
Usable
Host
Board Cast ID
Masks 1 2 4 8 16 32 64 128 256
Hosts 256 128 64 32 16 8 4 2 1
Subnet
Masks /24 /25 /26 /27 /28 /29 /30 /31 /32
Now Find Host IP Ranges
The IP Address is 192.168.8.0
192.168.8.0
192.168.8.64
192.168.8.128
192.168.8.192
/26
/26
/26
/26
192.168.8.63
192.168.8.127
192.168.8.191
192.168.8.255
Our First Host and Last Host ID’s are reserved for Network ID and Broadcast ID so we Our Host IP
Ranges will be from between Network ID and Broadcast ID.
62
62
62
62
Between 0 to 63
192.168.8.1 – 192.168.8.62
Between 64 to 127
192.168.8.65–192.168.8.126
Between 128 to 191
192.168.8.129 – 192.168.8.190
Between 192 to 255
192.168.8.191–192.168.8.254