I would like to learn how to find the private IP address of anyone connected to a network.
This specific network has a firewall. The only info I have on it is that it blocks ICMP requests (I'm pretty sure
ping sends and receives ICMP requests) no matter who you are sending these requests to. The error message goes something like
Communication prohibited by filter and it shows some info. After pressing
ctrl + c, I see 100% packet loss.
I've done some research and I've found that running commands like
netstat -r, and
nmap -sP <ip address> (I found somewhere that
-sP is deprecated for some reason and should be replaced with
-sn) would show all connected devices on your network. However, I don't see everything. Normally, I would find someone's IP address through these commands by looking on the left, which shows the computer's name (such as
john's MacBook Air) and then looking on the right of that (which shows the IP address). However, I get a lot of question marks on the left when running
arp -a, I don't see the person I'm looking for in
netstat -r, and both nmap commands don't show any ip addresses.
I know the default gateway of the network but when I used nmap to scan on that, it doesn't show anything. Does anyone know what I'm doing wrong?
I forgot to mention that when running
arp -a or
netstat -r I see some devices and their IP addresses. I think what I'm trying to ask is, why are some devices showing up on these scans and some others aren't?