The tool "looper-ng" was pointed out to me and is working really well for this task.

Nick


--
Nick Ellson
CCDA, CCNP, CCSP, CCAI,
MCSE 2000, Security+, Network+
Network Hobbyist.

On Wed, 8 Jun 2005, Robert Story wrote:

On Wed, 25 May 2005 15:30:42 -0700 (PDT) Nick wrote:
NE> I have many devices sending SNMP traps to a Solaris 8 system running
NE> Ciscoworks. Most of the devices can only send traps to one IP address. I
NE> now have need of 4 devices to get copies of this trap stream.
NE>
NE> Can net-snmp running on this Solaris box accept snmp-traps for local use
NE> with Ciscoworks, and also reflect the traps out to 3 other devices
NE> (hopefully leaving the source IP intact such that the information on
NE> thedevice that sent the trap is not lost?

It can't pass the trap to Ciscoworks, unless ciscoworks can listen on a
non-standard port. The it would work just like the other destinations - use the
forward token in your snmptrapd.conf.  As fare as the source IP, there was a
recent thread on that here (or on the coders list), but I wasn't following it.

NE> Or if that isn't something net-snmp can do, would anyone know what can do
NE> this? (the 3 other devices are on the same local subnet as the original
NE> target snmp serevr, so I should be fine bandwidth wise duplicating the
NE> traffic.)

It wouldn't be to hard to write a small app that reads incoming packets to port
162 and simply redirects them to 4 other destinations. The source IP in the
packet's IP header would change, but if the remote destinations get the trap
address from the trap, instead of the IP header, you should be ok.

--
NOTE: messages sent directly to me, instead of the lists, will be deleted
     unless they are requests for paid consulting services.

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.


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to