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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to