1、vi /etc/sysctl.conf
增加或修改如下项目:
net.ipv4.neigh.default.gc_thresh1 = 128
net.ipv4.neigh.default.gc_thresh2 = 512
net.ipv4.neigh.default.gc_thresh3 = 1024
2、更新配置
sysctl -p
1、vi /etc/sysctl.conf
增加或修改如下项目:
net.ipv4.neigh.default.gc_thresh1 = 128
net.ipv4.neigh.default.gc_thresh2 = 512
net.ipv4.neigh.default.gc_thresh3 = 1024
2、更新配置
sysctl -p