1 00:00:00,330 --> 00:00:08,120 And map subnet scanning, so earlier we learned our own IP with a command if config and we scanned, 2 00:00:08,850 --> 00:00:12,480 so how can we scan all the other IPS on our network? 3 00:00:13,230 --> 00:00:14,800 In fact, there are two different ways. 4 00:00:15,450 --> 00:00:18,450 First, we can write all of the threads one by one. 5 00:00:19,420 --> 00:00:31,570 So that means one by one on the command line and map, 10 zero to one and map 10, zero to two to three, 6 00:00:32,020 --> 00:00:34,720 all the way up to 255. 7 00:00:36,240 --> 00:00:39,430 So as you can see, this process will take quite a while. 8 00:00:40,320 --> 00:00:45,060 So instead we can use a shorter and easier and map search. 9 00:00:46,070 --> 00:00:49,010 We scan the IP information by subnet. 10 00:00:50,230 --> 00:01:00,250 So for this will type and map 10, dot zero, dot 2.0, slash twenty four and press enter and that way 11 00:01:00,280 --> 00:01:08,410 and map will scan all the threat from 10 zero to dot one all the way through and dot zero two two five 12 00:01:08,470 --> 00:01:10,240 five in sequence. 13 00:01:12,030 --> 00:01:14,940 OK, so why don't we talk about a subnet? 14 00:01:16,120 --> 00:01:17,680 What is subnet? 15 00:01:19,610 --> 00:01:24,980 So we've already said that ropes can be between zero and 255. 16 00:01:25,930 --> 00:01:32,980 So let's talk a little bit more about this subnet or subnetwork is a logical subdivision of an IP network. 17 00:01:33,850 --> 00:01:40,420 The division of a network into two or more networks is called a subnet, so computers belonging to a 18 00:01:40,420 --> 00:01:44,850 subnet are treated with a same bit group in their IP address. 19 00:01:45,130 --> 00:01:53,230 And what this does is result in an IP address logically divided into two fields the network number or 20 00:01:53,230 --> 00:01:58,720 routing Prefect's and the remaining field or host identifier. 21 00:01:59,850 --> 00:02:04,850 The rest of field is an identifier for a specific host or network interface. 22 00:02:06,280 --> 00:02:13,330 The routing prefix can be expressed in the classless cross domain routing or khaldiya representation, 23 00:02:13,600 --> 00:02:19,090 which is written as the first address of a network and then ends with a forward slash character and 24 00:02:19,210 --> 00:02:20,470 the prefix bit length. 25 00:02:21,360 --> 00:02:30,580 For example, 10 zero DOT 2.0 slash 24 is a prefix of the Internet protocol version for network, starting 26 00:02:30,580 --> 00:02:38,560 in the given address with 24 bits allocated for the network prefix and eight bits reserved for host 27 00:02:38,560 --> 00:02:39,070 addressing. 28 00:02:40,420 --> 00:02:47,980 So addresses in a range of 10 zero 2.0 to 10, zero to DOT 255 belong to this network. 29 00:02:49,790 --> 00:02:54,680 For IPV, for a network can also be characterized by subnet mask or net. 30 00:02:55,850 --> 00:03:04,060 So this is a bit mask, which is bitwise to any IP on the network and one applied by the process. 31 00:03:04,070 --> 00:03:05,810 It gives the routing prefix. 32 00:03:06,870 --> 00:03:14,390 The subnet Massieu also expressed in DOTD decimal notation, such as an address, for example, 255 33 00:03:14,390 --> 00:03:25,440 five five 5.2 five 5.0, that's the subnet mask for the prefix 10 that zero 2.0 24 sobhan all virtual 34 00:03:25,440 --> 00:03:26,010 machines. 35 00:03:27,100 --> 00:03:28,390 Callisthenics, log-in. 36 00:03:29,460 --> 00:03:30,210 Open terminal. 37 00:03:31,830 --> 00:03:36,360 And Map 10, that zero, dot 2.0, slash 24 and press enter. 38 00:03:37,370 --> 00:03:46,130 And what do you see here, all the ipis in the network, 10 zero dot 2.0 slash 24 were scanned one by 39 00:03:46,130 --> 00:03:48,530 one and the results are listed.