ARP – Network Layer
Address Resolution Protocol (ARP) is used in networking to resolves IP addresses to MAC address. It allows machines on a network to talk node to node using mac addresses resolved by IP addresses.
- Your system checks for a router or next hop in communication
- If there is a router with an IP address it sends a ARP request to get the routers MAC address
- The server responds with a packet with it’s IP address.
- As your packet travels it changes it’s destination MAC address changes based on ARP’s