Hi, I just want to find out if there is another way to find all devices in a network than just pinging | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Hi, I just want to find out if there is another way to find all devices in a network than just pinging

Hello :)) I‘ve a little problem in a project . I tried to find out all devices in a network by using the ping“command“. But it takes very long and some devices are going to be invisible too (because of the firewall) Someone has any idea for another solution? Thanks - Anthony

5th Dec 2017, 5:55 AM
Anthony
Anthony - avatar
2 Answers
+ 4
netstat won't tell you all the live hosts on the network. Use a network scanner such as nmap. With nmap, If your network hosts are up but do not respond to ping, you can use the -P0 switch.
5th Dec 2017, 6:57 AM
Eric Blinkidu
Eric Blinkidu - avatar
0
Try to use netstat.
5th Dec 2017, 6:00 AM
Dima Makieiev
Dima Makieiev - avatar