-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
IPv6 arpnip don't get neigbours when uses IPv6 only on Vlan interfaces #531
Comments
Hi @elbuit (just to note that in your original message above, you had an arpnip for the first output but a "discover" for the second, which I assume was a mistake) Netdisco uses ipv6_n2p_mac() and ipv6_n2p_addr() from SNMP::Info for the v6 table. You can see the underlying data:
However each of these methods actually tries three ways to get the v6 table from the device. I wonder if it's picking the "wrong" one (there is a first-success logic, but it could be missing the best option that way).
There's also another method which shows IPv6 interfaces:
Maybe try each of these, with and without the v4 address applied, and see if they return a low or a high number of records? I would not be surprised if it's a Cisco platform bug. But that doesn't mean we can't work around it in SNMP::Info. We just need the reproducing test case. regards |
You're right, I wanted to do a arpnip ;-) To sum, this router have several vlan interfaces with IPv4 only, several vlan interfaces with IPv6 only , and 2 interfaces ethernet directly routed. Tell me if you want me to do another test or modify something in snmpinfo.
With IPv4 in interface vlan401ipv6_n2p_mac more than 4000 entries
ipv6_n2p_addr more than 4000 entries
c_inet_phys_addr returns undef
ip_n2p_phys_addr more than 5000 keys~/bin/netdisco-do show -d XXX.XXX.100.225 -e ip_n2p_phys_addr
i6_n2p_phys_addr returns undef
ipv6_n2p_if more than 4000 entries
WITHOUT IPv4 in int Vlan401arpnip only gets 2 IPv6 entries.
ipv6_n2p_mac 2 entries
ipv6_n2p_addr gets 2 entries
c_inet_phys_addr returns undef
ip_n2p_phys_addr returns more than 1000 entries
i6_n2p_phys_addr returns undef
ipv6_n2p_if returns 2 entries
Thanks. |
I've several Cisco 9500X and netdisco can't get IPv6 neighbours if ALL interfaces VLAN are only IPv6.
If I add a IPv4 address to a int Vlan then netdisco can do the arpnip correctly on that interface and also the rest of them, although these vlan interfaces are IPv6 only configured.
That router had IPv4 only vlan interfaces, and the arpnip in IPv4 works perfectly, is when you have IPv4/IPv6 only Vlan interfaces.
Your Environment
App::Netdisco 2.78.0
SNMP::Info 3.970.1
DB Schema 88
PostgreSQL 11.00.17
Perl / Python 5.36.0 / 3.11.2
Device information
Cisco C9500-32C Cisco IOS XE Software, Version 17.15.01
Example:
With all Vlan interfeces IPv6 only:
Then I added a IPv4 on a Vlan Interface (192.168.160.1):
And netdisco gets IPv6 subnets and neighbours for all the Vlan IPv6 Interfaces.
The text was updated successfully, but these errors were encountered: