You could use a unix utility that would do a scan based on TCP commands. Or you could do a high level ping scan. If you know the machines are all going to be friendly you could try to connect to a given port.. Um, how big is your network?

Why not check out nmap at insecure.org? Something like that can help you especially if you want to check the security of those hosts. You can also catch machines which have been set up to be quiet on your network, something which I don't think I'd trust ping to do. I know it's kind of like asking for a match and being given a tanker full of gasoline so be careful with the stuff. You should be able to parse the output file.

Probably all you need to do is write your own script to ping a small company network for something short and sweet. But know that professional tools like those above are available.


In reply to Re: How can I determine all the hosts on my network? by mattr
in thread How can I determine all the hosts on my network? by Ri-Del

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.