2020-05-18 02:26:49 -04:00
|
|
|
{#- This is a set of common options between DNSMasq and RADVD. Or they're easier to just define here. -#}
|
|
|
|
{#- ## SLAAC OPTIONS ## -#}
|
|
|
|
{#- Is it 1480 or 1280? Arch wiki says 1480, but everything else (older) says 1280. -#}
|
|
|
|
{#- set mtu = 1280 -#}
|
|
|
|
{%- set mtu = 1480 -%}
|
|
|
|
{#- Minimum seconds allowed between sending unsolicited multicast RAs. 3 < x < (0.75 * max_inter) -#}
|
|
|
|
{#- If using Mobile Extensions, 0.33 < x (0.75 * max_inter) -#}
|
2020-05-18 04:59:00 -04:00
|
|
|
{%- set min_inter = 10 -%}
|
2020-05-18 02:26:49 -04:00
|
|
|
{#- Maximum seconds allowed between sending unsolicited multicast RAs. 4 < x < 1800 -#}
|
|
|
|
{#- If using Mobile Extensions, 0.07 < x 1800 -#}
|
2020-05-18 04:59:00 -04:00
|
|
|
{%- set max_inter = 60 -%}
|
2020-05-18 02:26:49 -04:00
|
|
|
{#- Minimum seconds between sending multicast RAs (solicited and unsolicited). -#}
|
|
|
|
{#- If using Mobile Extensions, 0.03 < x -#}
|
|
|
|
{%- set min_delay = 3 -%}
|
2020-05-18 04:59:00 -04:00
|
|
|
{#- The lifetime associated with the default router in units of seconds. 0 OR max_inter < x < 9000 -#}
|
|
|
|
{%- set lifetime = 9000 -%}
|
2020-05-18 02:26:49 -04:00
|
|
|
{#- ## DHCPv6 OPTIONS ## -#}
|
2020-05-18 04:59:00 -04:00
|
|
|
{#- Obviously, these only work for DNSMasq. -#}
|
|
|
|
{#- How long the lease should last until a new one is requested. -#}
|
|
|
|
{#- This is also used for *SLAAC addresses* in radvd. -#}
|
|
|
|
{%- set lease_life = 21600 -%}{#- 6 hours -#}
|
|
|
|
{#- How long should the options be valid for. -#}
|
|
|
|
{%- set opts_life = lease_life -%}
|