Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    ARP Table via SNMP

    SNMP
    4
    5
    8236
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vielhak last edited by

      Hi there,

      I read some posts about getting the arp table of the pfsense via SNMP. I am not able to get it?!
      I have enable all snmp modules; SNMP ist working:

      root@daffy:~# snmpwalk 172.27.0.1 -c public -v2c  |head
      SNMPv2-MIB::sysDescr.0 = STRING: "ipdrouter.ipdynamics.local 1345880010 FreeBSD 8.1-RELEASE-p6"
      SNMPv2-MIB::sysObjectID.0 = OID: BEGEMOT-MIB::begemot.1.2.1.1
      EXPRESSION-MIB::sysUpTimeInstance = Timeticks: (1303876) 3:37:18.76
      ….

      But no arp table:

      root@daffy:~# snmpwalk 172.27.0.1 -c public -v2c  ipNetToMediaPhysAddress
      RFC1213-MIB::ipNetToMediaPhysAddress = No Such Instance currently exists at this OID
      root@daffy:~# snmpwalk 172.27.0.1 -c public -v2c  ipNetToPhysicalPhysAddress
      IP-MIB::ipNetToPhysicalPhysAddress = No Such Object available on this agent at this OID
      root@daffy:~# snmpwalk 172.27.0.1 -c public -v2c  ipNetToPhysicalTable
      IP-MIB::ipNetToPhysicalTable = No Such Object available on this agent at this OID
      root@daffy:~#

      Any suggestions?

      Thanks
      Torsten

      1 Reply Last reply Reply Quote 0
      • R
        rickli last edited by

        Same here, apparently it was working around 1.2:

        http://forum.pfsense.org/index.php?topic=12795.0

        Would be great if it came back  :)

        If I may suggest an improvement with regards to IPv6, ipNetToPhysicalPhysAddress (1.3.6.1.2.1.4.35.1.4) table might be a nice new home for it.

        What can be observed on other networking devices (e.g. switches), that the old ipNetToMediaPhysAddress (1.3.6.1.2.1.4.22.1.2) is kept and ipv6NetToMediaPhysAddress (1.3.6.1.2.1.55.1.12.1.2) is added for ND entries…

        1 Reply Last reply Reply Quote 0
        • G
          gusdvg last edited by

          I had given up on getting ARP tables from pfSense too, I didn't know it was not working and thought it was me. Would definitely like to see it working.

          1 Reply Last reply Reply Quote 0
          • M
            martinmesa last edited by

            Since the SNMP data was requested by an external webserver, it is also possible to get some webpage info through this php webserver.

            Created to following script on pfSense /usr/local/www/arp.php

            $dhcpFile = shell_exec('arp -na');
            echo  $dhcpFile . "\n" ;
            ?>
            

            E.g. https://pfsenseAddress/arp.php o wget https://pfsenseAddress/arp.php -O arp_table

            1 Reply Last reply Reply Quote 0
            • R
              rickli last edited by

              Just tested 2.2.3-RELEASE and it's back again, yieih!!!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post