On Wed, 13 Jul 2005 15:19:01 +0530 malini wrote:
M> 2.Start snmpd as follows to accept both IPv6 and IPv4 packets.
M> #  ./snmpd -f -L udp:161,udp6:161
M> 
M> 3.Test for IPv4 and IPv6 addresses 
M> a.# snmpwalk -v 1 -c public udp6:[ip6 address]:161  system
M> b.#snmpwalk -v 1 -c public localhost system
M> 
M> 
M> My problem is..This works perfect in few platforms.At some systems,i get the
M> below err at startup of snmpd
M> 
M> #  ./snmpd -f -L udp:161,udp6:161 -d
M> Error opening specified endpoint "udp6:161"

What platforms (and releases) give you this error?

It seems that some platforms don't let you open the same port for ipv4 and ipv6
at the same time for all addresses. Or at least they don't like the way our
code tries to do it.

Try just specifying udp6:161, and see if it still responds to ipv4 packets.

M> I tried to do with diff ports as below.
M> # ./snmpd -f -L udp:161,udp6:162
M> NET-SNMP version 5.2.1.2
M>  and did tests as
M> 
M> .# snmpwalk -v 1 -c public udp6:[ip6 address]:162  system
M> #snmpwalk -v 1 -c public localhost system
M> 
M> Is that OK.Why do i get "address in use" errors in some systems alone.Can i
M> go for using different ports like this.Is it Right.

You can use different ports (but 162 is a bad choice, as that is the standard
port for traps), but then your clients/managers have to be configured to use
the non-standard port.

-- 
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 the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
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