MAC Address Lookup

Identify device manufacturers by their MAC address using NetScan's OUI database.

Quick Lookup

netscan -l 00:50:56:C0:00:08

Output:

MAC Address: 00:50:56:C0:00:08
Vendor: VMware, Inc.
OUI: 00:50:56

Supported Formats

All these formats work:

netscan -l 00:50:56:C0:00:08   # Colons
netscan -l 00-50-56-C0-00-08   # Dashes
netscan -l 005056C00008        # No separators
netscan -l 00:50:56            # OUI only (first 3 bytes)

Batch Lookup

Look up multiple MACs from a file:

# Create file with one MAC per line
echo "00:50:56:C0:00:08
AC:DE:48:00:11:22
B8:27:EB:12:34:56" > macs.txt

# Batch lookup
netscan -b macs.txt -o results.json

Search by Vendor

# Find all Apple OUIs
netscan --vendor Apple

# Find Cisco entries
netscan --vendor "Cisco Systems"

JSON Output

netscan -l 00:50:56:C0:00:08 --json
{
  "mac": "00:50:56:C0:00:08",
  "vendor": "VMware, Inc.",
  "oui": "00:50:56",
  "is_private": false,
  "is_multicast": false
}

Update OUI Database

netscan --update-oui

Downloads the latest IEEE OUI database for accurate lookups.

Python API

from helpers.mac_lookup import lookup_mac, lookup_vendor

# Full lookup
result = lookup_mac("00:50:56:C0:00:08")
print(result['vendor'])  # VMware, Inc.

# Quick vendor lookup
vendor = lookup_vendor("AC:DE:48:00:11:22")
print(vendor)  # Apple, Inc.