Send trap to subnet

Chaitanya Gulhane <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CABVY9HtdD5COF+=+eK1Y793c5-1QB8u=ABh-CmOb2c-As3W9yA@mail.gmail.com>
Hi,

I want to send traps in my subnet. I am having IP of my m/c as 10.0.2.15. I
want to send it in 10.0.2.0/24 subnet. I have tried command as follows

snmptrap -v 2c -c public 10.0.2.0/24 "" [OID-value pairs]

It was getting hanged and resulting into following error

getaddrinfo: 10.0.2.0/24 Temporary failure in name resolution snmptrap:

Can you please tell me how to send traps in subnet? Your help will be
really appreciated.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk

_______________________________________________
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.