Hello everyone. So in
this video we are going to see how we
can scan a range of IP addresses using
and map.
This type of scan is usually helpful in identifying
the number of hosts which are
present into your network.
So the syntax of doing this scan is nmap.
And then the IP address range that you
want to give.
You can scan Target by simply typing the IP
address and range specification like this
that is 192.168.43.213 hyphen
250, which means that you
want to scan the IP address from 213 till
250 and then map will start
scanning for the default 1000 ports.
You can always use a hyphen V flag to see the
output in verbose mode.
You can also scan a subnet using nmap by
the syntax nmap IP address slash 24
and and map
will start scanning the subnet Network and
it will give you which all host are up
into that specific Network.
So, let's see the Practical in this I'm going
to type the command which is nmap 192 168
43.1 which is the first IP address,
which is my router's IP and I want to
scan till the IP there is 215 and I'm
going to see the output in verbose mode.
So as you can see scanning has started of
215 host because I have
given the range of 215 hosts from
first to 215 the last one.
If you want to see the progress, just press any key
and you will be able to see that's when you 2.09
percent done estimated time completion this
much and one minute seven seconds remaining.
Perfect. So as you can see I'm able to see here that
Nmap, has given the output and it has
identified that three hosts are up into
the range that I have given to scan.
So, let's see which are there. This is the IP address. We use
this machine as our Target IP address and this
machine is up.
This is our machine through which we are running and map. This is
my machine.
And let's see which is the third host that we got which
was up and the third host is the router
itself as you can see.
the first IP of the router
so we have identified that there are three total hosts
in the range that we have given now, let's
try to scan the subnet.
So I'm giving / 24
to scan the whole subnet and
going to see the output in verbose mode.
As you can see in my Subnet there are total three host
of okay. I have not connected many devices
if there were more devices connected into my
network. Then you would be able to see all those devices
listed over here. If you're in this scan into
your network of organization, you will be able
to see a lot of devices.
Or else when you will run the scan to your home
network, you will be able to see all the devices which are
connected to your router or the home network like your
mobile phone your printer Etc.
These are again the same host which
are connected the router this machine
and the target machine.
So I hope you guys understood that how you can
do the scanning of IP
addresses of a range as well as
a subnet. Thank you.