I have several servers on a network that I need to determine if the IPs are pinging to our servers, or someone else's servers on the same network. I have about 300 IPs to check. I'm hoping there is a way to do this by confirming the MAC address it's pinging to? Or is there a script anyone is aware of that would help automate this?
Just trying to do some IP cleanup on a network where IPs were not allocated properly.
ping the IP address
then type "arp -a" on either Windows or Linux and it will return the ARP table, which should show you the MAC address of the computer that was ping'd. This may or may not be accurate if two computers are using the same IP address.
Alternatively, a Managed switch or router could provide you this information.
Edit: "ping -b x.x.x.x" where x.x.x.x is the broadcast address for the network you are trying to ping should get an ICMP return from every computer on that local segment of the network, thus cutting some time and work.