Identify an unknown device on your network from its MAC address
When an unfamiliar MAC address appears in your ARP table, DHCP logs, or network monitoring alerts, your first instinct should be to identify what device it belongs to. The MAC address itself encodes the manufacturer in its first three octets (the Organizationally Unique Identifier, or OUI). By looking up that OUI, you can narrow down what type of device is on your network—whether it's a printer, IoT sensor, rogue access point, or legitimate workstation. This article walks you through practical methods to identify unknown devices by their MAC address.
Understanding MAC address structure
A MAC address is 48 bits, typically written in hexadecimal as six octets separated by colons or hyphens: 00:1A:2B:3C:4D:5E. The first three octets (00:1A:2B in this example) form the OUI, which is assigned by IEEE to manufacturers. The remaining three octets are assigned by the manufacturer to individual devices. This means every MAC address from a given vendor will start with the same OUI prefix. For example, all Apple devices use OUIs like 00:1A:A0, 00:1F:F2, or 3C:07:54. By identifying the OUI, you immediately know the device class and vendor.
Finding MAC addresses on your network
Before you can look up a MAC address, you need to find it. Common places to locate unknown MACs include:
- →ARP table: Use 'arp -a' on Windows or 'arp -n' on Linux/macOS to list all known MAC-to-IP mappings
- →DHCP logs: Check your DHCP server logs for lease assignments; each includes the requesting MAC
- →Network switch: Many managed switches expose MAC address tables via SNMP or CLI
- →Packet capture: Tools like tcpdump or Wireshark show MAC addresses in frame headers
- →Network monitoring: Nagios, Zabbix, or similar tools often log discovered MAC addresses
For example, on a Linux system, you might run:
arp -n Address HWtype HWaddress Flags Mask Iface 192.168.1.10 ether a4:5e:60:e2:8c:12 C eth0 192.168.1.20 ether 00:50:f2:00:00:01 C eth0
Once you have a MAC address, extract the first six characters (three octets) to perform the OUI lookup.
Manual OUI lookup methods
The IEEE maintains the official OUI registry at standards-oui.ieee.org, but it is a large CSV file and not user-friendly for quick lookups. Several faster approaches exist:
- →Online lookup tools: Web-based OUI databases let you paste a MAC address and instantly see the vendor
- →Local OUI database: Download the IEEE OUI file and query it locally with grep or similar tools
- →Network tools: nmap and similar utilities include built-in OUI databases and can identify devices during scanning
- →SNMP queries: Some network devices expose MAC-to-vendor mappings via SNMP MIBs
If you have nmap installed, you can use it to scan a subnet and automatically identify vendors:
nmap -sn 192.168.1.0/24 Starting Nmap 7.92 Nmap scan report for 192.168.1.1 Host is up (0.0012s latency). MAC Address: A4:5E:60:E2:8C:12 (Vendor Name) Nmap scan report for 192.168.1.10 Host is up (0.0018s latency). MAC Address: 00:50:F2:00:00:01 (Another Vendor)
Next steps after identifying the device
Once you know the vendor and device type, validate that it belongs on your network. Cross-reference the MAC address with your asset inventory, check the IP address for expected subnets, and verify the device is authorized. If the device is unexpected, investigate further: check switch port logs, review wireless association tables, or isolate the device for deeper analysis. For security-sensitive environments, unknown devices should be quarantined until verified.