#! /usr/bin/python
# createmacs.py (c) 2010 George Pantazis - http://ssh-lroot.blogpsot.com
# Under the GPLv2 License
#
import random,sys
macs = [ ]
for x in range(int(sys.argv[1])):
mac = [ 0x00, 0x16, 0x3e,
random.randint(0x00, 0x7f),
random.randint(0x00, 0xff),
random.randint(0x00, 0xff) ]
macs.append(':'.join(map(lambda x: "%02x" % x, mac)))
print ':'.join(map(lambda x: "%02x" % x, mac))