bird: tune radv intervals and lifetimes
This commit is contained in:
parent
b790bbf076
commit
412308a466
|
@ -15,6 +15,13 @@ protocol device {
|
|||
protocol radv {
|
||||
{%- for iface, conf in radv_ifaces.items() %}
|
||||
interface "{{ iface }}" {
|
||||
min ra interval 3;
|
||||
max ra interval 10;
|
||||
{%- set subnet6 = pillar['subnets-inet6'][iface] %}
|
||||
prefix {{ subnet6 }} {
|
||||
preferred lifetime 20;
|
||||
valid lifetime 60;
|
||||
};
|
||||
{%- if conf.get('rdnss') %}
|
||||
{%- for value in conf['rdnss'] %}
|
||||
{%- set host = value.split('.')[0] %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user