14
• If you change the sending interval for gratuitous ARP packets, the configuration takes effect at
the next sending interval.
• The sending interval for gratuitous ARP packets might be much longer than the specified
sending interval in any of the following circumstances:
{ This feature is enabled on multiple interfaces.
{ Each interface is configured with multiple secondary IP addresses.
{ A small sending interval is configured when the previous two conditions exist.
Procedure
1. Enter system view.
system-view
2. Enter interface view.
interface interface-type interface-number
3. Enable periodic sending of gratuitous ARP packets.
arp send-gratuitous-arp [ interval interval ]
By default, periodic sending of gratuitous ARP packets is disabled.
Enabling sending gratuitous ARP packets for ARP
requests with sender IP address on a different
subnet
1. Enter system view.
system-view
2. Enable the device to send gratuitous ARP packets upon receiving ARP requests whose sender
IP address belongs to a different subnet.
gratuitous-arp-sending enable
By default, a device does not send gratuitous ARP packets upon receiving ARP requests
whose sender IP address belongs to a different subnet.
Configuring gratuitous ARP packet retransmission
for the device MAC address change
About gratuitous ARP packet retransmission for the device MAC address change
The device sends a gratuitous ARP packet to inform other devices of its MAC address change.
However, the other devices might fail to receive the packet because the device sends the gratuitous
ARP packet only once by default. Configure the gratuitous ARP packet retransmission feature to
ensure that the other devices can receive the packet.
Procedure
1. Enter system view.
system-view
2. Set the times and the interval for retransmitting a gratuitous ARP packet for the device MAC
address change.
gratuitous-arp mac-change retransmit times interval seconds
By default, the device sends a gratuitous packet to inform its MAC address change only once.