Do one thing, Run this script

for (( x = 0; x <= 255; x++ )); do
/bin/ping -w 2 -c 1 192.168.0.$x
done;

arp -a 
or 
arp -an
or 
arp -n

else 'man arp'

This should list all the MAC and may be 
their name if you have properly setup your 
reverse DNS lookup

replace '192.168.0' with your network first 
three parts of your network.

Hold on I am done yet.
I am assuming a simple network here.
So don't cry and come back to me discussing 
about class A,B,C and D.

----- Original Message ----- 
From: "Logu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 17, 2002 7:33 AM
Subject: Re: [LIH] How to find all the devices in a network.






> ping the entire subnet for a few seconds (broadcast ping), and then 
use
> arp
>
I have tried it already but not all devices are getting  cached.  
Especially
i could n't find the switches, routers and printers.

-logu


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help










_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to