Fix too small ARP/ND cache
This commit is contained in:
parent
c80bb7c3d4
commit
b8cf1837e9
11
roles/arp-cache/tasks/main.yml
Normal file
11
roles/arp-cache/tasks/main.yml
Normal 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 }
|
25
site.yml
25
site.yml
@ -11,18 +11,19 @@
|
|||||||
- name: Setup gateway servers
|
- name: Setup gateway servers
|
||||||
hosts: [gw11.regensburg.freifunk.net, gw21.regensburg.freifunk.net, gw31.regensburg.freifunk.net]
|
hosts: [gw11.regensburg.freifunk.net, gw21.regensburg.freifunk.net, gw31.regensburg.freifunk.net]
|
||||||
roles:
|
roles:
|
||||||
- gw-admin-ssh-keys
|
- gw-admin-ssh-keys
|
||||||
- batman
|
- arp-cache
|
||||||
- bird
|
- batman
|
||||||
- fastd
|
- bird
|
||||||
- mesh-interfaces
|
- fastd
|
||||||
- exit-ipv4
|
- mesh-interfaces
|
||||||
- dns
|
- exit-ipv4
|
||||||
- radvd
|
- dns
|
||||||
- dhcpd
|
- radvd
|
||||||
- respondd
|
- dhcpd
|
||||||
- yanic
|
- respondd
|
||||||
- web-gw
|
- yanic
|
||||||
|
- web-gw
|
||||||
|
|
||||||
- name: Setup confluence server
|
- name: Setup confluence server
|
||||||
hosts: confluence.regensburg.freifunk.net
|
hosts: confluence.regensburg.freifunk.net
|
||||||
|
Loading…
Reference in New Issue
Block a user