Wednesday, June 16, 2010

Everything got a way to exit, just only one exception, "LIFE" - How to Enlarge ARP Cache in SPLAT

The default ARP cache size in SPLAT is 1024. In cases where the number of hosts exceed 1024, you may begin to notice slow initial response times from hosts that are not frequently accessed.

Everything got a way to exit, just only one exception, "LIFE"


To enlarge the ARP cache entry table on-the-fly, run:

#sysctl -w net.ipv4.neigh.default.gc_thresh3=4096
#sysctl -w net.ipv4.neigh.default.gc_thresh2=2048
#sysctl -w net.ipv4.neigh.default.gc_thresh1=1024

To make these changes survive a reboot, modify the /etc/sysctl.conf file to include the following lines:

net.ipv4.neigh.default.gc_thresh1 = 1024
net.ipv4.neigh.default.gc_thresh2 = 2048
net.ipv4.neigh.default.gc_thresh3 = 4096

and reboot the machine.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.