Portal Home > Knowledgebase > Articles Database > IP checks on a network?


IP checks on a network?




Posted by NodePlex, 04-12-2008, 04:29 PM
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.

Posted by NodePlex, 04-13-2008, 06:46 PM
Or how can you ping an IP and get the MAC address to return? Or is this even possible?

Posted by jzukerman, 04-13-2008, 07:41 PM
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. Last edited by jzukerman; 04-13-2008 at 07:45 PM.

Posted by Jeremy, 04-14-2008, 11:25 AM
pinging the broadcast is the best bet, but some systems don't reply to that. I would setup some mirror port on the uplink to get data... might get some hostname or 'real' data to identify the other servers.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read