Menu

ARP Problem

Help
Vladimir
2010-12-23
2013-02-02
  • Vladimir

    Vladimir - 2010-12-23

    Hello,

    I have installed NETDB and it does not do ARP resolution. I have tried this:
    netdbctl -f -vv
    and this is the result:
    Thu Dec 23 09:58:57 2010: netdbctl(19979): Forcing DNS Update on all ARP table entries
    Thu Dec 23 09:58:58 2010: netdbctl(19979): Can't use an undefined value as a HASH reference at /usr/lib/perl5/site_perl/5.8.8/NetDB.pm line 1741.

    Everything else seams to be working OK.

    Thanks
    Vladimir

     
  • Jonathan Yantis

    Jonathan Yantis - 2010-12-23

    Vladimir,

    What happens when you just run netdbctl -ud -a -v?  Does it show that it is importing ARP entries at all?

    Thu Dec 23 08:44:21 2010: netdbctl(29907): Importing 24191 ARP Entries in to ipmac table

    Are there any ARP entries in /opt/netdb/data/arptable.txt?  Does the data look corrupted at all?  It should look something like this:

    # NetDB Arp Table Data: (IP,mac,age,vlan)
    10.25.64.83,0090.7a08.1c96,11,Vlan464
    10.25.65.82,0090.7a0a.bf83,45,Vlan464
    10.24.97.115,001c.5870.d38b,55,Vlan697
    10.26.59.42,0010.7a72.7e88,20,Vlan256
    10.25.64.82,0090.7a0a.70ed,11,Vlan464
    10.24.97.114,001a.6c22.8c2b,55,Vlan697

    I need to figure out if you are having a problem getting the data or a problem importing it.

    Jonathan

     
  • Vladimir

    Vladimir - 2010-12-23

    Hello,

    the command states "… netdbscraper completed ( mac )… " for all devices in csv list, and last is
    "Importing 1 ARP Entries in to ipmac table
    Can't use an undefined value as a HASH reference at /usr/lib/perl5/site_perl/5.8.8/NetDB.pm line 1741."

    /opt/netdb/data/arptable.txt is empty, only this: "/opt/netdb/data/arptable.txt"

    It seams that there is problem getting data, and I am not sure why.

    Thanks!
    Vladimir

     
  • Jonathan Yantis

    Jonathan Yantis - 2010-12-23

    Vladimir,

    What device on your network is doing the routing (has the ARP table)?  That device needs to have ,netdbarp appended to it in the devicelist.csv file so that information is captured.  Right now, the program is not importing any ARP table data from any of your devices.

    devicelist.csv example:

    layer3switch.site.com,netdbarp
    router.site.com,netdbarp
    switch1.site.com
    switch2.site.com

    Figure out which device on your network has the ARP tables you need and try configuring it with netdbarp.  Let me know how that goes.

    Jonathan

     
  • Vladimir

    Vladimir - 2010-12-23

    That helped!

    Thank you very much!

     

Log in to post a comment.