I want to build an application using snmp for searching my LAN and exploring the devices which have shared some resources. I need some assistance to start with it, I have trying to do the same using net-snmp, but still no success.
Asked
Active
Viewed 581 times
0
-
What programming language are you using? What operating system? What have you tried so far? – Cody Gray - on strike Apr 16 '11 at 07:11
-
I am working on ubuntu 10.10, programming language is C. till now I have tried Net-snmp command line applications to query some IP addresses on LAN, but always timeout. – Ankur Apr 16 '11 at 07:20
-
What is your question that is related to programming? – Mike Pennington Apr 16 '11 at 08:03
1 Answers
0
SNMP is on UDP, so you can simply do a broadcast.
It is quite normal that net-snmp times out in such cases, as no SNMP agent would like to respond to you or no SNMP agent is there in the same LAN.

Lex Li
- 60,503
- 9
- 116
- 147