Re: [snmptrap] : source ip 0.0.0.0

Bill Fenner <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAF4SogYjWwCMbw=gM2uq0EAbFX06J+Pq=sBsx2-8Udb99arq3A@mail.gmail.com>
On Wed, Oct 10, 2018 at 4:35 AM Pushpa Thimmaiah <[email protected]>
wrote:

> Hi All,
> Following is debug/trace message of tool 'snmptrap' while sending
> snmpv2c traps.  What does '0.0.0.0' means here?
> Does the data sent to all interfaces of device (snmpagent) ?
> 172.16.4.12 is trap destination.
>
> -------------------------------------------------------------------------------------------------------------------------------------------
> trace: netsnmp_udpipv4base_transport():
> transports/snmpUDPIPv4BaseDomain.c, 163:
> netsnmp_udpbase: client open UDP: [172.16.4.12]:162->[0.0.0.0]:56615
>
>
> transport:send: 89 bytes to UDP: [172.16.4.12]:162->[0.0.0.0]:56615
>
> --------------------------------------------------------------------------------------------------------------------------------------------
>

The arrow is in the wrong direction in those debug messages.  It means, you
are sending from any local address, 0.0.0.0 means you don't care, port
56615, to 172.16.4.12 port 162.

  Bill

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