in reply to How can I determine all the hosts on my network?

the best solution for you will depend on several things.

if you are on the name server, you can parse the zone files.
if your machines are all on the same subnet, you can check the broadcast address.
you could do a zone xfer as someone else suggested.

you said you are trying to see "what machines are up." you might want to look into netsaint or big brother. both of those require you to have a list of your IPs to start out with, though. your question implies maybe you have dynamic ips?

you also said you had some scripts that were useful, but lacking. what point(s) are you stuck at?

  • Comment on Re: How can I determine all the hosts on my network?

Replies are listed 'Best First'.
Re: Re: How can I determine all the hosts on my network?
by Ri-Del (Friar) on Jun 15, 2001 at 23:58 UTC

    The point I was stuck at was that I had as of yesterday used objects in Perl for the first time, and had not quite figured out the Tao of what I was doing.

    I had tried some example scripts on how to use the DNS stuff and then had tried modifying them to see if I understood what they were doing and how to use them. So while I had figured out how to obtain my own hostname and resolve its ip address. I really couldn't find a way to do what I was attempting.

    However, since then I have discovered CPAN, learned how to install modules, and found that the world of Perl was far bigger than I had first thought.

    Thanks for responding, I appreciate it!