routerbox/utils/he_ipv6/tpl/_common.j2

17 lines
859 B
Django/Jinja

{#- 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) -#}
{%- set min_inter = 60 -%}
{#- Maximum seconds allowed between sending unsolicited multicast RAs. 4 < x < 1800 -#}
{#- If using Mobile Extensions, 0.07 < x 1800 -#}
{%- set max_inter = 600 -%}
{#- Minimum seconds between sending multicast RAs (solicited and unsolicited). -#}
{#- If using Mobile Extensions, 0.03 < x -#}
{%- set min_delay = 3 -%}
{#- ## DHCPv6 OPTIONS ## -#}
{#- Obviously, these only works for DNSMasq. -#}