> I am using NET-SNMP version: 5.0.6
> I have written a program for SNMP subagent to connect
> to master agent for serving get/set requests.

What sort of "subagent" is this?
Are you using AgentX or something else?


>                      when I use tcp it works fine..
> but when use udp to connect to master agent.. I can
> register the Object handler

Does the master agent actually receive this registration?
If you run the master in debug mode (e.g. "snmpd -f -Le -d"
for the Net-SNMP agent), do you see the incoming registration
requests?   Or is it just that the registration call doesn't
return an error?


As far as the Net-SNMP AgentX master is concerned,
I suspect that it probably only listens for TCP connections
unless you explicitly specify UDP.

  And note that AgentX was designed for use with a
connection-oriented transport.  I can't immediately
think why using UDP wouldn't work, but it's not really
part of the original design, and some master agents may
well not support this.


What software are you using for the master agent,
and how have you configured it?

Dave



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to