Re: snmptrap source ip

Glenn McAllister <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization SOMA Networks, Inc.
Message-ID <[email protected]>
Elad Shavit wrote:
> Hello all,
> 
>  
> 
> Does anyone know how can I predict/decide what will be the source ip for 
> sending trap using "snmptrap" (when sent from multiple IPs machines)?
> 

I had a similar problem, but I was generating informs from a subagent on 
a machine with multiple interfaces where I needed to ensure informs were 
coming from a specific interface.  See the thread starting here:

http://thread.gmane.org/gmane.network.net-snmp.user/25707/focus=25707

I haven't tried it, but I think if you add '--clientaddr=<source_ip>' to 
your snmptrap command line it will get you the result you want.

-- 
Glenn McAllister     <[email protected]>      +1 416 348 1594
SOMA Networks, Inc.  http://www.somanetworks.com/  +1 416 977 1414

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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.