问题
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