Is there a way to get a list of all valid IP addresses in a local network?
I mean all IP addresses that each user is using in the network.
Is there a way to get a list of all valid IP addresses in a local network?
I mean all IP addresses that each user is using in the network.
Questions on Stack Overflow are expected to relate to programming within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.
Install nmap,
sudo apt-get install nmap
then
nmap -sP 192.168.1.*
or more comonly
nmap -sn 192.168.1.0/24
will scan the entire .1 to .254 range
This does a simple ping scan in the entire subnet to see which all host's are online.
Try following steps:
ipconfig
(or ifconfig
on Linux) at command prompt. This will give you the IP address of your own machine. For example, your machine's IP address is 192.168.1.6. So your broadcast IP address is 192.168.1.255.ping 192.168.1.255
(may require -b
on Linux)arp -a
. You will get the list of all IP addresses on your segment.ifconfig
instead of ipconfig
to get this to work.
– JW.
May 6 '16 at 15:52
If you want to see which IP addresses are in use on a specific subnet then there are several different IP Address managers.
Try Angry IP Scanner or Solarwinds or Advanced IP Scanner