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 | |
jan kaufman | c45ddb4 | 2016-02-17 20:08:37 +0100 | [diff] [blame] | 9 | .. code-block:: yaml |
| 10 | |
Ales Komarek | 63c2db5 | 2014-09-15 09:26:22 +0200 | [diff] [blame] | 11 | isc_dhcp: |
| 12 | server: |
| 13 | enabled: true |
Ales Komarek | 6d9bc2c | 2014-09-21 17:25:05 +0200 | [diff] [blame] | 14 | omapi_port: 7911 |
jan kaufman | 90c6114 | 2016-02-15 15:43:32 +0100 | [diff] [blame] | 15 | omapi_key: iFdQ0kvpUo+3gzXGJTpjk7/dl9DI5SuDqMzasDUhBRGEg6VfNYUX+MAU14WoJJZDQbrvC4Pgsdfdsfdsfdsdf== |
Ales Komarek | 6d9bc2c | 2014-09-21 17:25:05 +0200 | [diff] [blame] | 16 | authoritative: true |
Ales Komarek | 63c2db5 | 2014-09-15 09:26:22 +0200 | [diff] [blame] | 17 | interfaces: |
| 18 | - name: eth0 |
| 19 | - name: eth1 |
Ales Komarek | 6d9bc2c | 2014-09-21 17:25:05 +0200 | [diff] [blame] | 20 | domain_name: domain.com |
| 21 | name_servers: |
| 22 | - ns1.domain.com |
| 23 | host: |
| 24 | node1: |
| 25 | mac: 00:11:22:33:44:55:66 |
| 26 | address: 192.168.0.1 |
| 27 | hostname: domain.com |
jan kaufman | 90c6114 | 2016-02-15 15:43:32 +0100 | [diff] [blame] | 28 | subnet: |
| 29 | testsubnet: |
| 30 | range: 10.0.0.1 10.0.0.100 |
| 31 | netmask: 255.255.255.0 |
| 32 | network: 10.0.0.0 |
| 33 | pxeserver: 10.1.1.1 |
| 34 | |
Ales Komarek | 63c2db5 | 2014-09-15 09:26:22 +0200 | [diff] [blame] | 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 |