1 00:00:00,300 --> 00:00:07,440 Your patience pays off, subletting allows you to create multiple logical networks that exist within 2 00:00:07,440 --> 00:00:09,240 a single class A, B or C network. 3 00:00:09,960 --> 00:00:16,140 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,140 --> 00:00:18,210 is, well, pretty unrealistic. 5 00:00:19,500 --> 00:00:26,490 So subnetwork 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,340 --> 00:00:39,500 So this divides a network into smaller subnets, in other words, in order to subnet a network, extend 8 00:00:39,500 --> 00:00:46,040 the natural mask with some of the high order bits from the host ID portion of the address in order to 9 00:00:46,040 --> 00:00:48,410 create a sub network ID. 10 00:00:49,490 --> 00:00:50,570 So I'll give you an example. 11 00:00:51,320 --> 00:00:59,710 Let's take a classy network of one nine two one six eight dot zero, which has a natural mask of two 12 00:00:59,780 --> 00:01:02,840 five 5.2, five 5.2 five 5.0. 13 00:01:03,920 --> 00:01:09,800 You can create subnets by moving to bits from the host part to the network prefix. 14 00:01:11,030 --> 00:01:14,690 Now, the last octet of the network mask starts with 11. 15 00:01:16,340 --> 00:01:20,480 So this eight bit corresponds to one nine two in decimal form. 16 00:01:22,020 --> 00:01:30,510 Now, the network ID is 26 bit in Ceyda notation, it's now a slash 26 subnetwork. 17 00:01:32,020 --> 00:01:40,120 You can find the network prefix by a bit wise and operation between the IP address and the subnet mask. 18 00:01:43,120 --> 00:01:50,530 The number of sub networks available and the number of possible hosts in a network may be readily calculated. 19 00:01:52,090 --> 00:01:57,040 In our example, two bits were borrowed to create subnetwork. 20 00:01:58,150 --> 00:02:02,680 Thus creating two to the power of two possible subnet. 21 00:02:03,690 --> 00:02:04,290 You with me? 22 00:02:05,220 --> 00:02:09,270 So now let's calculate the maximum number of hosts for each subnet. 23 00:02:11,180 --> 00:02:14,390 In our example, 26 bits are used to define the network. 24 00:02:15,240 --> 00:02:20,250 The remaining bits after the subnet bits are used for dressing hosts within a subnet. 25 00:02:21,090 --> 00:02:29,970 So the host part of the IP address is six bit all zeros and the old ones values for the host ID are 26 00:02:29,970 --> 00:02:32,120 not allowed in a subnetwork, right. 27 00:02:32,730 --> 00:02:38,040 These two values are reserved for the network address and broadcast address, respectively. 28 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 29 00:02:46,710 --> 00:02:49,740 minus two, which equals 60 to. 30 00:02:50,630 --> 00:02:51,270 Excellent. 31 00:02:51,830 --> 00:02:58,010 So as a result, the IP addresses of the devices in the subnetwork, one nine two one six eight two 32 00:02:58,250 --> 00:03:06,260 one two eight 26 will be between one nine two one six eight, not two, not one to nine and one nine 33 00:03:06,260 --> 00:03:09,170 two one six eight two one nine zero.