Networks

ARP & RARP

남생이야 2024. 7. 25. 04:49

 

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

  네트워크 상에서 IP 주소를 물리적 네트워크 주소로 대응시키기 위해 사용되는 프로토콜을 말한다.

 

 

 

ARP 동작 원리 

1. Request   - A 장치는 같은 네트워크에 있는 다른 장치 B와 통신하려고 할 때 A는 B의 주소를 알고 있지만 하드웨어 주소를 모를 때, A는 ARP 프로토콜 요청을 B에게 전송하여 IP 주소를 확인한다. 

 

2. Response - B는 MAC 주소로 A에게 전달한다. 

 

3. Cashing - A는 B의 응답을 받은 내용을 APR 캐시에 저장한다. 

 

4. Communication - A가 B의 주소를 알게 되어 데이터 패킷을 B의 MAC주소로 전달할 수 있게 된다. 

 

 

역순 주소 결정 프로토콜 RARP(Reverse Address Resolution Protocol)

  IP 호스트가 자신의 물리 네트워크 주소는 알지만 IP 주소를 모를 때, 서버로부터 IP를 요청하기 위해 사용하는 프로토콜을 말한다. 

 

 

 

 

 

 

 

 

 

 

참고문헌

 

 

https://en.wikipedia.org/wiki/Address_Resolution_Protocol

 

 

Address Resolution Protocol - Wikipedia

From Wikipedia, the free encyclopedia Protocol used for discovering network layer addresses The Address Resolution Protocol (ARP) is a communication protocol used for discovering the link layer address, such as a MAC address, associated with a given intern

en.wikipedia.org

https://nordvpn.com/ko/blog/address-resolution-protocol/

 

What is the Address Resolution Protocol (ARP)? | NordVPN

The Address Resolution Protocol (ARP) connects the IPs to MAC addresses on your local network. Here’s how it works and how hackers abuse it.

nordvpn.com

 

https://en.wikipedia.org/wiki/Reverse_Address_Resolution_Protocol

 

Reverse Address Resolution Protocol - Wikipedia

From Wikipedia, the free encyclopedia Obsolete computer networking protocol The Reverse Address Resolution Protocol (RARP) is an obsolete computer communication protocol used by a client computer to request its Internet Protocol (IPv4) address from a compu

en.wikipedia.org