Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: What is the Address Resolution Protocol? – Types of ARP
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > Common > What is the Address Resolution Protocol? – Types of ARP

What is the Address Resolution Protocol? – Types of ARP

The Address Resolution Protocol (ARP) is a network protocol used to map an IP address to a physical machine address (MAC).

Last updated: May 10, 2024 4:29 pm
Viral Nagda
Common
No Comments
Share
7 Min Read
SHARE

When you are working in a computer network system, you have to deal mostly with two types of addresses – IP (internet protocol) and MAC (media access control). These two are the objects which must be understood properly for working in a network.

Contents
Address Resolution ProtocolTypes of ARPProxy ARPReverse ARPARP SpoofingARP cache timeoutARP cache

Before establishing the connection between two devices, a device first knows the IP address. But to find the MAC address, a separate protocol is used. This is called address resolution protocol (ARP). In this post, we will see the concept of ARP in networking.

Address Resolution Protocol

Address Resolution Protocol (ARP)

First of all, let us understand the basics. Networking works on the basis of the OSI layer model. It consists of seven layers in the following sequence from start to end – physical, data link, network, transport, session, presentation, and application.

Related to our topic, MAC addresses work on the data link layer and IP addresses work on the network layer. Whenever a device on a network wants to communicate with another device, it must know two of its things – IP address and MAC address.

The IP address is 32-bit long and identifies the network address of the device; for example – 192.168.10.30. The MAC address is 48-bit long and identifies the physical address of the device; for example – A5:23:97:76:20:65. The IP address can be obtained either manually entering or automatically by DHCP or BOOTP. The MAC address is fixed for a device and does not change.

Now, when a device wants to communicate in a network, its request starts from the application layer to the physical layer and goes to the other device from the physical layer to the application layer as a response. Coming back to our terms, both devices will have their IP addresses. But, to communicate on the network, it must know their MAC addresses. So, the requesting device will send its message along with the IP address on the network with a broadcast asking who the MAC ID belongs to. The corresponding MAC ID device will respond by saying it is its ID.

Due to this, the MAC ID of that device will now be stored along with its IP address in a memory table. This table is known as the ARP cache. This cache is responsible for holding all the network values in a device. All these exchanges are thus possible through a protocol named ARP.

Once the device ID has been saved, the ARP will now not again send requests for device ID recognition. It will send a request for a new device in the network and will help identify it. Without ARP, the device will only have the network addresses of the devices in the network, but no MAC addresses. This will not help to establish communication.

Types of ARP

The main types of ARP are proxy ARP and Reverse ARP.

Proxy ARP

You must have heard how some students in a college mark the attendance of their colleagues on behalf of their absence. It means they are doing proxy. Similarly, proxy ARP here means that a third-party device is representing itself as the actual device and is helping the ARP cache in getting the desired addresses.

A simple example can be a router. A proxy router is present in the network which communicates with devices from other subnet and IP addresses. When it receives a request from a different network device, it will act as the middleman and share all the information of the MAC address required. Once established, that corresponding device of the router network will directly link with the device that asked for the request.

Reverse ARP

The “Reverse ARP” is the reverse working of ARP as the name suggests. As the ARP is used to find MAC addresses from an IP address, this ARP is used to find IP addresses from the MAC address.

A reverse ARP server is present in the network containing the MAC addresses of the devices. When a replacement device comes up in the network, there are chances that it will not know its IP address. So, it will send a broadcast message containing its MAC address.

The server will receive the request and match it in its ARP cache memory containing MAC to IP addresses. If it finds the matching one, it will know that the device has been replaced and is new in the network with the same configuration. So, it will send the receiving broadcast message back to the sender containing its IP address.

Important terms related to ARP:

ARP Spoofing

“ARP spoofing” is a type of cyber attack where the hacker will send fake broadcast messages to the network requesting the receiver’s MAC address. It will have the same IP address and it will then get the response from the victim’s IP address by matching its MAC address from the ARP cache. This will expose the victim’s data to the hacker’s computer.

ARP cache timeout

The “ARP cache timeout” is the time that defines when the MAC address can reside in the ARP cache. After this, the MAC address will be erased from the memory and ARP will again send a request for that.

ARP cache

ARP cache is a memory that is used to store the mapping of IP addresses to the corresponding MAC addresses. It is then used for establishing communication between devices.

Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Continue Reading

Classification of HVAC Chillers
Supermarket Ventilation System – HVAC Basics
Best Online Courses to Learn Electrical Engineering
Industrial Automation Controls used in HVAC
Level Measurement and Control using Arduino C
Common Problems With CNC Machine Tools & Their Solutions
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

What Do You Learn in Software Engineering?
What is Shielded Twisted Pair Cable? – Advantages, Disadvantages
Introduction to Mechatronics
Advancements in Lime Slaking Technology: What’s New And What’s Next
What is a Thin Film Deposition System? How do they work?
The Top Services a Great B2B Agency Offers
Fiber Optic Cable vs Coaxial Cable
Recommendations to HVAC Engineers

Keep Learning

Why Using VoIP Systems

Why Using VoIP Systems Can Save You and Your Business Money?

How do Electric Motors Work

All About Electric Motors and Universal Motors

Benefits of Pursuing a Degree in Engineering

Benefits of Pursuing a Degree in Engineering

Types of Equipment Needed to Run a Successful Auto Repair Shop

Types of Equipment Needed to Run a Successful Auto Repair Shop

Mechanical Torsion Meter Principle

Mechanical Torsion Meter Principle

Optical Modulation

What is Optical Modulation? – Methods of Optical Modulation

Shaper Machine Hydraulic Circuit Design

Hydraulic Shaper Machine – Components, Circuit, Principle

Top US Universities that Offer Online Education

Top US Universities that Offer Online Education

Learn More

Electrical Machines Questions and Answers

Single Excited Electric Field Systems Quiz

Pneumatic Temperature Transmitter with Sensor Principle

Pneumatic Temperature Transmitter with Sensor Principle

Transistor as an Amplifier in Common Emitter

Transistor as an Amplifier in Common Emitter

Densitometers Principle

Vibrating Tube Densitometers Working Principle

Troubleshooting Pump Control Circuit

Troubleshooting Pump Control Circuit

Working of Woodward Governor 505

Overview of Woodward Governor 505

Four Wire RTD Principle

How a 4 Wire RTD Works ?

Electric Circuits Objective Questions

Electric Circuits Objective Questions – Set 13

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?