Introduction To Gratuitous Arp - 3Com 5500-EI PWR Install Manual

Hide thumbs Also See for 5500-EI PWR:
Table of Contents

Advertisement

mode, all hosts on this subnet can receive the request, but only the requested host (namely, Host B)
will process the request.
3)
Host B compares its own IP address with the destination IP address in the ARP request. If they are
the same, Host B saves the source IP address and source MAC address into its ARP mapping
table, encapsulates its MAC address into an ARP reply, and unicasts the reply to Host A.
4)
After receiving the ARP reply, Host A adds the MAC address of Host B into its ARP mapping table
for subsequent packet forwarding. Meanwhile, Host A encapsulates the IP packet and sends it out.
Usually ARP dynamically implements and automatically seeks mappings from IP addresses to MAC
addresses, without manual intervention.

Introduction to Gratuitous ARP

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.
By sending gratuitous ARP packets, a network device can:
Determine whether or not IP address conflicts exist between it and other network devices.
Trigger other network devices to update its hardware address stored in their caches.
With the gratuitous ARP packet learning function enabled:
A device receiving a gratuitous ARP packet adds the information carried in the packet to its own
dynamic ARP table if it finds no corresponding ARP entry for the ARP packet exists in the cache.
Periodical sending of gratuitous ARP packets
In an actual network, when the network load or the CPU occupancy of the receiving host is high, ARP
packets may be lost or the host may be unable to timely process the ARP packets received. In such a
case, the dynamic ARP entries on the receiving host may age out, and the traffic between the host and
the sending device will get interrupted before the host learns the MAC address of the sending device
again and installs a corresponding entry in the ARP table.
To address this issue, by default, the S5500-EI series allow VLAN interfaces to send gratuitous ARP
packets periodically. That is, as long as a VLAN interface is in the Up state, it sends gratuitous ARP
packets at an interval of 30 seconds so that the receiving host can refresh the MAC address of the
switch in the ARP table timely, thereby preventing traffic interruption mentioned above.
Periodical sending of ARP packets in a VRRP backup group
If a VRRP backup group exists on a network, the master switch sends gratuitous ARP packets
periodically to hosts on the network, which then update their local ARP tables, ensuring that no device
on this network uses the same IP address with the VRRP virtual router.
As you can create mappings between the IP address and MAC address of the VRRP virtual router,
there are two cases:
If the IP address of the virtual router corresponds to a virtual MAC address, the source MAC
address in the gratuitous ARP packet will be the virtual MAC address.
If the IP address of the virtual router corresponds to an actual MAC address, the source MAC
address in the gratuitous ARP packet will be the VLAN interface's MAC address of the master
switch in the VRRP backup group.
1-4

Advertisement

Table of Contents
loading

This manual is also suitable for:

5500-ei series

Table of Contents