main.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. ---
  2. # vars file for ff-supernode
  3. dhcp_interfaces: bat0
  4. dhcp_common_default_lease_time: 600
  5. dhcp_common_max_lease_time: 7200
  6. dhcp_common_ddns_update_style: none
  7. dhcp_common_authoritative: true
  8. dhcp_common_log_facility: local7
  9. dhcp_common_options:
  10. - wpad code 252 = text
  11. - 'wpad "\n\000"'
  12. - interface-mtu 1280
  13. dhcp_subnets:
  14. - base: "{{supernode_mesh_net_base_ip}}"
  15. netmask: "{{supernode_mesh_netmask_ipv4}}"
  16. routers: "{{supernode_mesh_ipv4}}"
  17. domain_nameservers: "{{supernode_mesh_ipv4}}, {{supernode_other_nameserver}}"
  18. ntp_servers: "{{supernode_mesh_ipv4}}, {{supernode_other_ntp_server}}"
  19. dhcp_classes:
  20. - name: MSFT
  21. rule: 'match if substring(option vendor-class-identifier, 0, 4) = "MSFT"'
  22. options:
  23. - opt: 'dhcp-parameter-request-list = concat(option dhcp-parameter-request-list, fc)'
  24. radvd_default_interface: 'bat0'
  25. radvd_default_interface_options: |
  26. AdvSendAdvert on;
  27. IgnoreIfMissing on;
  28. MaxRtrAdvInterval 600;
  29. MinDelayBetweenRAs 10;
  30. AdvLinkMTU 1280;
  31. prefix {{supernode_mesh_net_ipv6}}
  32. {
  33. };
  34. radvd_default_interface_nameservers:
  35. - rdnss:
  36. - "{{supernode_mesh_ipv6}}"