cancel
Showing results for 
Search instead for 
Did you mean: 

Network Auto Discovery Problem

Sreenivasa_N_1
Occasional Contributor

Network Auto Discovery Problem

Hi,
I have written a C program to auto discover the elements in a network.
Basically i am broadcasting an ICMP(ECHO/ping) message on the network and collecting all the IP address from the reply of this ICMP message.

In this case I am able discover only Network devices like Routers and Switches and servers like Unix or Linux m/c. But not NT machines.
Could any one let me know why is it so and any other method to discover the elements in the network,

Rgds,
srini
1 REPLY
Ralf Reinartz
Frequent Advisor

Re: Network Auto Discovery Problem

Hello,

Use "fping" to ping the Network (up to 255 adesses with one command"
You'll get reponse for all IP addresses alive.
When you've got the IP use nmblookup (Part of Samba) to discover the Windows version and Workgroup.
For SNMP Station you can discover Systemnames and so on with snmpget (CMU SNMP or UCD SNMP or perl snmptools or ....)
I do it on this way with some perl-scripts only and it works great for two years now.

so long

Ralf