Re: obtaining ip address

Abraham Varricatt <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Wed, Feb 16, 2011 at 2:29 PM, th exterit <[email protected]> wrote:

> Unfortunately I do not have a choice.  Also, we have a specific network
> setup where traps are broadcast on the LAN by specific devices with a known
> OID.  I'm not sure I need worry about those cases you brought up but I could
> be wrong.  So there is definitely no way to grab the IP from the callback or
> some such?
>

A creative (and un-tested) method, is to run multiple agents on different
ports. If this is just a small LAN network with a handful of agents, you
could simply have the different agents send the traps to different pots on
the snmp-manager system. That way, depending on which port the request came
in, you could isolate which agent sent the message.

A possible limitation of this, is that we have no way of protecting the
setup against spoofing. Also, I haven't had the need to work with snmp traps
(yet), so take my advice with a grain of salt.

-Abraham V.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.