07th Dec 2007
Who is on my network?
I was looking for a way to tell what IP address my dhcp server assignes to a certain computer.
I have a small network, so it wouldn’t be hard to spot out the machine. But I didn’t know how to scan my LAN for hosts.
Google-ing a bit, I found the following command I could use from a Linux machine:
nmap -sP 192.168.0.1-255 (to specify a specific range)
or
nmap -sP 192.168.0.0/24 (to specify all addresses in that network)
Just replace the IP range with the one specific to your network. You should be able to see a list with the computers found.
I was looking for a way to tell what IP address my dhcp server assignes to a certain computer.
I have a small network, so it wouldn’t be hard to spot out the machine. But I didn’t know how to scan my LAN for hosts.
Google-ing a bit, I found the following command I could use from a Linux machine:
nmap -sP 192.168.0.1-255 (to specify a specific range)
or
nmap -sP 192.168.0.0/24 (to specify all addresses in that network)
Just replace the IP range with the one specific to your network. You should be able to see a list with the computers found.
Posted by marian under
Linux
No Comments »