Posted: 12/14/2006 5:49:10 PM EDT
|
I haven't played with nmap much before. The information I've seen has been pretty long winded, and I don't have the luxury of time to peruse man pages like I used to. I currently have my computers getting dynamically assigned addresses from the router, and I don't necessarily want to change to hard-set addresses (more from apathy than from any real reason!). But I do use VNC to jump from box to box, and it's nice to not have to guess what ip address any given box is hiding at when it reboots. If ALL I want to do is to find the IP addresses of all of the computers on my local network, what commands would I issue to nmap? Or is there a better local-network mapping tool? Jim |
nmap -sP network/mask. ie, nmap -sP 192.168.0.0/24. |
|
You will have a hard time in the long run if you dont RTFM. Let me help a little more You can break that commaand down nto two parts, and your goal in to tow parts. It boils down to "What", and "how". The what in this case is a range of hosts on a subnet. the 192.168.1.0/24 is CDIR notation. It is a way to specify a range of hosts. Read up on CDIR so you will understand how to write them. The how is a ping scan. The ping scan tell nmap to just ping each host defined by your CDIR address, host that respond to the ping will be listed. Some hosts do not reply to pings. Please dont scan on networks you do not own. For gods sake set up a static IP. It will take less time than running nmap |