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

ARP Table via SNMP

Scheduled Pinned Locked Moved SNMP
5 Posts 4 Posters 8.9k Views
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 Nov 4, 2013, 2:05 PM

    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 Jan 14, 2014, 6:43 PM

      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 Jan 14, 2014, 6:55 PM

        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 Jan 30, 2015, 9:55 PM

          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 Jul 5, 2015, 1:05 PM

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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received