Skip to content

Instantly share code, notes, and snippets.

@brianlechthaler
Created December 5, 2015 21:17
Show Gist options
  • Save brianlechthaler/fb36b4903ff67fa2d293 to your computer and use it in GitHub Desktop.
Save brianlechthaler/fb36b4903ff67fa2d293 to your computer and use it in GitHub Desktop.
generates a MAC address at random using OpenSSL
while openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//' >> random_mac-addrs.txt; do echo $LINENO; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment