Dave Shield wrote:
On 17 February 2010 13:21, sanjaykumar <[email protected]> wrote:
  
            I have included the //ipDefaultRouterTable  with
net-snmp-5.4.2.1 from //net-snmp-5.5
I am doing walk for this table
It shows the following Error:
//IP-MIB::ipDefaultRouterTable = No Such Object available on this agent
at this OID

Could anybody help me out for above.
What could be REASON ???
    


One possibility might be that the underlying system doesn't
have a default route, as Tarun suggests.  Personally, I find
that somewhat unlikely.

Another possibility is that the access control is configured
too tightly, so that you're not allowed to access this table.
Try walking other parts of the MIB tree - how much can you
access?

A third possibility is that you made an error when copying
the ipDefaultRouterTable code from the 5.5 source tree back
into the 5.4 one.
   But you haven't given *any* details about how you did
this - what files you copied, how you re-compiled the agent,
or anything - it's impossible to tell.

If you require assistance, you *must* give us something to
work with.   Saying "it doesn't work" without some hint as to
what you've done, is worse than useless.....

Dave

  
Thanks Dave
I have come up with more information
Now I am able to get the data w r t IP-MIB::ipDefaultRouterTable
As this Macro was not define "HAVE_LINUX_RTNETLINK_H"  so I define it in  net-snmp-config.h
That was a reason.

Now I have another doubt :
As there is are lot of code has been added in
agent/mibgroup/ip-mib/data_access/arp_linux.c:18 under macro "HAVE_LINUX_RTNETLINK_H" in net-snmp-5.5
and I am porting  this Table to net-snmp-5.4.2.1.
Hence
Does this part of are required for  IP-MIB::ipDefaultRouterTable or for some USE ???????????



Rgds,
Sanjay
------------------------------------------------------------------------------
Download Intel&reg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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

Reply via email to