How A Typical ARP(Address Resolution Protocol) works.

Bijan
3 min readSep 22, 2022

(Disclaimer:- There are many types of ARP are there but in this blog I’m gonna focus only on the traditional arp)

Hi, My name is Bijan .. I live in Kolkata. currently I’m preparing for The CCNA(200–301) certification, So i thought I should write blog about every topic that I study in this journey .I always wanted to share my knowledge to other but could’nt do that reason shyness ,not-confident enough to speak and there are other factors too. but sharing knowledge by writing article is the safest way to share knowledge I think. This is my first blog I’m writing Finally have the courage to write some thing… anyway lets get started .

So In this blog I’m gonna Talk about Traditional ARP working procedures, this article will be more focus on the practical side more than the theory. There will be some theory of course to help you understand the basics.

Topics I’m gonna cover:-

> WHAT IS ARP :-

So, ARP stands for address resolution protocol , the main functionality of this protocol is to help us to communicate with devices which are in the same network or subnet . Did’nt get it ? Let me explain to you NOTE:- There are several types ARP exist e.g (Traditional arp, Gratuitous arp and other ) in this article I’m going to talk about only the working of traditional ARP.

> HOW ARP WORKS :-

Scenario 1:-

So here, PC1 wants to ping PC2 both computers know their ip addresses , but knowing other’s ip address does’nt make any difference , to communicate with other devices on the same network you must know the mac-address of that device , because that’s How it works . and that is the point where ARP comes in . when PC1 checks its ARP table and did’nt find any mac-address of PC2 then it will automatically buffers the ICMP or PING Packet and immediately generate an ARP request and send it to the PC2 . the request packet contains various information which I’m going to talk later but the main purpose of this packet is to get the mac-address of PC2 , So what it does it cleary mention in the packet that ( I want the mac-address of 192.168.10.2) . when PC2 receive the packet and see that’s for him then it sent back a ARP reply where PC2 says ( 192.168.10.2 is my ip ) including its own mac-address . now after receiving the reply packet PC1 knows the macaddress of the PC2 then it take out the ICMP packet and modify the destination macaddress to PC2 mac-address sent it out. ➔

>ARP MESSAGES :— Two types of ARP messages are there

➢ ARP request

➢ ARP reply

An example of an ARP request packet is like this- — —

ARP request packet :–

ARP reply packet —

So that’s it guyz .. its the end of this blog .. lastly thank you for reading this article Hopefully my next blog will come soon . feel free to give suggestion on my blog . thank you in advance and goodbye.

--

--

Bijan

Hello everyone This is Bijan from India , I’m an L2 Network Engineer and pursuing my career in Cyber Security