‫Your patience pays off, subletting allows you to create multiple logical networks that exist within
‫a single class A, B or C network.
‫If you do not subnet, you are only able to use one network from your Class A, B or C network, which
‫is, well, pretty unrealistic.
‫So subletting is the process of designating some high order bits from the host part as part of the network
‫prefix and adjusting the subnet mask appropriately.
‫So this divides a network into smaller subnet.
‫In other words, in order to subnet a network, extend the natural mask with some of the high order
‫bits from the host ID portion of the address in order to create a sub network ID.
‫So I'll give you an example.
‫Let's take a Class C network of one nine two one six eight, not 2.0, which has a natural mask of 255.255.255.0.
‫You can create subnets by moving to bits from the host part to the network prefix.
‫Now, the last octet of the network mask starts with 11.
‫So this eight bit corresponds to one nine two in decimal form.
‫Now, the Network ID is 26 bit in Sidr notation.
‫It's now a slash 26 sub network.
‫You can find the network prefix by a bit wise and operation between the IP address and the subnet mask.
‫The number of sub networks available and the number of possible hosts in a network may be readily calculated.
‫In our example, two bits were borrowed to create some networks.
‫Thus, creating two to the power of two possible subnet.
‫You with me.
‫So now let's calculate the maximum number of hosts for each subnet.
‫In our example, 26 bits are used to define the network.
‫The remaining bits after the sub that bits are used for dressing hosts within a subnet.
‫So the who's part of the IP address is six bit all zeros, and the all one's values for the host I.D.
‫are not allowed in a sub network.
‫Right.
‫These two values are reserved for the network address and broadcast address, respectively.
‫So the maximum number of hosts which can be addressed in these sub networks is two to the power of six
‫minus two, which equals 62.
‫Excellent.
‫So as a result, the IP addresses of the devices in the Sub Network one nine two one six eight two point
‫one to age 26 will be between 192.168.0.1 to nine and 192.168.0.1 nine zero.