Zack Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 1 | --- |
| 2 | # dhcpd/defaults/main.yml |
| 3 | |
Zack Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 4 | # http://serverfault.com/questions/40712/what-range-of-mac-addresses-can-i-safely-use-for-my-virtual-machines |
| 5 | hwaddr_prefix: "c2a4" |
| 6 | |
Zack Williams | 9cea13e | 2017-07-25 16:32:59 -0700 | [diff] [blame] | 7 | site_name: placeholder-sitename |
| 8 | site_suffix: "{{ site_name }}.test" |
| 9 | |
| 10 | # Management IP range from DHCP settings |
| 11 | mgmt_ipv4_first_octets: "192.168.200" |
| 12 | |
| 13 | # node lists |
| 14 | head_lxd_list: [] |
| 15 | physical_node_list: [] |
| 16 | |
| 17 | dns_search: |
| 18 | - "{{ site_suffix }}" |
| 19 | |
| 20 | dns_servers: |
| 21 | - "{{ mgmt_ipv4_first_octets }}.1" |
| 22 | |
| 23 | dhcpd_subnets: |
| 24 | - interface: mgmtbr |
| 25 | cidr: "{{ mgmt_ipv4_first_octets }}.1/24" |
| 26 | dhcp_first: 129 |
| 27 | dhcp_last: 254 |
| 28 | other_static: |
| 29 | - physical_node_list |
| 30 | - head_lxd_list |
Zack Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 31 | |
| 32 | # example dhcpd_subnets: |
| 33 | # |
| 34 | # dhcpd_subnets: |
| 35 | # - interface: eth1 |
| 36 | # cidr: 192.168.200.1/24 |
| 37 | # dhcp_first: 129 |
| 38 | # dhcp_last: 254 |
| 39 | # tftp_server: 192.168.200.1 |
| 40 | # static_nodes: |
| 41 | # - name: node1 |
| 42 | # ipv4_last_octet: 30 |
| 43 | # filename: boot.tftp |
| 44 | # other_static: |
| 45 | # - head_lxd_list |
| 46 | |