Re: response source IP for SNMP walk

Bill Fenner <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CAF4Sogaf7OS0jOJSZ76gQpYXttNGos0WSuU5UG_XEP2FpYkdZg@mail.gmail.com>
On Wed, May 13, 2020 at 9:47 AM chandrasekharreddy chinnapareddygari <
[email protected]> wrote:

> Hi team,
>
>
> I want to  change source ip for snmpwalk like changing source IP for traps.
> I know , we can use clientaddr for changing source IP for traps.
>
>
> Is there any token is available to change source IP for snmpwalk.
>

Yes, in snmpapp.conf, you can use a line like

[snmp] clientaddr 192.0.2.1

to set the client addr for all the apps like snmpget, snmpwalk, etc.

  Bill

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.