Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to find IPs of all machines in a lan

Reply
Thread Tools Display Modes

How to find IPs of all machines in a lan

 
 
mailursubbu@gmail.com
Guest
Posts: n/a

 
      05-10-2006, 11:41 AM
Hi,

How to find out the IPs of all the m/cs in a lan ?

Thanks,
Subramanya M

 
Reply With Quote
 
 
 
 
Marco Dieckhoff
Guest
Posts: n/a

 
      05-10-2006, 12:31 PM
On 2006-05-10, (E-Mail Removed) <(E-Mail Removed)> wrote:
> Hi,
>
> How to find out the IPs of all the m/cs in a lan ?


keywords:

nmap (-sP)
arp


--
Marco Dieckhoff
GPG Key 0x1A6C95BA -- http://www.frankonia-brunonia.de/keys
 
Reply With Quote
 
Bill Marcum
Guest
Posts: n/a

 
      05-10-2006, 12:41 PM
On 10 May 2006 04:41:03 -0700, (E-Mail Removed)
<(E-Mail Removed)> wrote:
> Hi,
>
> How to find out the IPs of all the m/cs in a lan ?
>

Ping the broadcast address.


--
QOTD:
"What I like most about myself is that I'm so understanding
when I mess things up."
 
Reply With Quote
 
Allodoxaphobia
Guest
Posts: n/a

 
      05-10-2006, 05:16 PM
On Wed, 10 May 2006 08:41:55 -0400, Bill Marcum wrote:
> On 10 May 2006 04:41:03 -0700, (E-Mail Removed)
> <(E-Mail Removed)> wrote:
>>
>> How to find out the IPs of all the m/cs in a lan ?
>>

> Ping the broadcast address.


Experience here -- and anecdotal comments seem to confirm -- Win XP
does _not_ reply to broadcast pings.

Jonesy
--
Marvin L Jones | jonz | W3DHJ | linux
38.24N 104.55W | @ config.com | Jonesy | OS/2
*** Killfiling google posts: <http//jonz.net/ng.htm>
 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      05-10-2006, 07:55 PM
On 10 May 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed) .com>, (E-Mail Removed)
wrote:

> How to find out the IPs of all the m/cs in a lan ?


]Organization: http://groups.google.com

Sigh...

1. Ask google. A search for "find IP addresses on LAN" turns up about
12,200,000 hits in less than a fifth of a second.
2. Ask the network administrator.
3. Try pinging the broadcast address (but some O/S ignore broadcast pings,
and some systems run firewalls that block ping).
4. Run a sniffer like 'tcpdump', 'sniffit', 'ethereal', etc, looking at ARP
packets - though this only finds systems that are talking.
5. Use a scanner like nmap to scan the network.
6. Write a dumb three line shell script to attempt a connection to some
port on each host address on the LAN. This only finds hosts that are
turned on.
7. Use a DNS query tool to ask the name server(s) for all hosts.
8. Review your course material and see what the instructor recommended.

Old guy
 
Reply With Quote
 
Raqueeb Hassan
Guest
Posts: n/a

 
      05-11-2006, 03:28 PM
> 6. Write a dumb three line shell script to attempt a connection to
some
> port on each host address on the LAN. This only finds hosts that are
> turned on.


<snip>

It works great most of the time - along with nmap.




--
Raqueeb Hassan
Bangladesh

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Machines can't see each other on LAN gordon451 Home Networking 1 07-22-2010 05:38 AM
Machines on LAN Timothy Murphy Linux Networking 23 11-08-2007 06:51 PM
Unable to see machines on the ethernet; Unable to find printers John M Wireless Networks 1 06-07-2005 03:32 AM
Can't see some machines Wards Wireless Networks 2 05-22-2005 09:18 AM
Can't ftp or ssh between Red hat 9 machines skip evans Linux Networking 1 11-12-2003 02:25 AM



1 2 3 4 5 6 7 8 9 10 11