Windows에서 ARP Ping을 수행 할 수있는 방법이 있습니까? “ping”유틸리티와 유사하지만

Linux 및 기타 시스템에는 arping이라는 유틸리티가 있습니다.이 유틸리티는 “ping”유틸리티와 유사하지만 ICMP 대신 ARP를 사용하여 ARP 요청 ( “pings”)을 보내고 응답을 표시하는 데 사용할 수 있습니다.

Windows에서 동일한 작업을 수행 할 수있는 방법이 있습니까? (저는 Windows 7을 사용합니다)



답변

창문에 대한 아핑은 실제로 존재합니다.

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

수정 : 이것은 Linux, MAC OSX 등을위한 것이지만 cygwin을 통해 Windows에 설치할 수 있습니다.


답변

Window의 arp 캐시 (arp -d)를 지우고 ip 주소를 핑하려고하면 arp 브로드 캐스트가 발행됩니다.

Wireshark로 확인하십시오.


답변

WinXP의 ARP 명령은 데이터 만 표시합니다. Nmap을 사용해보십시오.이 유형의 스캔에는 무료이며 상당히 쉽습니다. Nmap은 insecure.org에 있습니다.


답변

Windows에서이를 수행하는 내장 된 방법 :

cmd /V /C "set "IP=10.0.2.2" & FOR /L %i in (1,0,2) do @ping -n1 -w 1000 "!IP!" >NUL & arp -a | findstr /c:"!IP! "

답변

이것은 정확히 ARP “ping”은 아니지만 명령 프롬프트에서 “arp inet_addr (ip address)”을 실행하면 (ip address)에 지정된 호스트에 단일 ARP 요청을 보냅니다. 그런 다음 “arp -a”를 실행하여 결과를 볼 수 있습니다.


답변

https://github.com/seladb/PcapPlusPlus/tree/master/Examples/Arping에서 확인할 수 있습니다 . 이것은 Windows, Linux 및 Mac OS X 모두에서 작동 할 수있는 크로스 플랫폼 Arping입니다


답변

“arp-ping.exe”를 사용해보십시오.

명령 프롬프트에서 직접 실행되는이 도구를 추가 할 것이라고 생각했습니다.

arp-ping.exe 명령 줄 옵션

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

Linux “arping”명령 줄 옵션과 비교

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