And map subnet scanning, so earlier we learned our own IP with a command if config and we scanned,
so how can we scan all the other IPS on our network?
In fact, there are two different ways.
First, we can write all of the threads one by one.
So that means one by one on the command line and map, 10 zero to one and map 10, zero to two to three,
all the way up to 255.
So as you can see, this process will take quite a while.
So instead we can use a shorter and easier and map search.
We scan the IP information by subnet.
So for this will type and map 10, dot zero, dot 2.0, slash twenty four and press enter and that way
and map will scan all the threat from 10 zero to dot one all the way through and dot zero two two five
five in sequence.
OK, so why don't we talk about a subnet?
What is subnet?
So we've already said that ropes can be between zero and 255.
So let's talk a little bit more about this subnet or subnetwork is a logical subdivision of an IP network.
The division of a network into two or more networks is called a subnet, so computers belonging to a
subnet are treated with a same bit group in their IP address.
And what this does is result in an IP address logically divided into two fields the network number or
routing Prefect's and the remaining field or host identifier.
The rest of field is an identifier for a specific host or network interface.
The routing prefix can be expressed in the classless cross domain routing or khaldiya representation,
which is written as the first address of a network and then ends with a forward slash character and
the prefix bit length.
For example, 10 zero DOT 2.0 slash 24 is a prefix of the Internet protocol version for network, starting
in the given address with 24 bits allocated for the network prefix and eight bits reserved for host
addressing.
So addresses in a range of 10 zero 2.0 to 10, zero to DOT 255 belong to this network.
For IPV, for a network can also be characterized by subnet mask or net.
So this is a bit mask, which is bitwise to any IP on the network and one applied by the process.
It gives the routing prefix.
The subnet Massieu also expressed in DOTD decimal notation, such as an address, for example, 255
five five 5.2 five 5.0, that's the subnet mask for the prefix 10 that zero 2.0 24 sobhan all virtual
machines.
Callisthenics, log-in.
Open terminal.
And Map 10, that zero, dot 2.0, slash 24 and press enter.
And what do you see here, all the ipis in the network, 10 zero dot 2.0 slash 24 were scanned one by
one and the results are listed.