[Level 2] python oui lookup

$ sudo apt-get -y install python-netaddr
...
$ cd /usr/share/pyshared/netaddr/eui
$ sudo python ./ieee.py 
downloading latest copy of http://standards.ieee.org/regauth/oui/oui.txt
downloading latest copy of http://standards.ieee.org/regauth/oui/iab.txt
$ python
>>> from netaddr import *
>>> mac = EUI('bc:ae:c5:3b:fc:5e')
>>> print mac.oui.registration().org
ASUSTek COMPUTER INC.
Wish this helps.
regards,
Stanley Huang

Comments

Popular posts from this blog

[Level 3] Install Memcached Storage Engine for MySQL on CentOS 5.4

[Level 1] How to install Jython on Ubuntu.

[Level 2] Solaris 10 Technical Conference ( 2009/10/25,11/13,12/4 ) -- Basic SMF hands-on lab