Hi,

I guess you are using SNMPv1 for the traps, right?
With SNMPv2c and v3 this issue does not exists, since
those SNMP version do not include a trap source address
by default. Including such an address in the SNMP packet
is a bad idea for many reasons. One is IPv6 and another
proxy issues.

You can set any IP source address for SNMPv1 traps by
implementing your own NotificationOriginator.

Regards,
Frank

[email protected] wrote:
> Hi,
> 
> I am using snmp4j-agent 1.1.4 for an agent implementation that
> sends trap for certain situations. I am using MIBBrowser to receive
> the traps.
> 
> The problem is that the source of the traps is always 0.0.0.0.
> 
> When I use a specific agent address the source is the one I use,
> e.g. "localhost" or the corresponding IP.
> 
> The agent is attached to a master agent and should not be reachable from
> outside, so using "localhost" would be fine. But then source of the traps
> is then always "localhost" which is not OK.
> 
> Is there any chance how I could solve the issue?
> 
> Regards,
> M

-- 
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com

_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to