def get_mac(postfix_as_int, prefix="aa:aa:aa:aa"):
    """ Generate a mac address with suffix `prefix` and postfix `postfix_as_int`
    Supports 2^16 unique mac addresses
    """

    postfix = "%04x" % postfix_as_int
    postfix = '%s:%s' % (postfix[0:2], postfix[2:4])
    return '%s:%s' % (prefix, postfix)