【 ARP Network Protocol 】What is it? + Functions and Utility ▷ 2022 ◁

we will show you what is the ARP protocol and what is it used for in computing. You will find all the information related to the how to use the Address Resolution Protocol and how it works in sending data packets in a network.

In addition, you will know the History and origin of the ARP protocol and why it was created, which will help you understand how the Inverse ARP and Reverse ARP variations.

We will also talk about the Proxy ARP advantages and disadvantages and the package structure of the Address Resolution Protocol. Do not miss anything to become a true expert.

What is the ARP protocol?

To understand what is Address Resolution Protocol or ARPfor its acronym in English, first you have to and what is the . The first is a number 48 bit divided into 6 groups and used to identify a device on a network, this number is unique to the device and cannot change because it is related to his

While the IP address It is an identifier number that a device has within the network or the Internet. This address of 32 bits can change, if some adjustments are made. The problem arises when you want to associate both addresses of different extensions in one. For it, ARP protocol is used with which one can recognize the MAC of a node connected in the same network through its IP.

Keep in mind that when a device joins the network, the router or host gives you a unique IP to be identified. So that the other participants can interact with this new node, ARP is used. Thanks to the mapping and translation of bytes that this technology does, it is viable transmit data packets efficiently between those connected devices.

What is it for and how does ARP work?

When you connect a device to a network, the new device needs to link up with the other nodes to interact. Every time you want to send data packets between two computers, a hardware needs to act as a gateway, which requires validation to make the data flow to a specific host. For this, it is important to determine in advance whether or not this host belongs to the same local network, in which the new device is connected, or the hardware is included in a subnet.

See also  【 CREATE STEAM ACCOUNT 】▷ Step by Step Guide ▷ 2022

After a mapping and review of the subnet mask, it is determined whether or not the IP address in question belongs to a local network. If it is affirmative, that information is dumped into an ARP cache. This is done to optimize resources and save time. That cache is a limited listing or table of MAC addresses, in which you can find dynamic and static entries, the latter being deleted when the computer is turned off.

That is, if an IP address is found within the cache, this address is used to perform the redirection, but if it is not in the table, an ARP request is sent to all hosts belonging to the network. In the latter case, an ARP request is sent. with the address of the recipient in the form of an ARP broadcast, FF:FF:FF:FF:FF:FF. The rest of the network participants compare this IP with their own addresses and if there is no match, they are rejected.

When a device relates the address, it sends an ARP Reply where the MAC address is sent with the IP, leaving this information incorporated in the cache. Another way to use the Address Resolution Protocol is when the destination host does not belong to the same subnet. So the sender of the data has to access a gateway through the combination of the IP and MAC bits for the hardware to resolve the data packets and send the information to the destination host.

If the recipient belongs to an adjacent subnet it is possible resolve the physical address directly. If the gateway is that of a remote subnet, the hardware address is resolved, but without the help of the mentioned routing table. For what is necessary repeat the process as many times until the data reaches its destination or when the value 0 on the IP address header.

History and origin of the ARP protocol Why was it created?

The ARP protocol was born in the 1980s and was created to integrate the hardware addresses of the devices in a network with the Internet addresses and in this way manage to transmit data packets between the nodes. Thanks to its implementation, it is possible to solve the problem of which device to deliver what is requested by the sender with the least possible effort.

See also  【 Install Antivirus in Windows 7 】 Step by Step Guide ▷ 2022

ARP works at Layer 2 of the OSI model. and its use in networks is feasible. Wi-Fi and on Ethernetwith which it is feasible dynamically convert IP addresses and cache a couple of data mapping to be used in the next order.

Inverse ARP and Reverse ARP What are they and how do they work?

The Inverse ARP or InARP function is a variation of the ARP protocol and consists of solving the IP addresses into MAC addresses. This system does not need to be a static configuration, which makes it more effective because it does not send requests, since it knows the IP addresses of the recipient or destination station. Through a complete message, it is possible to know if a circuit is active, where Inverse ARP it occurs every minute by default to speed up the process.

Instead, Reverse ARP or RARP is a protocol that is applied when you want know an IP address of a piece of hardware within the same network. To be able to use this system, it is necessary that the MAC addresses be configured in a central server, so that it achieves transfer the IP to the rest of the participants. Today this system has been abandoned. using the .

Proxy ARP What is it and what are the advantages and disadvantages of using it?

See below the advantages and disadvantages of using Proxy ARP:

Utility

To avoid routing or gateway hosts that are on remote subnets, technology is used Proxy ARP with which a host responds to requests ARP to deliver data packets.

Thanks to this protocol it is possible to make two hosts from different subnets connect without having to adjust changes in the devices that belong to the network. In this way, it is possible that when an ARP request arrives, it is the same host that works to respond, leaving the destination node aside. This can be done because it makes known the MAC with which it receives and transmits the data packets.

Proxy ARP is used in the following cases:

  • When the router of a network disable address resolution.
  • every time a host does not have a default gate configured.
  • If a host owns a improper netmask setting.

Advantage

Among the advantages that ARP Proxy has in the transmission of data packets within a network are:

  • No need to use ARP Proxy technology on all routers, it only requires configuring a single router on the network.
  • It is possible to use ARP Proxy when hosts do not have routing intelligence with a default gateway or gateway.
  • routing tables of the other hardware are not affected when this technology is used.
See also  Full control! There are already cities controlled by computer algorithms and Washington DC is one of them

Disadvantages

The disadvantages of using Proxy ARP in a network are:

  • Necessary use ARP tables Large size.
  • if a network does not use Address Resolution Protocolit will not be possible to use the technique Proxy-ARP.
  • It is possible to fall into spoofing. This means that security is weakened because one host can easily replace the identity of another.
  • ARP traffic increases considerably.
  • is vulnerable to .

ARP Protocol Packet Structure

The ARP protocol packet structure is a message format where the parameters to be used are specified.

Take a look at the composition of this routing mechanism:

ARP packet generation

When you want to send a data packet to an IP, first the address of the next hop that the data will have is determined. Then the hardware that should receive that packet is established. To consult the ARP module it is necessary to map the network, which must be Ethernet IEEE 802.3 or 4 or 5, it is rendered as the pair.

The first thing the module will do is look in your cache for the IP address with the mentioned mapping pair. If found, it returns the address of 48 bit and the process continues. Instead, if there is none, it rejects the data packet sent and create a network ARP broadcast.

ARP packet reception

Once the module gets a response from its IP cache lookup sends it to the host, which receives the ARP packet as a broadcast or as a peer-to-peer response. This causes the device that works as the receiver to pass the data packet to the ARP module and the requesting host receives a response. From all this it follows that register is added to the cache for the device to be considered in the future.

Loading Facebook Comments ...
Loading Disqus Comments ...