Others_ARP - 8BitsCoding/RobotMentor GitHub Wiki


ARP(Address Resolution Protocol) : 주소 결정 프로토콜

네트워크 상에서 IP주소를 MAC 주소와 대응 시키기 위해 사용되는 프로토콜

이미지


ARP확인 방법

# windows기준
arp -a

이미지

현 네트워크 상에 다음과 같이 ARP가 돌아다니고 있다는 말


ARP Set

# windows기준
arp -s <ip> <mac>

# linux 기준
arp -i <interface> -s <ip> <mac>

만약, 액세스가 거부되었다고 에러가 난다면??

# windows기준
netsh interface ipv4 add neighbors <인터페이스 이름> <ip> <mac>

인터페이스를 보는 명령어

# windows기준
netsh interface ip show config

이미지


ARP 초기화

# windows기준
arp -d
⚠️ **GitHub.com Fallback** ⚠️