윈도우에서 ARP Cache 목록 확인 및 삭제하는 방법
윈도우에서 ARP cache 확인은 다음과 같이 할 수 있습니다.
C:\Windows\System32> arp -a
...[생략]...
Interface: 192.168.100.47 --- 0xf
Internet Address Physical Address Type
192.168.100.23 b8-36-eb-08-0e-30 dynamic
192.168.100.254 0a-5d-ee-37-7b-2f dynamic
192.168.100.255 ff-ff-ff-ff-ff-ff static
224.0.0.2 01-00-6e-00-00-08 static
224.0.0.22 01-00-6e-00-00-1a static
224.0.0.251 01-00-6e-00-00-fa static
224.0.0.252 01-00-6e-00-00-fe static
239.255.255.250 01-00-6e-6f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static
보는 바와 같이 ARP Cache라는 것은 IP 주소와 MAC 주소 쌍의 매핑 테이블입니다. Cache 삭제는 "-D' 옵션으로 합니다.
C:\Windows\System32> arp -D *
다시 확인해 보면, 그사이 오고 간 통신 패킷으로 인해 이렇게 내용이 채워져 있습니다.
C:\Windows\System32> arp -a
...[생략]...
Interface: 192.168.100.47 --- 0xf
Internet Address Physical Address Type
192.168.100.254 0a-5d-ee-37-7b-2f dynamic
224.0.0.2 01-00-6e-00-00-08 static
224.0.0.22 01-00-6e-00-00-1a static
239.255.255.250 01-00-6e-6f-ff-fa static
[2018-11-18 업데이트]
어느 순간부터 전체 ARP Cache를 삭제하는 "arp -D *" 실행을 하면 다음과 같이 오류가 발생합니다.
C:\Windows\System32>arp -D *
The ARP entry deletion failed: The parameter is incorrect.
아마도, netsh에서 ARP Cache를 삭제하는 명령어가 생겨서 그런 것이 아닌가 예상해 봅니다. ^^
C:\Windows\System32>netsh interface ip delete arpcache
Ok.
[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]