Discussion:
Reg: How to do netsnmp snmp walk for IPv6 TCP/UDP mibs
Arulkumar Ponnusamy
2010-07-27 09:52:22 UTC
Permalink
Hi
I have installed the net-snmp5.5 on my windows machine and configured the
snmp agent.
My snmp agent is running fine. When i try to do snmpwalk for IPv6 related
mibs i am getting
the following error.
C:\usr\bin> snmpwalk -v 2c -c default 127.0.0.1 1.3.6.1.2.1.6.16
TCP-MIB::tcp.16 = No Such Object available on this agent at this OID

Please suggest me how to resolve this issue
Arulkumar Ponnusamy
2010-07-28 05:03:36 UTC
Permalink
can anyone help me on this.
Post by Arulkumar Ponnusamy
Hi
I have installed the net-snmp5.5 on my windows machine and configured the
snmp agent.
My snmp agent is running fine. When i try to do snmpwalk for IPv6 related
mibs i am getting
the following error.
C:\usr\bin> snmpwalk -v 2c -c default 127.0.0.1 1.3.6.1.2.1.6.16
TCP-MIB::tcp.16 = No Such Object available on this agent at this OID
Please suggest me how to resolve this issue
Mike Ayers
2010-07-28 23:53:51 UTC
Permalink
Sent: Tuesday, July 27, 2010 10:04 PM
I have installed the net-snmp5.5 on my windows machine and
configured the snmp agent.
My snmp agent is running fine. When i try to do snmpwalk for IPv6
related mibs i am getting
the following error.
C:\usr\bin> snmpwalk -v 2c -c default 127.0.0.1 1.3.6.1.2.1.6.16
TCP-MIB::tcp.16 = No Such Object available on this agent at this OID
This could be security:

http://www.net-snmp.org/docs/FAQ.html#I_can_see_the_system_group__but_nothing_else___Why_

Beyond that, the IPv6 table may not have been built into your agent. I don't even know if the IPv6 table was implemented for Windows. Wish I could be of
Dave Shield
2010-07-29 08:12:28 UTC
Permalink
      C:\usr\bin> snmpwalk -v 2c -c default 127.0.0.1 1.3.6.1.2.1.6.16
      TCP-MIB::tcp.16 = No Such Object available on this agent at this OID
In general, I'd suggest walking 1.3.6.1.2.1.6 (i.e. the 'tcp' group)
This would show whether the IPv4-related TCP information was visible or not.
If not, then this would tend to indicate the "system group only" issue that Mike
mentions.
 I don't even know if the IPv6 table was implemented for Windows.
Looking at the 'netsnmpmibs' Visual C++ project file, this makes reference
to 'mibII\tcpTable.c' (which is IPv4 only), but not the newer 'tcp-mib'
implementation (which includes the IPv6 support).

It *might* be possible to use the winExtDLL mechanism to make use of the
Windows SNMP service information - see README.win32 for more details.
But I've no experience of doing this, and don't actually know whether this
would help here.

Dave
Arulkumar Ponnusamy
2010-07-29 09:47:34 UTC
Permalink
Thanks Dave.

I wanna know in sun-solaris-10 , if net-snmp is compiled with the option "*
--enable-ipv6*", Will able to get ipv6 information related information from
net-snmp snmpwalk commond or we need to give implementation for IPv6 related
mibs for net-snmp?
Post by Dave Shield
Post by Mike Ayers
Post by Arulkumar Ponnusamy
C:\usr\bin> snmpwalk -v 2c -c default 127.0.0.1 1.3.6.1.2.1.6.16
TCP-MIB::tcp.16 = No Such Object available on this agent at this
OID
In general, I'd suggest walking 1.3.6.1.2.1.6 (i.e. the 'tcp' group)
This would show whether the IPv4-related TCP information was visible or not.
If not, then this would tend to indicate the "system group only" issue that Mike
mentions.
Post by Mike Ayers
I don't even know if the IPv6 table was implemented for Windows.
Looking at the 'netsnmpmibs' Visual C++ project file, this makes reference
to 'mibII\tcpTable.c' (which is IPv4 only), but not the newer 'tcp-mib'
implementation (which includes the IPv6 support).
It *might* be possible to use the winExtDLL mechanism to make use of the
Windows SNMP service information - see README.win32 for more details.
But I've no experience of doing this, and don't actually know whether this
would help here.
Dave
Dave Shield
2010-08-02 08:27:22 UTC
Permalink
I wanna know  in sun-solaris-10 , if net-snmp is compiled with the option
"--enable-ipv6", Will able to get  ipv6 information related information from
net-snmp snmpwalk commond or we need to give implementation for IPv6 related
mibs for net-snmp?
I'm not sure.
I believe that --enable-ipv6 is only concerned with the supported transports,
rather than the MIB modules that the agent implements.
It would probably be safest to run

configure --enable-ipv6 --enable-mfd-rewrites

I'm also not sure whether these are supported under Solaris or not.
But you should find out fast enough.

Dave
Arulkumar Ponnusamy
2010-08-03 04:35:58 UTC
Permalink
Thanks Dave.
Post by Arulkumar Ponnusamy
Post by Arulkumar Ponnusamy
I wanna know in sun-solaris-10 , if net-snmp is compiled with the option
"--enable-ipv6", Will able to get ipv6 information related information
from
Post by Arulkumar Ponnusamy
net-snmp snmpwalk commond or we need to give implementation for IPv6
related
Post by Arulkumar Ponnusamy
mibs for net-snmp?
I'm not sure.
I believe that --enable-ipv6 is only concerned with the supported transports,
rather than the MIB modules that the agent implements.
It would probably be safest to run
configure --enable-ipv6 --enable-mfd-rewrites
I'm also not sure whether these are supported under Solaris or not.
But you should find out fast enough.
Dave
Loading...