Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

On Linux and other systems, there is an utility called arping which can be used to send ARP requests ("pings") and show the answers, much like the "ping" utility but using ARP instead of ICMP.

Is there any way to do the same on Windows? (I use Windows 7)

share|improve this question
add comment

8 Answers

up vote 9 down vote accepted

Arping for windows does actually exist.

http://freshmeat.net/projects/arping/

share|improve this answer
add comment

If you clear Window's arp cache ( apr -d ) and then try to ping the ip address, it will issue a arp broadcast.

Check it out with Wireshark

:P

share|improve this answer
add comment

WinXP's ARP command is for displaying data only. Try Nmap, it's free and fairly easy for this type of scan. Nmap is available at insecure.org.

share|improve this answer
2  
That's probably the closest I can get to the arping utility (using nmap -PR -sP <host>). Congratulations, you won. –  e-t172 Oct 13 '09 at 19:03
    
@e-t172 With newer versions of nmap, the command nmap -PR -sn <host> is preferred. -sP is deprecated. Also, this only worked for me when I ran it as root. –  Nic Jun 23 '13 at 3:12
add comment

This is not exactly an ARP "ping" but running "arp inet_addr (ip address)" from a command prompt will send a single ARP request to the host specified in (ip address). You can then run "arp -a" to see the result.

share|improve this answer
    
Just doesn't work. I get my prompt back but nothing happened. A sniffer didn't show any ARP requests coming out. Same result if the IP address is not already in the ARP table. –  e-t172 Sep 30 '09 at 10:57
    
Right, you don't get a result back. The command sends a single ARP request to the ip address, which you can then see the result by issuing the arp -a command. I said it's not exactly an arp ping, but it does send a single arp request. –  joeqwerty Sep 30 '09 at 11:11
    
No it doesn't. As I said, a network sniffer doesn't show any ARP request going out, and no entry is added to arp -a. –  e-t172 Sep 30 '09 at 17:16
    
That's strange. It works exactly as I described on Windows 7 but not on Windows XP. Sorry. –  joeqwerty Sep 30 '09 at 19:44
add comment

How to Get an ARP Table with an IP Helper API http://www.codeguru.com/cpp/i-n/internet/internetprotocolip/article.php/c6153

GetIpNetTable: Retrieves address resolution table information.

SetIpNetEntry: Adds entry to the ARP table.

DeleteIpNetEntry: Deletes entry from the ARP table.

CreateIpNetEntry: Creates an entry in the ARP table.

FlushIpNetTable: Deletes all ARP entries for the specified interface from the ARP table

SendARP: Sends an ARP request to obtain the physical address that corresponds to the specified destination IP address.

share|improve this answer
add comment

Unfortunately there is not a built in tool to do this in Windows, there are some third party tools that will do this such as Netscan, but its not free

share|improve this answer
add comment

I believe you can arp-ping with CAIN, which is free.

share|improve this answer
add comment

Hardping is a decent program that does this.

There's the full version that costs money that's more of a ping sweep program, but I just use the freeware version. The free one only does 1 ip at a time, but that's all I needed it for.

You'd use it like c:>hardping 192.168.1.1 and it would reply with the mac or not.

I think they took it off their site, but you can still find it by googling "hardping freeware"

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.