Could you use nslookup?
For example...
me at host > nslookup
> server ns1.mit.edu
Default Server: W20NS.MIT.EDU
Address: 18.70.0.160
Aliases: ns1.mit.edu
> ls mit.edu
[lots of mit hosts follow...]
You can also pass args to ls to tell about the hardware on the network.
Interesting reading if your quite, quite bored...
Note: This will give you in the region of 65,000 hosts (I think) so use
with caution, on mit anyway.
John
* At 21:45, 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.
>> Is there any other ways to do this ? Dodgy multicast packets probably
> aren't cunning either. And I really don't want to have to go through the
> entire network, pinging the machines individually...though it's looking
> that way.
>> Kate
>> --
> The words of the unwary are apt to cause needless pain and bloody violence.
> - Zen Master Greg
>> --
> Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at linux.ie
--
John Malone
www.johnmalone.org
Auditor UCD Internet Society
2000 - 2001
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!