How to know if MAC address is attached to wireless card or ethernet card?

倖福魔咒の 提交于 2020-01-16 19:49:47

问题


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.

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.

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.

I'm programming in python, but any other solution is welcome.

Thanks


回答1:


This is the canonical list of NIC vendors: http://standards.ieee.org/develop/regauth/oui/oui.txt

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.



来源:https://stackoverflow.com/questions/14648941/how-to-know-if-mac-address-is-attached-to-wireless-card-or-ethernet-card

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!