简体   繁体   English

如何从IP地址获取设备的制造名称

[英]How can i get the manufacture name of a device from an IP address

I have a program that detects if a specific IP address is on the network. 我有一个程序可以检测网络上是否有特定的IP地址。 However, what I would like to do instead is scan the entire network for any devices made by a specific manufacturer. 但是,我想做的是在整个网络中扫描特定制造商生产的任何设备。

I can work out how to scan ping the entire network that's fine but where would I start if I wanted to get the manufacturer information from the IP address? 我可以确定如何扫描ping整个网络,但是如果我想从IP地址获取制造商信息,该从哪里开始呢?

If your program can scan by MAC address instead this would be a lot easier for you. 如果您的程序可以通过MAC地址进行扫描,那么这对您来说会容易得多。 This website allows you to look up device manufacturer by the MAC address, and the site even has an API so you can fully integrate it into your program. 该网站允许您通过MAC地址查找设备制造商,该网站甚至还具有API,因此您可以将其完全集成到程序中。 Assuming that all the devices you want to scan for are in the same network, you shouldn't have any problem finding their MAC addresses. 假设您要扫描的所有设备都在同一网络中,那么找到它们的MAC地址就不会有任何问题。

Also for further reading, please see this post here for a similar question. 另外,如需进一步阅读,请参阅此处的类似问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM