1 00:00:00,330 --> 00:00:07,410 ‫Your patience pays off, subletting allows you to create multiple logical networks that exist within 2 00:00:07,410 --> 00:00:09,210 ‫a single class A, B or C network. 3 00:00:09,990 --> 00:00:16,110 ‫If you do not subnet, you are only able to use one network from your Class A, B or C network, which 4 00:00:16,110 --> 00:00:18,210 ‫is, well, pretty unrealistic. 5 00:00:19,500 --> 00:00:26,490 ‫So subletting is the process of designating some high order bits from the host part as part of the network 6 00:00:26,490 --> 00:00:30,510 ‫prefix and adjusting the subnet mask appropriately. 7 00:00:31,370 --> 00:00:34,700 ‫So this divides a network into smaller subnet. 8 00:00:35,270 --> 00:00:42,290 ‫In other words, in order to subnet a network, extend the natural mask with some of the high order 9 00:00:42,290 --> 00:00:48,140 ‫bits from the host ID portion of the address in order to create a sub network ID. 10 00:00:49,490 --> 00:00:50,540 ‫So I'll give you an example. 11 00:00:51,350 --> 00:01:02,810 ‫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. 12 00:01:03,920 --> 00:01:09,770 ‫You can create subnets by moving to bits from the host part to the network prefix. 13 00:01:11,000 --> 00:01:14,690 ‫Now, the last octet of the network mask starts with 11. 14 00:01:16,370 --> 00:01:20,450 ‫So this eight bit corresponds to one nine two in decimal form. 15 00:01:22,020 --> 00:01:26,610 ‫Now, the Network ID is 26 bit in Sidr notation. 16 00:01:26,910 --> 00:01:30,510 ‫It's now a slash 26 sub network. 17 00:01:32,020 --> 00:01:40,090 ‫You can find the network prefix by a bit wise and operation between the IP address and the subnet mask. 18 00:01:43,150 --> 00:01:50,500 ‫The number of sub networks available and the number of possible hosts in a network may be readily calculated. 19 00:01:52,120 --> 00:01:57,010 ‫In our example, two bits were borrowed to create some networks. 20 00:01:58,150 --> 00:02:02,650 ‫Thus, creating two to the power of two possible subnet. 21 00:02:03,720 --> 00:02:04,260 ‫You with me. 22 00:02:05,220 --> 00:02:09,240 ‫So now let's calculate the maximum number of hosts for each subnet. 23 00:02:11,210 --> 00:02:14,360 ‫In our example, 26 bits are used to define the network. 24 00:02:15,270 --> 00:02:20,170 ‫The remaining bits after the sub that bits are used for dressing hosts within a subnet. 25 00:02:21,090 --> 00:02:29,450 ‫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. 26 00:02:29,700 --> 00:02:31,560 ‫are not allowed in a sub network. 27 00:02:31,770 --> 00:02:32,100 ‫Right. 28 00:02:32,730 --> 00:02:38,040 ‫These two values are reserved for the network address and broadcast address, respectively. 29 00:02:39,780 --> 00:02:46,260 ‫So the maximum number of hosts which can be addressed in these sub networks is two to the power of six 30 00:02:46,710 --> 00:02:49,710 ‫minus two, which equals 62. 31 00:02:50,690 --> 00:02:51,260 ‫Excellent. 32 00:02:51,830 --> 00:02:58,220 ‫So as a result, the IP addresses of the devices in the Sub Network one nine two one six eight two point 33 00:02:58,220 --> 00:03:09,170 ‫one to age 26 will be between 192.168.0.1 to nine and 192.168.0.1 nine zero.