A command-line tool for looking up MAC address vendors using the IEEE OUI database.
- Fast MAC address vendor lookup
- Automatic OUI database download and caching
- Support for various MAC address formats
- Simple and intuitive command-line interface
go install github.com/fmurodov/maclookup@latest
maclookup MAC_ADDRESS
# Using colon separator
$ maclookup 74:4d:28:ab:ba:ab
74:4d:28:ab:ba:ab Routerboard.com
# Using hyphen separator
$ maclookup 74-4d-28-ab-ba-ab
74-4d-28-ab-ba-ab Routerboard.com
# Using dot separator
$ maclookup 74.4d.28.ab.ba.ab
74.4d.28.ab.ba.ab Routerboard.com
- The tool first checks if the OUI database is cached locally
- If not found, it downloads the latest OUI database from IEEE
- The MAC address is normalized and the vendor is looked up
- The result is displayed in a simple format
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.