scan network and get ips and mac addresses