Ales Komarek | 63c2db5 | 2014-09-15 09:26:22 +0200 | [diff] [blame] | 1 | |
| 2 | # ISC DHCP server |
| 3 | |
| 4 | |
| 5 | ## Sample pillars |
| 6 | |
jan kaufman | 90c6114 | 2016-02-15 15:43:32 +0100 | [diff] [blame^] | 7 | ISC DHCP server with defined host and subnet (client must use the same key) |
Ales Komarek | 63c2db5 | 2014-09-15 09:26:22 +0200 | [diff] [blame] | 8 | |
| 9 | isc_dhcp: |
| 10 | server: |
| 11 | enabled: true |
Ales Komarek | 6d9bc2c | 2014-09-21 17:25:05 +0200 | [diff] [blame] | 12 | omapi_port: 7911 |
jan kaufman | 90c6114 | 2016-02-15 15:43:32 +0100 | [diff] [blame^] | 13 | omapi_key: iFdQ0kvpUo+3gzXGJTpjk7/dl9DI5SuDqMzasDUhBRGEg6VfNYUX+MAU14WoJJZDQbrvC4Pgsdfdsfdsfdsdf== |
Ales Komarek | 6d9bc2c | 2014-09-21 17:25:05 +0200 | [diff] [blame] | 14 | authoritative: true |
Ales Komarek | 63c2db5 | 2014-09-15 09:26:22 +0200 | [diff] [blame] | 15 | interfaces: |
| 16 | - name: eth0 |
| 17 | - name: eth1 |
Ales Komarek | 6d9bc2c | 2014-09-21 17:25:05 +0200 | [diff] [blame] | 18 | domain_name: domain.com |
| 19 | name_servers: |
| 20 | - ns1.domain.com |
| 21 | host: |
| 22 | node1: |
| 23 | mac: 00:11:22:33:44:55:66 |
| 24 | address: 192.168.0.1 |
| 25 | hostname: domain.com |
jan kaufman | 90c6114 | 2016-02-15 15:43:32 +0100 | [diff] [blame^] | 26 | subnet: |
| 27 | testsubnet: |
| 28 | range: 10.0.0.1 10.0.0.100 |
| 29 | netmask: 255.255.255.0 |
| 30 | network: 10.0.0.0 |
| 31 | pxeserver: 10.1.1.1 |
| 32 | |
| 33 | |
Ales Komarek | 63c2db5 | 2014-09-15 09:26:22 +0200 | [diff] [blame] | 34 | |
| 35 | ## Read more |
| 36 | |
jan kaufman | 90c6114 | 2016-02-15 15:43:32 +0100 | [diff] [blame^] | 37 | * http://chschneider.eu/linux/server/tftpd-hpa.shtml |