Security Basics mailing list archives
Re: how to do a nmap for a range?
From: Robin Wood <dninja () gmail com>
Date: Fri, 23 Jan 2009 17:41:02 +0000
2009/1/23 shirish <shirishag75 () gmail com>:
Hi all, Newbie to nmap. First of all thank you for a great tool. I want to use nmap to find on which IP my router is I read somewhere that you could use nmap to know where or how your computer is communicating through the router with some given range. Something like the following :- nmap -sP 192.168.0.1/32 Starting Nmap 4.62 ( http://nmap.org ) at 2009-01-23 12:00 IST Host 192.168.0.1 appears to be up. Nmap done: 1 IP address (1 host up) scanned in 12.595 seconds The manpage gives the following info. -sP: Ping Scan - go no further than determining if host is online Now trying the address which is supposed to be up doesn't give anything in the browser So I have couple of questions :- a. Is there a way to scan all the addresses for positives between 192.168.0.0 to whatever could be the ending 192.168.255.255 reference :-- http://en.wikipedia.org/wiki/192.168.1.1 Looking forward to any guidance on the same.
I think you've got your subnet wrong. If you want to scan 0.1 through to 0.255 then you would need to do nmap -sP 192.168.0.1/24 for 0.1 through to 255.255 you'd need nmap -sP 192.168.0.1/16 Robin
Current thread:
- how to do a nmap for a range? shirish (Jan 23)
- Re: how to do a nmap for a range? hkb (Jan 23)
- Re: how to do a nmap for a range? Calvin Maready (Jan 23)
- RE: how to do a nmap for a range? Caskey, Keith (Jan 23)
- Re: how to do a nmap for a range? Robin Wood (Jan 23)
- Re: how to do a nmap for a range? Andrew Kuriger (Jan 23)
- RE: how to do a nmap for a range? Jeremi Gosney (Jan 23)
- <Possible follow-ups>
- Re: how to do a nmap for a range? Isaac Sabas (Jan 27)
- Re: how to do a nmap for a range? rohnskii (Jan 28)
- Re: Re: how to do a nmap for a range? a (Jan 28)