ciphermethod.com

Generate Random MAC Address

by 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.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

But Wait, There's More!

A few highly recommended friends...