'return mac by ipadress local network'

@staticmethod
def get_mac(host):

    fields = popen(('grep    "%s    "    /proc/net/arp' % host)).read().split()
    if ((len(fields) == 6) and (fields[3] != '00:00:00:00:00:00')):
        return fields[3]
    else:
        return None
