[cgl_discussion] IPv6 MIBs/SNMP requirements/support

Venkata Jagana jagana at us.ibm.com
Wed Feb 19 15:34:25 PST 2003




>Yes. I guess "netinet6" directory needs to be added to the system
>header files. Also 'SIOCGIFSTAT_IN6' and 'SIOCGIFSTAT_ICMP6' needs
>to be enabled for ioctl() calls. None of these is available on my
>RedHat 8.0 box which runs a 2.4 kernel.

Even though, I personally like the idea of adding netinet6 directory
but Linux IPv6 implementation chose not to and rather have added all
the ipv6 related header files along with other v4 files in the same
directory. So, as I responded in the previous email, try to keep
the same directory structure as in linux today unless you have a stronger
justification to add at this time.


Thanks,
Venkat





                                                                                                                                            
                      "Zou, Yixiong"                                                                                                        
                      <yixiong.zou at intel.com>         To:       "'Randy.Dunlap'" <rddunlap at osdl.org>                                        
                      Sent by:                        cc:       cgl_discussion at osdl.org                                                     
                      cgl_discussion-admin at lis        Subject:  RE: [cgl_discussion] IPv6 MIBs/SNMP requirements/support                    
                      ts.osdl.org                                                                                                           
                                                                                                                                            
                                                                                                                                            
                      02/19/03 12:06 PM                                                                                                     
                                                                                                                                            
                                                                                                                                            




Yes. I guess "netinet6" directory needs to be added to the system
header files. Also 'SIOCGIFSTAT_IN6' and 'SIOCGIFSTAT_ICMP6' needs
to be enabled for ioctl() calls. None of these is available on my
RedHat 8.0 box which runs a 2.4 kernel.

------------------------------------------------------------------------
Yixiong Zou (yixiong.zou at intel.com)
(503) 677-4988

All views expressed in this email are those of the individual sender.




> -----Original Message-----
> From: Randy.Dunlap [mailto:rddunlap at osdl.org]
> Sent: Wednesday, February 19, 2003 11:59 AM
> To: Zou, Yixiong
> Cc: cgl_discussion at osdl.org
> Subject: Re: [cgl_discussion] IPv6 MIBs/SNMP requirements/support
>
>
> On Wed, 19 Feb 2003 11:52:56 -0800
> "Zou, Yixiong" <yixiong.zou at intel.com> wrote:
>
> | > As we have discussed in PoC conf call today morning, here is a
> | > high level description of the requirements, the existing support
> | > in Linux regarding SNMP support for IPv6 MIBs and SNMP transport
> | > over IPv6.
> | >
> | > To provide a better understanding, I have split the info into
> | > various categories/layers:
> | >
> | > 1) IPv6 stack within Linux kernel today doesn't have the complete
> | > required support for all of IPv6 MIBs (specified below, as defined
> | > by IETF IPv6 WG) except for a very primitive level support of the
> | > general MIB group:
> | >
> | >   IP Version 6 MIB for the Transmission Control Protocol
> (RFC 2452)
> | >   IP Version 6 MIB for the User Datagram Protocol (RFC 2454)
> | >   MIB for IP Version 6: Textual Conventions and General Group
> | > (RFC 2465)
> | >   MIB for IP Version 6: ICMPv6 Group (RFC 2466)
> | >
> | >  This means that internally within kernel IPv6 stack, the
> statistics
> | >  and/or info corresponding to MIB data must be gathered and saved
> | >  for ultimate retrieval by SNMP agents.
> | >
> | > 2) SNMP Agent must also provide the support of these IPv6 MIB's.
> | > It further means that it must support corresponding encoding of
> | > these various object groups and obtain the data from the kernel.
> | >
> | >  The net-snmp project (www.netsnmp.org) claims to have
> this support
> | > provided already in their released versions but this code needs to
> | > be validated for Linux to understand their current level of
> | > support.
> | >
> |
> | Ok, I just looked into the source code for the NET-SNMP
> release 5.0.7.
> | Here's my findings regarding to the support of IPv6.
> |
> | IPV6-MIB::ipv6IfTable
> |     This is the only table I was able to verify on my
> redhat 8.0 box.
> |     Largely implemented. Except the following OIDs:
> |            ipv6IfReasmMaxSize:          not done
> |            ipv6IfIdentifier:            not done
> |            ipv6IfIdentifierLength:      not done
> |            ipv6IfLastChange:            not reliable so not enabled
> |
> | IPV6-MIB::ipv6IfStatsTable
> |     All implemented. Requires 'SIOCGIFSTAT_IN6' to be defined.
> |     This value is then used to make an ioctl() call. I don't
> |     have this defined on my system. So can not verify this.
> |
> | IPV6-MIB::ipv6AddrPrefixTable
> | IPV6-MIB::ipv6AddrTable
> | IPV6-MIB::ipv6RouteNumber
> | IPV6-MIB::ipv6DiscardedRoutes
> | IPV6-MIB::ipv6RouteTable
> | IPV6-MIB::ipv6NetToMideaTable
> | IPV6-MIB::ipv6Notifications
> |     All not implemented.
> |
> | IPV6-ICMP-MIB::ipv6IfIcmpTable
> |     All implemented. Requires 'SIOCGIFSTAT_ICMP6' defined.
> |     This value is then used to make an ioctl() call. I don't
> |     have this defined on my system. So can not verify this.
> |
> | IPV6-TCP-MIB::ipv6TcpConnTable
> |     All implemented. Needs 'netinet6/tcp6.h'. I do not have
> |     'netinet6' on my system. So can not verify this.
> |
> | IPV6-UCD-MIB::ipv6UdpTable
> |     All implemented. But could not verify by snmpwalk somehow.
> |     Maybe I do not have it setup correctly.
> |
> |
> --------------------------------------------------------------
> ----------
>
> Thanks for this info.  I'm trying to learn how to add the
> required MIB statistics to Linux 2.5.
>
> --
> ~Randy
>
_______________________________________________
cgl_discussion mailing list
cgl_discussion at lists.osdl.org
http://lists.osdl.org/mailman/listinfo/cgl_discussion






More information about the cgl_discussion mailing list