snmptrap to localhost

"Daniel Coelho" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
When I do
snmptrap  -v 1 -c public  localhost   ''  0 0  '' coldStart.0
or
snmptrap  -v 1 -c public   127.0.0.1  ''  0 0  '' coldStart.0
or
snmptrap  -v 1 -c public   172.18.50.103  ''  0 0  '' coldStart.0
I get nothing with tcpdump. (172.18.50.103 being my IP)

Thanks in advance.

Daniel Coelho


 On 5/22/07, rakesh zingade <[email protected]> wrote:
>
>
>
>  On 5/22/07, Daniel Coelho < [email protected]> wrote:
>
> >  Hi,
> >
> > when I do
> > snmptrap  -v 1 -c public  not_localhost_IP   ''  0 0  '' coldStart.0
> > the trap is received by the other host (I checked with tcpdump),
> >
> > but when I do
> > snmptrap  -v 1 -c public  local_IP_or_localhost   ''  0 0  ''
> > coldStart.0
> > I get nothing with the tcpdump port 162 and udp.
> >
> > Why can't I receive traps sent from localhost to localhost?
> >
> > Daniel Coelho
> >
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > 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
> >
> >
>
> are not_localhost_IP and local_IP_or_localhost defined in /etc/hosts or
> config files?
>
> Try with only localhost or 127.0.01
>
> --
> Rakesh P. Zingade
> +919860129598

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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