Skip to main content
Esteemed Contributor III
November 18, 2004

Technical Tip: Setting the number of Gratuitous ARP (GARP) packets sent and their interval by the primary unit

  • November 18, 2004
  • 0 replies
  • 5252 views
Description This article describes how to use FortiOS CLI commands to control the number of ARP packets sent and their interval by the primary unit after a failover.
Scope FortiGate.
Solution

It is possible to use the following command to set the number of gratuitous ARP packets that are sent after a failover.

 

Command syntax.

 

config system ha
    set gratuitous-arps <enable / disable ; default enable> 

 set arps <1 to 60; default 5>

 set arps-interval <1 to 20; default 8>

end

 

Gratuitous ARP (GARP) packets are sent when a cluster unit becomes a primary unit.

The gratuitous ARP packets configure connected networks to associate the cluster virtual MAC address with the cluster IP address.

 

  • gratuitous-arps: Enables sending of gratuitous ARP packets. If link-failed-signal is enabled, GARP needs to be disabled. 
  • arps -> Set the number of gratuitous ARP packets sent by the new primary unit after HA failover. Lower it to reduce traffic. Keep it higher to reduce failover time.
  • arps-interval -> Time between gratuitous ARPs. Lower the interval to reduce failover time. Keep it higher to reduce traffic.

 

Further, a capture can be performed in FortiGate to validate ARP and HA behavior. Refer to the sample capture screenshot.

 

arp-2.JPG
Related article:

Troubleshooting Tip: FortiGate HA link-failed-signal and switching MAC address tables

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT