- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to map IP addresses with Interfaces by ifIndex
Hi everyone,
I poll IP addresses and Interfaces for VeloCloud EDGE6X0 device via SNMP OIDs 1.3.6.1.2.1.4.20.1 and 1.3.6.1.2.1.2.2 in accordance.
For example, ipAdEntIfIndex (1.3.6.1.2.1.4.20.1.2) returns the following values 2, 1, 18, 20, 17, 16 and ifIndex (1.3.6.1.2.1.2.2.1) returns 16777218, 16777219, 16777220, 16777221, 16777222, 16777223, 16777224, 16777225.
How can I map IP address with Interface by ifIndex, if it is completely different? Is there any other SNMP OIDs I could use?
Please advice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi vkokodyn,
For this query, I have reached out to subject matter experts in our team.
Will get back to you as soon as we have a response.
Thank you,
Priya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The ifindex displayed by both OIDs is expected to match and SNMP request is served by snmpd.
Could you let us know the version of snmpd that you are running?
Thank you,
Priya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Priya,
Where/how can I check the snmpd version?
Thank you,
Volodymyr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Volodymyr,
edge:b1-edge1:~# snmpd -v NET-SNMP version: 5.8 Web: http://www.net-snmp.org/ Email: net-snmp-coders@lists.sourceforge.net
Thank you,
Priya