ARP cache is overflowing.
Most likely reason - too much traffic on the network (generated by some application, by some hosts, or by related factors).
Table of Contents:
The problem is not related to Check Point products, but to Linux OS.
The solution to the problem is to increase the threshold levels for ARP cache.
Note: If you have additional questions about ARP cache mechanism and its thresholds, then refer to articles and books available on the Internet.
This section provides a basic explanation about the relevant Linux Kernel parameters.
These 3 parameters are defined in the Linux Kernel Code in the header file /include/net/neighbour.h as integer.
As of R80.30, Gaia Portal accepts maximal value of 131072. In prior versions that value was 16384.
The minimum number of entries to keep in the ARP cache.
The garbage collector will not run if there are fewer than this number of entries in the cache. Note: On kernel 2.6.18, this value was ignored, meaning the garbage collector would activate regardless of the number of entries in the cache.
The soft maximum number of entries to keep in the ARP cache.
The garbage collector will allow the number of entries to exceed this for 5 seconds before collection will be performed.
The hard maximum number of entries to keep in the ARP cache.
The garbage collector will always run if there are more than this number of entries in the cache.
In order for the garbage collector to work properly, and not to overload the machine with garbage collections, when changing the gc_thresh3 parameter, user should (note: does not have to) change the gc_thresh2 and gc_thresh1 parameters accordingly.
Follow these guidelines (for both SecurePlatform OS and Gaia OS):
Find the threshold levels, at which the error messages about "neighbour table overflow" does not appear anymore.
Set the new threshold levels permanently.
- Addition note: Check (with "arp -an" command) if ARP table on Security Gateway / Cluster member contains multiple entries with MAC address of your ISP device. In such case, consider changing the default route from "route through interface (external, leading to ISP)" to "route through next hop IP address (of ISP device)" (refer to "related documentation" section).
Gaia Portal / Gaia Clish will override any settings placed in the /etc/sysctl.conf file. Any changes made to this file do not take effect after a reboot.
To configure threshold level for ARP cache on Gaia OS:
Note: As of R80.30 2.6.18, Gaia OS accepts maximal value of 131072. In prior versions that value was 16384.
To check the current threshold level for ARP cache on Gaia OS::
In Gaia Clish:
HostName> show arp table cache-size
In Expert mode:
[Expert@HostName:0]# dbget ip:arp:cache_size
- Once set in the Gaia Portal / Gaia Clish, the settings will survive a reboot.
- Settings are applies immediately (reboot, restart of any services, policy installation are not required)
The Maximum Entries value in the Gaia Portal corresponds to gc_thresh3 parameter in Linux kernel.
Note: In Gaia OS, the value of gc_thresh1 and the value of gc_thresh2 are automatically determined by the value of gc_thresh3 value:
- value of gc_thresh1 is 1/8 the value of gc_thresh3
- value of gc_thresh2 is 1/2 the value of gc_thresh3