Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No IP addresses for Aruba 6300M #452

Open
iliessens opened this issue Mar 29, 2022 · 3 comments
Open

No IP addresses for Aruba 6300M #452

iliessens opened this issue Mar 29, 2022 · 3 comments

Comments

@iliessens
Copy link

Expected Behavior

For other brands of switches Netdisco nicely displays the IP's for each MAC-address node on the ports tab.

Current Behavior

No IP-adresses for the connected nodes are shown for the Aruba switches running AOS-CX FL.10.07.0041, presumably because the ARP-table can not be extracted.
MAC-addresses are correct, and the "addresses" tab also shows the IP's of the switch itself as expected.

Possible Solution

It seems that Netdisco uses the ipNetToMediaTable (OID 1.3.6.1.2.1.4.22) to read the ARP table. Aruba support has confirmed that this OID is deprecated and ipNetToPhysicalTable (OID 1.3.6.1.2.1.4.35) should be used instead.

I don't know if any work has been done on integrating this, or how difficult it would be.

Steps to Reproduce (for bugs)

Add an Aruba switch to Netdisco and check if any IP info is shown on the ports tab.

Context

We are starting to use switches from HPE Aruba and would love to continue using Netdisco as our global discovery tool, spanning all vendors.

Your Device

  • Vendor: HPE Aruba
  • Device Model: JL661A
  • Operating System Version: FL.10.07.0041

Your Environment

  • SNMP::Info version used: 3.73
  • Netdisco version (if used): 2.47.8
@ollyg ollyg added this to the Issue Bucket milestone Aug 4, 2022
@ollyg ollyg removed this from the Issue Bucket milestone Aug 4, 2022
@inphobia
Copy link
Member

i can confirm, ipNetToMediaTable is not available on FL.10.12.0006 either.

most of what you want is implemented in SNMP::Info::IPv6, with a few non-exposed stubs in SNMP::Info::Layer3. i found a comment from 2006 that there were concerns that trying all possible routes could lead to strange results.

and aruba is right i guess, ip-mib has replaced rfc1213 years ago and calls ipNetToMediaTable deprecated and we should go to ipNetToPhysicalTable. (#153 alrdy had issues with rfc vs ipmib, but due to overlap, loading order, whatever, we are still working on it)

@JeroenvIS & @fenner are the references on this.

i don't route on my 6300m's so only have a few entries in the mapping table, perhaps when my the rest arrives that i ordered 18 months ago i can set one with a bit of routing and see if i can whip something up.

or perhaps App::Netdisco::SSHCollector::Platform::Aruba; works on aoscx, the info isn't really clear on what aruba devices it should work.

@jrbinks
Copy link

jrbinks commented May 9, 2024

Just to note that I also have this problem and now I've noticed it (although it has been there a while and I've only just had chance to dig harder at it), it is annoying. I am using OSCX in various routing capacities so can do tests and provide info if it helps. My own ND-coding-brain is long comatose...

I upgraded today to ensure I was latest etc

Software Version
App::Netdisco 2.76.4
SNMP::Info 3.970001

@jrbinks
Copy link

jrbinks commented Jul 3, 2024

@inphobia said

or perhaps App::Netdisco::SSHCollector::Platform::Aruba; works on aoscx, the info isn't really clear on what aruba devices it should work.

In theory yes, that should work for OSCX (only) (see netdisco/netdisco#1230), although in my case it doesn't work for some pty issue. I think it is misnamed, as I've said there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

4 participants