Configuring gratuitous arp – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 20

Advertising
background image

9

out, and the traffic between the host and the corresponding devices will be interrupted until the host

re-creates the ARP entries.
To prevent this problem, enable the gateway to send gratuitous ARP packets periodically. The gratuitous

ARP packets contain the gateway's primary IP address or one of its manually configured secondary IP

addresses. In this way, the receiving host can update ARP entries in time and thus ensure traffic continuity.

Configuring gratuitous ARP

Follow these steps to configure gratuitous ARP:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable learning of gratuitous ARP
packets

gratuitous-arp-learning enable

Optional
Enabled by default.

Enable the device to send
gratuitous ARP packets upon
receiving ARP requests from

another subnet

gratuitous-arp-sending enable

Required
By default, a device does not send

gratuitous ARP packets upon
receiving ARP requests from

another subnet.

Enter interface view

interface interface-type
interface-number

Enable periodic sending of
gratuitous ARP packets and set the

sending interval

arp send-gratuitous-arp [ interval
milliseconds
]

Required
Disabled by default.

NOTE:

You can enable periodic sending of gratuitous ARP packets on a maximum of 1024 interfaces.

Periodic sending of gratuitous ARP packets takes effect only when the link of the enabled interface goes
up and an IP address has been assigned to the interface.

If you change the interval for sending gratuitous ARP packets, the configuration is effective at the next
sending interval.

The frequency of sending gratuitous ARP packets may be much lower than is expected if this function is
enabled on multiple interfaces, if each interface is configured with multiple secondary IP addresses, or
if a small sending interval is configured in such cases.

Advertising