Fix too small ARP/ND cache

This commit is contained in:
Markus 2018-07-19 16:28:52 +02:00
parent c80bb7c3d4
commit b8cf1837e9
2 changed files with 24 additions and 12 deletions

View File

@ -0,0 +1,11 @@
---
- name: Configure ARP/ND cache
sysctl: name={{ item.key }} value={{ item.value }} state=present
with_items:
- { key: 'net.ipv4.neigh.default.gc_thresh1', value: 2048 }
- { key: 'net.ipv4.neigh.default.gc_thresh2', value: 4096 }
- { key: 'net.ipv4.neigh.default.gc_thresh3', value: 8192 }
- { key: 'net.ipv6.neigh.default.gc_thresh1', value: 2048 }
- { key: 'net.ipv6.neigh.default.gc_thresh2', value: 4096 }
- { key: 'net.ipv6.neigh.default.gc_thresh3', value: 8192 }

View File

@ -12,6 +12,7 @@
hosts: [gw11.regensburg.freifunk.net, gw21.regensburg.freifunk.net, gw31.regensburg.freifunk.net]
roles:
- gw-admin-ssh-keys
- arp-cache
- batman
- bird
- fastd