Re: IPV6-MIB

manik chopra <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks Dave,
 
 I used the IPv6 MIB that comes with NET-SNMP. In the result I could see values for the one table (1st one) only. More-over I am not sure which leaf object  in the MIB corresponds to the IPv6 address. 
 
 I did found "ipv6AddrTable::ipv6AddrAddress" useful, but its "not-accessible".
 
 I am looking for a leaf objects that tells:
      1.) IP protocol version type (i.e. IPv4 or IPv6)
      2.) IPv6 address
      3.) are IP address set to static or dynamic
 
 Thanks in Advance
 
 ------ OUTPUT FROM  walking on IPv6 MIB:
 
 [root@~]# snmpwalk -v1 -c public localhost ipv6mib
 
 IPV6-MIB::ipv6Forwarding.0 = INTEGER: notForwarding(2)
 IPV6-MIB::ipv6DefaultHopLimit.0 = INTEGER: 64
 IPV6-MIB::ipv6Interfaces.0 = Gauge32: 2
 IPV6-MIB::ipv6IfDescr.1 = STRING: lo
 IPV6-MIB::ipv6IfDescr.2 = STRING: eth0
 IPV6-MIB::ipv6IfLowerLayer.1 = OID: SNMPv2-SMI::zeroDotZero
 IPV6-MIB::ipv6IfLowerLayer.2 = OID: SNMPv2-SMI::zeroDotZero
 IPV6-MIB::ipv6IfEffectiveMtu.1 = Gauge32: 16436 octets
 IPV6-MIB::ipv6IfEffectiveMtu.2 = Gauge32: 1500 octets
 IPV6-MIB::ipv6IfPhysicalAddress.1 = STRING:
 IPV6-MIB::ipv6IfPhysicalAddress.2 = STRING: 0:8:74:be:6e:2c
 IPV6-MIB::ipv6IfAdminStatus.1 = INTEGER: up(1)
 IPV6-MIB::ipv6IfAdminStatus.2 = INTEGER: up(1)
 IPV6-MIB::ipv6IfOperStatus.1 = INTEGER: up(1)
 IPV6-MIB::ipv6IfOperStatus.2 = INTEGER: up(1)
 
 [root@ ~]#                                 
 
 
 Regards
 manik
 
 
 
 
 Dave Shield <[email protected]> wrote: On Mon, 2005-11-14 at 16:16 -0800, manik chopra wrote:
> I am working with a machine that has IPv4 & IPv6 compatible
> interface. 
> 
>  'ifconfig' returns both IPv4 and IPv6 address. But when I query
> the SNMP agent for 'netSnmpHostTable', I only see IPv4 address.
> (output is below)
> 
> any suggesstions ... on why is this happening ?? 

Because the netSnmpHostTable is only implemented to report
IPv4 addresses, taken from /etc/hosts.  It is not intended
as a means of monitoring the local interface information.
It is primarily an example of the MfD framework - note
the name of the MIB that it's defined in!

You probably need to be looking at the IPV6-MIB::ipv6IfTable
instead,

Dave



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.