问题描述
我正在使用我公司开发的软件进行网络监视.对于每台机器,我都有用于连接到网络的卡的mac地址.
I'm performing network monitoring with a software developed by my company.For each machine, I have the mac address of the card used to connect to the network.
我正在寻找一种方法,例如从MAC地址知道该卡是以太网卡还是无线卡.
I'm looking for a way to know, from the MAC address (for example), if the card is an Ethernet card or a wireless card.
我可以在分析中使用nmap和openvas传感器结果.
I can use nmap and openvas sensors results in my analysis.
最终目标是获得有关该机器是工作站还是笔记本电脑的提示.
The final goal is to get a hint to know if the machine is a workstation or a laptop.
我正在使用python进行编程,但是欢迎使用其他任何解决方案.
I'm programming in python, but any other solution is welcome.
谢谢
推荐答案
这是NIC供应商的规范列表: http://standards.ieee.org/develop/regauth/oui/oui.txt
This is the canonical list of NIC vendors: http://standards.ieee.org/develop/regauth/oui/oui.txt
您可以使用此列表从MAC地址获取供应商,然后进行一些有根据的猜测.例如,Atmel主要生产无线网卡.
You could use this list to get the vendor from a MAC address, then make some educated guesses. For example, Atmel makes mostly Wireless NICs.
这篇关于如何知道MAC地址是否附在无线网卡或以太网卡上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!