Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

11 Answers 11

up vote 12 down vote accepted

Arping for windows does actually exist.

Correction: this is for Linux, MAC OSX, etc... but can be installed on windows through cygwin.

share|improve this answer

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

Check it out with Wireshark.

share|improve this answer
Is this behavior guaranteed? – Pacerier Apr 11 '15 at 8:59
Some expanding on this would be thanked. – Sopalajo de Arrierez Jun 5 '15 at 21:22
@Pacerier: Yes, since ICMP (ping) is built on top of the IP layer. The IP layer needs the hardware address for a given IP address in order to know who to send its packet to. If the ARP cache is empty, the IP layer will have no choice but to issue an ARP request before it can send the packet. – Cameron Oct 7 '15 at 16:50

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

share|improve this answer
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

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
Doesn't work for me either on Win7, sorry. – Cameron Oct 7 '15 at 16:59

A built in way to do this in windows:

cmd /V /C "set "IP=" & FOR /L %i in (1,0,2) do @ping -n1 -w 1000 "!IP!" >NUL & arp -a | findstr /c:"!IP! "
share|improve this answer
Wow, this is hardcore -- I love i! And it's almost working here. Actually I had to add a space between -n and 1 so it became: ... @ping -n 1 ... – saulius2 Apr 18 at 11:56

How to Get an ARP Table with an IP Helper API

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

You can check this out: This is a cross-platform Arping that can work both on Windows, Linux and Mac OS X

share|improve this answer

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

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

share|improve this answer

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 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

Thought I would add this tool which runs directly from the command prompt.

arp-ping.exe Command

Usage: arp-ping.exe [options] target
        -s ip : specify source ip
        -n X  : ping X times
        -t    : ping until stopped with CTRL-C
        -x    : exit immediately after successful ping
        -i X  : ping every X seconds
        -d    : do an 'arp -d *' between pings (requires Administrator)
                (-d prevents cached ARP responses on Windows XP.)
        -c    : include date and time on each line
        -m X  : ignore failures that take less than X milliseconds
        -.      : print a dot (.) for every ignored failure
        -l    : print debug log
        -v    : print version and exit

Versus the linux command

Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source] destination
-f : quit on first reply
-q : be quiet
-b : keep broadcasting, don't go unicast
-D : duplicate address detection mode
-U : Unsolicited ARP mode, update your neighbours
-A : ARP answer mode, update your neighbours
-V : print version and exit
-c count : how many packets to send
-w timeout : how long to wait for a reply
-I device : which ethernet device to use (eth0)
-s source : source ip address
destination : ask for what ip address
share|improve this answer

Your Answer


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.