get the mac in the network