>If you start snmpd with 'snmpd 192.168.0.1:161,localhost:161', it would >show

>up twice in the table with the 192.168.0.1 and 127.0.0.1 addresses. In this

>case, two entries equals one listener.

 

Does each row in this table "udpEntry", represent one listener.

Then in that case, what you have mentioned might be wrong as there are 2 entries in the table with 192.168.0.1 and 127.0.0.1 addresses.

 

And the description of this table "udpEntry",  is given as

"Information about a particular current UDP listener."

 

And if the snmpd is started with <portaddress>@localport (ex snmpd tcp:[EMAIL PROTECTED] )then I will not be able to access any mib variable with the ipaddress (in the example you have given, if I do snmpwalk -v1 -c public 192.168.0.1 ucdavis; I am not getting any result. And if I do snmpwalk -v1 -c public localhost ucdavis; I am getting the values)

 

Hence I presume each entry in this table can be considered as one listner.

 

Please correct me if I am wrong

 

Regards,

Naga

 

            This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!

 

 

-----Original Message-----
From: Robert Story [mailto:[EMAIL PROTECTED]
Sent:
Saturday, January 14, 2006 5:37 PM
To: [EMAIL PROTECTED]
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: Regarding UDP Entry table

 

On Fri, 13 Jan 2006 12:05:33 +0530 Naganarasimha wrote:

N> But later in some machines having xp os, I am able to see there 2 entries in

N> the table with same port number but with different udpLocalAddress OID

N> values.

 

How about an example? Assume your machine's IP address is 192.168.0.1. If you

start snmpd with 'snmpd udp:161', it would show up in the table with the

0.0.0.0 address.

 

If you start snmpd with 'snmpd 192.168.0.1:161', it would show up in the table

with the 192.168.0.1 address.

 

If you start snmpd with 'snmpd 192.168.0.1:161,localhost:161', it would show

up twice in the table with the 192.168.0.1 and 127.0.0.1 addresses. In this

case, two entries equals one listener.

 

But say you had a second interface, and started a second version of snmpd with

'snmpd 10.0.0.1:161'. Continuing from the previous state, you'd now have 3

entries for port 161, with two listeners.

 

That help?

 

--

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-coders>

 

You are lost in a twisty maze of little standards, all different.

Reply via email to