LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] network discovery...

[ILUG] network discovery...

Scott Wunsch ilug at tracking.wunsch.org
Wed Nov 15 19:21:00 GMT 2000


On Tue, 14-Nov-2000 at 21:41:07 +0000, John P . Looney wrote:

>  I'm trying to work out what hosts are on a network. I thought it would be
> just a matter of doing a broadcast ping, but it seems at least some
> machines don't respond to it (like Win98 machines, for a start) - which
> they are perfectly entitled to do.

Active approach:  Walk through the entire subnet firing off ARP requests
and watching for responses.  It's still a lot of work, but it's slightly
less network traffic than using ping (which would have to do the ARP
requests anyway, after all).

Passive approach:  Sit there on the network, and watch all the ARP traffic.
After watching for a while, you'll have the IP address of any machine that
ever bothers to talk on the network.  Of course, this could take a while
before you would be very sure of getting all the machines.

Writing code for either approach is left as an exercise for the reader ;-).

-- 
Take care,
Scott \\'unsch

... To study a subject best, know it well before you start.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell