Send netdisco-users mailing list submissions to
        netdisco-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        netdisco-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        netdisco-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: IP/MAC Mapping (Oliver Gorwits)
   2. Re: IP/MAC Mapping (Andy Millett)
   3. Re: IP/MAC Mapping (Oliver Gorwits)
--- Begin Message ---
Hi Andy

We have seen that SNMP for ARP tables can be problematic on some platforms,
and so Netdisco also supports SSH instead. It may be worth trying.

Please see the docs here:
https://github.com/netdisco/netdisco/wiki/Configuration#device_auth (see
the parts about CLI driver and SSH, you have to add to config)

And the list of platforms here (I guess IOS is relevant but maybe others):
https://github.com/netdisco/netdisco/tree/master/lib/App/Netdisco/SSHCollector/Platform

Another thought is if you're using VRFs and so far Netdisco doesn't have
much support for that.

Lastly you can enable debug and at the command line run the ARP gather job:

~netdisco/bin/netdisco-do arpnip -d 1.2.3.4 -D

Do let me know how you get on,

regards
Oliver.

On Fri, 7 Jul 2023 at 12:58, Andy Millett <a...@unimatrixzero.co.uk> wrote:

> Hi guys,
>
> I’ve got a really strange problem which has been around for a while, but
> as we’re now doing Netbox/Netdisco integration with some customers is
> causing some challenges. Basically, despite NetDisco querying a router’s
> ARP table, with Arpnip we don’t see Netdisco making associations between IP
> Address, and MAC address. So whilst I can search for a MAC address, and the
> switch-port is returned, if I search for an IP Address for a node, nothing
> is returned.
>
> Taking a PCAP of NetDisco performing an Arpnip, I can see it’s querying
> the IP-MIB:ipNetToPhysicalTable, mappings are returned, none of this gets
> into the database.
>
> The routers are mixed Cisco (ISR, ASR, 1921, 887, etc). Switches are
> either Cisco or Juniper. Irrespective of switch vendor, no mapping of IP to
> MAC is made unless the device is queried by Netdisco as part of the
> inventory. The problem seems to be exclusively with Cisco routers, as sites
> where a Juniper device is the gateway (either an SRX to an EX switch) we
> see sound IP/MAC mappings in Netdisco.
>
> Any thoughts on this?
>
> Cheers
> Andy
>
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/

--- End Message ---
--- Begin Message ---
Hi Oliver, 

Thanks a lot for the response. Unfortunately, SSH isn’t an option here 
currently. 

Here’s the output of the netdisco-do command - 

netdisco@nms:~$ bin/netdisco-do arpnip 172.31.2.167 -D
[3644811] 2023-07-07 15:30:07  info App::Netdisco version 2.062002 loaded.
[3644811] 2023-07-07 15:30:07  info arpnip:  started at Fri Jul  7 16:30:07 2023
[3644811] 2023-07-07 15:30:07 debug arpnip: running with timeout 600s
[3644811] 2023-07-07 15:30:07 debug => running workers for phase: check
[3644811] 2023-07-07 15:30:07 debug -> run worker check/0 "arpnip"
[3644811] 2023-07-07 15:30:07 debug arpnip failed: unable to interpret device 
param
[3644811] 2023-07-07 15:30:07  info arpnip: finished at Fri Jul  7 16:30:07 2023
[3644811] 2023-07-07 15:30:07  info arpnip: status error: arpnip failed: unable 
to interpret device param

The device concerned is a - 

Hardware
Cisco 2921 (CISCO2921/K9)
Operating System
Cisco IOS 15.3(3)M10, RELEASE SOFTWARE (fc1) (UNIVERSALK9)

Best regards
Andy


> On 7 Jul 2023, at 15:22, Oliver Gorwits <oli...@cpan.org> wrote:
> 
> Hi Andy
> 
> We have seen that SNMP for ARP tables can be problematic on some platforms, 
> and so Netdisco also supports SSH instead. It may be worth trying.
> 
> Please see the docs here:
> https://github.com/netdisco/netdisco/wiki/Configuration#device_auth (see the 
> parts about CLI driver and SSH, you have to add to config)
> 
> And the list of platforms here (I guess IOS is relevant but maybe others):
> https://github.com/netdisco/netdisco/tree/master/lib/App/Netdisco/SSHCollector/Platform
> 
> Another thought is if you're using VRFs and so far Netdisco doesn't have much 
> support for that.
> 
> Lastly you can enable debug and at the command line run the ARP gather job:
> 
> ~netdisco/bin/netdisco-do arpnip -d 1.2.3.4 -D
> 
> Do let me know how you get on,
> 
> regards
> Oliver.
> 
> On Fri, 7 Jul 2023 at 12:58, Andy Millett <a...@unimatrixzero.co.uk 
> <mailto:a...@unimatrixzero.co.uk>> wrote:
>> Hi guys, 
>> 
>> I’ve got a really strange problem which has been around for a while, but as 
>> we’re now doing Netbox/Netdisco integration with some customers is causing 
>> some challenges. Basically, despite NetDisco querying a router’s ARP table, 
>> with Arpnip we don’t see Netdisco making associations between IP Address, 
>> and MAC address. So whilst I can search for a MAC address, and the 
>> switch-port is returned, if I search for an IP Address for a node, nothing 
>> is returned. 
>> 
>> Taking a PCAP of NetDisco performing an Arpnip, I can see it’s querying the 
>> IP-MIB:ipNetToPhysicalTable, mappings are returned, none of this gets into 
>> the database. 
>> 
>> The routers are mixed Cisco (ISR, ASR, 1921, 887, etc). Switches are either 
>> Cisco or Juniper. Irrespective of switch vendor, no mapping of IP to MAC is 
>> made unless the device is queried by Netdisco as part of the inventory. The 
>> problem seems to be exclusively with Cisco routers, as sites where a Juniper 
>> device is the gateway (either an SRX to an EX switch) we see sound IP/MAC 
>> mappings in Netdisco.
>> 
>> Any thoughts on this?
>> 
>> Cheers
>> Andy
>> 
>> _______________________________________________
>> Netdisco mailing list
>> netdisco-users@lists.sourceforge.net 
>> <mailto:netdisco-users@lists.sourceforge.net>
>> https://sourceforge.net/p/netdisco/mailman/netdisco-users/


--- End Message ---
--- Begin Message ---
Hi Andy, you missed the -d out from the command so it failed. Please can
you run again?

On Fri, 7 Jul 2023 at 16:34, Andy Millett <a...@unimatrixzero.co.uk> wrote:

> Hi Oliver,
>
> Thanks a lot for the response. Unfortunately, SSH isn’t an option here
> currently.
>
> Here’s the output of the netdisco-do command -
>
> netdisco@nms:~$ bin/netdisco-do arpnip 172.31.2.167 -D
> [3644811] 2023-07-07 15:30:07  info App::Netdisco version 2.062002 loaded.
> [3644811] 2023-07-07 15:30:07  info arpnip:  started at Fri Jul  7
> 16:30:07 2023
> [3644811] 2023-07-07 15:30:07 debug arpnip: running with timeout 600s
> [3644811] 2023-07-07 15:30:07 debug => running workers for phase: check
> [3644811] 2023-07-07 15:30:07 debug -> run worker check/0 "arpnip"
> [3644811] 2023-07-07 15:30:07 debug arpnip failed: unable to interpret
> device param
> [3644811] 2023-07-07 15:30:07  info arpnip: finished at Fri Jul  7
> 16:30:07 2023
> [3644811] 2023-07-07 15:30:07  info arpnip: status error: arpnip failed:
> unable to interpret device param
>
> The device concerned is a -
>
> Hardware
> Cisco 2921 (CISCO2921/K9)
> Operating System
> Cisco IOS 15.3(3)M10, RELEASE SOFTWARE (fc1) (UNIVERSALK9)
>
> Best regards
> Andy
>
>
> On 7 Jul 2023, at 15:22, Oliver Gorwits <oli...@cpan.org> wrote:
>
> Hi Andy
>
> We have seen that SNMP for ARP tables can be problematic on some
> platforms, and so Netdisco also supports SSH instead. It may be worth
> trying.
>
> Please see the docs here:
> https://github.com/netdisco/netdisco/wiki/Configuration#device_auth (see
> the parts about CLI driver and SSH, you have to add to config)
>
> And the list of platforms here (I guess IOS is relevant but maybe others):
>
> https://github.com/netdisco/netdisco/tree/master/lib/App/Netdisco/SSHCollector/Platform
>
> Another thought is if you're using VRFs and so far Netdisco doesn't have
> much support for that.
>
> Lastly you can enable debug and at the command line run the ARP gather job:
>
> ~netdisco/bin/netdisco-do arpnip -d 1.2.3.4 -D
>
> Do let me know how you get on,
>
> regards
> Oliver.
>
> On Fri, 7 Jul 2023 at 12:58, Andy Millett <a...@unimatrixzero.co.uk>
> wrote:
>
>> Hi guys,
>>
>> I’ve got a really strange problem which has been around for a while, but
>> as we’re now doing Netbox/Netdisco integration with some customers is
>> causing some challenges. Basically, despite NetDisco querying a router’s
>> ARP table, with Arpnip we don’t see Netdisco making associations between IP
>> Address, and MAC address. So whilst I can search for a MAC address, and the
>> switch-port is returned, if I search for an IP Address for a node, nothing
>> is returned.
>>
>> Taking a PCAP of NetDisco performing an Arpnip, I can see it’s querying
>> the IP-MIB:ipNetToPhysicalTable, mappings are returned, none of this gets
>> into the database.
>>
>> The routers are mixed Cisco (ISR, ASR, 1921, 887, etc). Switches are
>> either Cisco or Juniper. Irrespective of switch vendor, no mapping of IP to
>> MAC is made unless the device is queried by Netdisco as part of the
>> inventory. The problem seems to be exclusively with Cisco routers, as sites
>> where a Juniper device is the gateway (either an SRX to an EX switch) we
>> see sound IP/MAC mappings in Netdisco.
>>
>> Any thoughts on this?
>>
>> Cheers
>> Andy
>>
>> _______________________________________________
>> Netdisco mailing list
>> netdisco-users@lists.sourceforge.net
>> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>
>
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/

--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to