Introduction To Gratuitous Arp - 3Com 4200G 12-Port Configuration Manual

4200g series switch
Hide thumbs Also See for 4200G 12-Port:
Table of Contents

Advertisement

ARP Implementation
Procedure
Introduction to
Gratuitous ARP
Table 165 describes the APR mapping table fields.
Table 165 Description on the fields of an ARP table
Field
IF index
Physical address
IP address
Type
The ARP mapping table of a host is empty when the host is just started up. And when
a dynamic ARP mapping entry is not in use for a specified period of time, it is removed
from the ARP mapping table so as to save the memory space and shorten the interval
for the switch to look up entries in the ARP mapping table.
Suppose there are two hosts on the same network segment: Host A and Host B.
The IP address of Host A is IP_A and that of Host B is IP_B. To send a packet to
Host B, Host A checks its own ARP mapping table first to see if the ARP entry
corresponding to IP_B exists. If yes, Host A encapsulates the IP packet into a frame
with the MAC address of Host B inserted to it and sends it to Host B.
If the corresponding MAC address is not found in the ARP mapping table, Host A
adds the packet in the transmission queue, creates an ARP request packet and
broadcasts it throughout the Ethernet. As mentioned earlier, the ARP request
packet contains the IP address of Host B, the IP address of Host A, and the MAC
address of Host A. Since the ARP request packet is broadcasted, all hosts on the
network segment can receive it. However, only the requested host (namely, Host B)
processes the request.
Host B appends the IP address and the MAC address carried in the request packet
(that is, the IP address and the MAC address of the sender, Host A) to its ARP
mapping table and then sends a ARP reply packet to the sender (Host A), with its
MAC address inserted to the packet. Note that the ARP reply packet is a unicast
packet instead of a broadcasted packet.
Upon receiving the ARP reply packet, Host A extracts the IP address and the
corresponding MAC address of Host B from the packet, adds them to its ARP
mapping table, and then transmits all the packets in the queue with their
destination being Host B.
Normally, ARP performs address resolution automatically, without the intervention of
the administrator.
The following are the characteristics of gratuitous ARP packets:
Both source and destination IP addresses carried in a gratuitous ARP packet are the
local addresses, and the source MAC address carried in it is the local MAC
addresses.
If a device finds that the IP addresses carried in a received gratuitous packet
conflict with those of its own, it returns an ARP response to the sending device to
notify of the IP address conflict.
Description
Index of the physical interface/port on the device owning the
physical address and IP address contained in the entry
Physical address of the device, that is, the MAC address
IP address of the device
Entry type, which can be:
1: An entry falling out of the following three cases
2: Invalid entry
3: Dynamic entry
4: Static entry

Introduction to Gratuitous ARP 197

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents