| 参数 | neigh.default.gc_thresh1/2/3 |
|---|---|
| 默认值 | 128 / 512 / 1024 |
| 表满日志 | neighbour: neighbor table overflow! |
查看与调整
查看与调整
sysctl net.ipv4.neigh.default.gc_thresh1 net.ipv4.neigh.default.gc_thresh2 net.ipv4.neigh.default.gc_thresh3
dmesg | grep -i neighbour
sysctl -w net.ipv4.neigh.default.gc_thresh3=16384虚拟化/容器平台同网段主机规模大时,三个阈值需要一起放大(保持递增关系)。