ip=`cat /dev/shm/port.$host.ping | cut -d' ' -f5 | tr -d '():'`
host=`cat /dev/shm/port.$host.ping | cut -d' ' -f4`
mac=`sudo arp -a -n | grep "($ip)" | cut -d' ' -f4 | sort -u`
ip=`cat /dev/shm/port.$host.ping | cut -d' ' -f5 | tr -d '():'`
host=`cat /dev/shm/port.$host.ping | cut -d' ' -f4`
mac=`sudo arp -a -n | grep "($ip)" | cut -d' ' -f4 | sort -u`