LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-05-2006, 10:38 AM   #1
dbc001
Member
 
Registered: Jan 2004
Distribution: Slackware, Ubuntu
Posts: 97

Rep: Reputation: 15
How can I scan my network for IP addresses?


A friend of mine does commercial real estate and found a Sun StorEdge RAID fileserver that had been abandoned at a site. I have the task of figuring out what it can do. I've got it plugged into my network but there is no monitor and Sun machines use a weird proprietary monitor cable anyway. So I need to figure out what it's IP address is so I can try to get into it. I think nmap is the program I'm looking for but I'm not sure how to get it to scan my entire network. Can somebody give me a quick rundown of what I should do to scan my entire network?

thanks in advance,
dbc
 
Old 08-05-2006, 11:28 AM   #2
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
ping -b 192.168.0.255
or
nmap -sL -PI -PT 192.168.0.*
 
Old 08-05-2006, 02:54 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
If you're not sure that the box has a 192.168 address and you have a way of isolating your network so the scan doesn't go everywhere, you can run:
Code:
nmap -sT -PT 0-255.0-255.0-255.1-254
 
Old 08-06-2006, 10:13 AM   #4
dbc001
Member
 
Registered: Jan 2004
Distribution: Slackware, Ubuntu
Posts: 97

Original Poster
Rep: Reputation: 15
Thanks for the replies. I have no way of knowing what IP address this machine is set up for (or if it even works!). I tried stopping the ADSL connection on my server, and here's what I get:
Code:
Starting nmap 3.93 ( http://www.insecure.org/nmap/ ) at 2006-08-06 10:38 CDT
nexthost: failed to determine route to 0.0.0.1
QUITTING!
I'm not sure what this means - do I need internet access to use nmap to scan every possible IP address?

thanks again!
dbc
 
Old 08-06-2006, 02:31 PM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
That's odd, I'm running nmap 4.00 and it doesn't exit for me on addresses it can't reach. The message I get is:
Code:
Strange read error from 0.0.0.1: Transport endpoint is not connected
Then it just tries the next IP address...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Explaination of network scan ports. NuxIT Linux - Networking 1 06-17-2006 10:21 AM
How to find IP addresses on a network dubya Linux - Networking 2 09-23-2004 03:27 AM
how can I scan my network :King_58: Linux - Networking 9 09-13-2004 08:38 AM
scan my network with nmap. amer_58 Linux - Networking 3 06-17-2004 12:11 AM
certain addresses through certain network cards heathpitts Linux - Networking 1 02-26-2004 06:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration