Re: configure interface to send traps

Pushpa Thimmaiah <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <CAASqVJWUG2C4XiD0xUxzckUwatziJnjE7=RPEjfQcFjUa27BYw@mail.gmail.com>
Thank you Bill Fenner.

On Sat, Oct 13, 2018 at 8:29 PM Bill Fenner <[email protected]> wrote:

> On Thu, Oct 4, 2018 at 1:19 AM Pushpa Thimmaiah <
> [email protected]> wrote:
>
>> Hi All,
>>
>> I have understood that option 'clientAddr'  to provide source-IP address
>> for outgoing traps.  There is no option to provide source-interface to send
>> traps.
>> Kindly let me know reason for this restriction.
>>
>
> The source IP address is all that the UNIX socket interface allows
> net-snmp to control.  (There's an exception for the case that the trap
> receiver is directly connected on the given interface, but when that is
> true, it almost always works the way you want anyway.)
>
> Eg: I have one physical interface 'eth1' and vlans 'eth1.101', 'eth1.102'.
>> Traps sent out via eth1 by default . How can configure 'snmptrap' tool to
>> use eth1.101 to send traps.
>>
>
> Configure your routing table so that packets towards the trap destination
> go out eth1.101.
>
>   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.