LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-21-2008, 02:12 PM   #1
djeikyb
Member
 
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162

Rep: Reputation: 33
How to find networked machines?


I haven't had much success googling, because I'm not sure how to phrase the question. I don't know too much about networking (book recommendations welcome!).

I have a network with some headless RHEL 5 boxes. I don't know their IP addresses, but I need to ssh in. Is there a program that scans the network for machines, and returns something like hostnames and ip addresses? Or how would I gather that kind of information? I always see "UP BROADCAST RUNNING MULTICAST" when I type "ifconfig eth0", so it sounds possible.

In the meantime I can, of course, hook up a monitor and keyboard to find out, but it gets tedious with several machines and a test network that changes their IP addresses regularly.
 
Old 03-21-2008, 02:28 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You might try nmap. I've only used it to check firewall settings on my machine (i.e. port scanning). But the link has sections on host discovery and OS detection that look promising.

Last edited by pljvaldez; 03-21-2008 at 02:30 PM.
 
Old 03-21-2008, 02:37 PM   #3
djeikyb
Member
 
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162

Original Poster
Rep: Reputation: 33
Aha! Looks cool. Thanks!
 
Old 03-21-2008, 03:51 PM   #4
djeikyb
Member
 
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162

Original Poster
Rep: Reputation: 33
"nmap -sP 192.168.0.0/16" gives me the info I need.
 
Old 03-21-2008, 03:57 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Of course nmap is cool. it's the tool Trinity used when hacking in The Matrix Reloaded !!

http://insecure.org/
 
  


Reply



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
remote setting of IP address from a networked machines browser nick57 Linux - Networking 1 05-31-2006 06:37 PM
XP machine cannot find Linux machines moonmoth Linux - Networking 1 07-31-2005 01:26 PM
Accessing Networked machines vishalsethia Linux - Newbie 14 05-25-2005 01:57 AM
remote file access (non-networked machines) mikescar Linux - Newbie 3 02-03-2004 06:01 PM
Red Hat 9 can't find windows networked printer jmral23 Linux - Newbie 4 01-06-2004 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:41 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