Monitoring arp entries of an IP router:

- execute snmpwalk to read the mib table: IP-MIB::ipNetToMediaPhysAddress auszulesen
>> you get a list with actual ip adresses and mac addresses

The snmp command is:
snmpwalk -v 2c -c public 192.168.x.x IP-MIB::ipNetToMediaPhysAddress
or:
snmpwalk -v 2c -c public 192.168.x.x .1.3.6.1.2.1.4.22.1.2

computer2know :: thank you for your visit :: have a nice day :: © 2024