Hi Bill,

Thank you for your response.

Here, The SNMP server is running on Linux platform with 2.6.23 kernel
verison.

One more info : I googled about this issue and found below patch.
https://bugzilla.redhat.com/attachment.cgi?id=98840&action=diff

-- 
*Regards*,
Soubhagya


On Tue, Apr 25, 2017 at 6:03 PM, Bill Fenner <fen...@gmail.com> wrote:

> Hi Soubhagya,
>
> What kind of system is running the SNMP server that you're querying?
> E.g., it's Debian 7 running net-snmp 5.7.3, or ...?  (Not the client, which
> you've already said is net-snmp 5.7.3).
>
>   Bill
>
>
> On Mon, Apr 24, 2017 at 12:22 PM, Soubhagya Panigrahi <
> srpanigrahi1...@gmail.com> wrote:
>
>> Hi All,
>>
>> I am trying to fetch the ip details using ipAddrTable. snmpwalk command
>> output of "ipAdEntIfIndex" is not matching with ifIndex output.
>>
>> Description of ipAdEntIfIndex : The index value which uniquely identifies
>> the interface to which this entry is applicable. The interface identified
>> by a particular value of this index is the same interface as identified by
>> the same value of the IF-MIB's ifIndex.
>>
>> Sharing some imp information to understand the issue better.
>>
>> verison using : Net-SNMP-5.7.3
>>
>> snmpwalk -v2c localhost -c public ipAdEntIfIndex
>> IP-MIB::ipAdEntIfIndex.9.103.59.162 = INTEGER: 13
>> IP-MIB::ipAdEntIfIndex.55.55.55.62 = INTEGER: 14
>> IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1
>>
>> snmpwalk -v2c localhost -c public ifIndex
>> IF-MIB::ifIndex.1 = INTEGER: 1
>> IF-MIB::ifIndex.2 = INTEGER: 2
>>
>> snmpwalk -v2c localhost -c public ifName
>> IF-MIB::ifName.1 = STRING: Virtual 1/0
>> IF-MIB::ifName.2 = STRING: Virtual 2/0
>>
>> Virtual 1/0 : 9.103.59.162
>> Virtual 2/0 : 55.55.55.62
>>
>> As you can see, assigned IP of virtual interface 1/0 is 9.103.59.162. it
>> is mapped to ifName.1 and ifIndex.1. But as per ipAdEntIfIndex output, it
>> shows some random values as 13. Same case goes for interface 2/0 as well.
>>
>> Kindly let me know if this is a known issue and any available patch for
>> same.
>>
>> --
>> *Regards*,
>> Soubhagya
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Net-snmp-coders mailing list
>> Net-snmp-coders@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>>
>>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to