Re: source-interface implementation

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGbwg7y7CDyaaKtrLyXLcfK+7X-8jvzFGzvp1rwn0=pwbw@mail.gmail.com>
On 6 December 2011 10:17, ashok kumar <[email protected]> wrote:
> I have a requirement to implement for source-interface functionality.
>
> If the agent runs on a machine with more than one physical interface,
> the traps and informs always goes out through a particular interface
> (may be default interface).
> I want to change this so that after I configure source-interface, the
> traps and informs has to go out from the configured interface.
>
> Could you please suggest an existing configuration / API in net-snmp
> for this. Thanks.


   $ man snmp.conf

          clientaddr [<transport-specifier>:]<transport-address>
              specifies the source address to be used by command-line applica-
              tions when sending SNMP requests. See snmpcmd(1) for more infor-
              mation about the format of addresses.

===>          This value is also used by snmpd when generating
notifications.  <====

(Note - snmp.conf,  not snmpd.conf)


Dave

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
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.