RE: IPv6 support not enabled on Solaris 9 when building Net-SNMP_5.3.1

This is a discussion on RE: IPv6 support not enabled on Solaris 9 when building Net-SNMP_5.3.1 within the SNMP Coders forums, part of the Networking and Network Related category; Hi, Contents of snmpd.conf file =========================== rocommunity SNMP_COMMUNITY-1 rwcommunity SNMP_COMMUNITY-2 rocommunity6 SNMP_COMMUNITY-61 rwcommunity6 SNMP_COMMUNITY-62 Starting of ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-06-2006
 
Posts: n/a
Default RE: IPv6 support not enabled on Solaris 9 when building Net-SNMP_5.3.1

Hi,

Contents of snmpd.conf file
===========================
rocommunity SNMP_COMMUNITY-1
rwcommunity SNMP_COMMUNITY-2
rocommunity6 SNMP_COMMUNITY-61
rwcommunity6 SNMP_COMMUNITY-62

Starting of snmpd
-----------------
../snmpd -d -f -Le -Dnetsnmp_udp6 udp:161,udp6:1161

Output of netstat -a -P udp
===========================
UDP: IPv4
Local Address Remote Address State
-------------------- -------------------- -------
....
*.snmp Idle
*.1161 Idle
....
UDP: IPv6
Local Address Remote Address State
-------------------- -------------------- -------
*.1161 Idle

Command Execution
=================
IPv6:
% snmpget -v1 -c SNMP_COMMUNITY-61 'udp6:[fe80::203:baff:fe2a:a645]:1161' sysName.0
Timeout: No Response from udp6:[fe80::203:baff:fe2a:a645]:1161

Output On Agent Console
=======================
netsnmp_udp6: fmtaddr: t = 0, data = 2297c8, len = 32
netsnmp_udp6: recvfrom fd 6 got 54 bytes (from UDP/IPv6: [fe80::203:baff:fe2a:a645]:-22606)
netsnmp_udp6: fmtaddr: t = 23a460, data = 2297c8, len = 32

Received 54 bytes from UDP/IPv6: [fe80::203:baff:fe2a:a645]:-22606
0000: 30 34 02 01 00 04 11 53 4E 4D 50 5F 43 4F 4D 4D 04.....SNMP_COMM
0016: 55 4E 49 54 59 2D 36 31 A0 1C 02 04 49 D9 6C 6E UNITY-61....I.ln
0032: 02 01 00 02 01 00 30 0E 30 0C 06 08 2B 06 01 02 ......0.0...+...
0048: 01 01 05 00 05 00 ......

netsnmp_udp6: fmtaddr: t = 23a460, data = 2297c8, len = 32
Received SNMP packet(s) from UDP/IPv6: [fe80::203:baff:fe2a:a645]:-22606
GET message
-- SNMPv2-MIB::sysName.0
netsnmp_udp6_getSecName: resolve <"SNMP_COMMUNITY-61", fe80::203:baff:fe2a:a645>
netsnmp_udp6_getSecName: compare <"SNMP-COMMUNITY-61", 0x/0x000000000000000000000000ffbfed00>... nope
netsnmp_udp6_getSecName: compare <"SNMP_COMMUNITY-62", 0x/0x000000000000000000000000ffbfed00>... nope

(repeats for retries...)


Sincerely,
Rahul K

-----Original Message-----
From: Thomas Anders [mailto:thomas.anders@blue-cable.de]
Sent: Wednesday, September 06, 2006 2:03 PM
To: rahul_k_sharma@agilent.com
Cc: D.T.Shield@csc.liv.ac.uk; net-snmp-coders@lists.sourceforge.net; sunil_ak@agilent.com
Subject: Re: IPv6 support not enabled on Solaris 9 when building Net-SNMP_5.3.1

rahul_k_sharma@agilent.com wrote:
> ./snmpd -d -p udp:161,udp6:1161


Why "-p"? This option is meant to be used for

-p FILE store process id in FILE

which means that "udp:161,udp6:1161" would be treated as a filename
rather than a transport identifier. Please try again with

../snmpd -d -f -Le -Dnetsnmp_udp6 udp:161,udp6:1161

> UDP: IPv6
> Local Address Remote Address State
> -------------------- -------------------- ------- ...
> (*.snmp NOT PRESENT)


In the netstat output, look for "1161" rather than *.snmp for IPv6
because you've started it on a non-default port!

If it still fails, post the output of the agent. If it isn't helpful
enough, run snmpd under gdb and step through snmplib/snmpUDPIPv6Domain.c
to find out where it fails.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:04 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0