Do you want to generate a random MAC address? No problem with this neat tip sent in by one of our readers, just paste the following into the command line:
openssl rand -hex 6 | sed ‘s/(..)/1:/g; s/.$//’
The hexadecimal output will be the generated MAC address, and will look something like this: 07:e0:17:8f:11:2f
This is pretty helpful if you need to create a new MAC address for something like your router or cable modem. Of course you can also spoof your MAC address rather easily in Mac OS X if you want to use one of the generated addresses for that purpose too.
This command has been tested to work in Linux and Mac OS X.