On Thu, 30 Dec 2004 19:14:41 +0000 Nancy wrote:
NS> Using Net-SNMP v5.2 and sending V 1 traps from Solaris 2.8 agent to
NS> localhost -- and -- management station (Windows PC) without any issues.
NS> Solaris snmp agent hosts table is configured with localhost as 127.0.0.1
NS> for performance issues.
NS>
NS> On the SNMP management station, the trap messages shows the snmpTrapAddress
NS> as the actual IP for the trap agent host. However the source address is
NS> 127.0.0.1 which is a major problem for the management station application.
Whoa... are you saying that the windows management stations is receiving traps
from a 5.2 agent? Are you sure you aren't using 5.1.2? Because there is an
outstanding bug in 5.2 that traps to non local address don't work. I know that
Linux and FreeBSD are broken... though I suppose it's possible that solaris is
less restrictive about sending packets..
NS> In process of learning snmp in the last year .... What must be done -or-
NS> configured to show the correct source address in the trap on the agent
NS> host.
Grab 5.2.1.rc1 tomorrow, and add this to your snmpd.conf before the trapsink
lines:
[snmp] clientAddr 10.0.0.1
where 10.0.0.1 is the address you want as the source address. Of course, this
will affect *all* packets from the agent. If you only want to affect traps,
then you'd have to hack up the source..
--
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>
You are lost in a twisty maze of little standards, all different.
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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