Generate Random MAC Address
by dervish on Nov.11, 2010, under Linux, Networking
From a Linux BASH command line:
openssl rand -hex 6 | sed ‘s/\(..\)/\1:/g; s/.$//’
Example:
[neo@trinity ~]$ openssl rand -hex 6 | sed ‘s/\(..\)/\1:/g; s/.$//’
28:97:1c:70:73:4d
No comments for this entry yet...
Leave a Reply
You must be logged in to post a comment.