>>>>> On Wed, 9 Sep 2009 15:00:26 +0530, Deepali Singalkar 
>>>>> <[email protected]> said:

DS> Further when I issue the snmpget command with ipv6 address as specified in
DS> the response to FAQ_Application 28
DS> snmpget -v 3 -n '' -l authPriv -u myuser -A my_password 'udp6:[::1]:161' -l
DS> authNoPriv sysUpTime.0
DS> getaddrinfo:  Name or service not known
DS> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (91727) 0:15:17.27
DS> I get the Timeticks back but with the message "getaddrinfo:  Name or service
DS> not known"

That looks to me like the reverse lookup is failing.  I'm not 100% sure
what the issue is there.

DS> When I execute the command with the actual ipv6 address as below
DS> snmpget -v 3 -n '' -l authPriv -u myuser -A my_password
DS> 'fe00::211:25ff:fea4:579a' -l authNoPriv sysUpTime.0

You need to tell it you want to use ipv6, and you didn't.  try:

snmpget -v 3 -n '' -l authPriv -u myuser -A my_password
'udp6:[fe00::211:25ff:fea4:579a]:161' -l authNoPriv sysUpTime.0

-- 
Wes Hardaker
Please mail all replies to [email protected]

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to