Get device information from MAC address

I used the SendArp API function to get the MAC addresses that are present on my network.

Now that I have a MAC address, I would like to receive additional information about this device (name, type, manufacturer name, etc.), but I do not know which API (most suitable) for this.

Does anyone help?

+4
source share
1 answer

The only information you can get from the MAC address is the manufacturer, you can find the list here: http://standards.ieee.org/develop/regauth/oui/oui.txt . Keep in mind that this is a network interface manufacturer, it may have a network interface from provider A inside provider B.

To get additional information, you need to connect to the device, possibly using the IP address, not the MAC address. You can use WMI for Windows, SSH for Linux, and SNMP for printers / switches / PSUs, etc.

+7
source

Source: https://habr.com/ru/post/1539347/


All Articles