blob: ab080756aea9b7542291a11678853e37f163add9 [file] [log] [blame] [view]
Ales Komarek63c2db52014-09-15 09:26:22 +02001
2# ISC DHCP server
3
4
5## Sample pillars
6
jan kaufman90c61142016-02-15 15:43:32 +01007ISC DHCP server with defined host and subnet (client must use the same key)
Ales Komarek63c2db52014-09-15 09:26:22 +02008
9 isc_dhcp:
10 server:
11 enabled: true
Ales Komarek6d9bc2c2014-09-21 17:25:05 +020012 omapi_port: 7911
jan kaufman90c61142016-02-15 15:43:32 +010013 omapi_key: iFdQ0kvpUo+3gzXGJTpjk7/dl9DI5SuDqMzasDUhBRGEg6VfNYUX+MAU14WoJJZDQbrvC4Pgsdfdsfdsfdsdf==
Ales Komarek6d9bc2c2014-09-21 17:25:05 +020014 authoritative: true
Ales Komarek63c2db52014-09-15 09:26:22 +020015 interfaces:
16 - name: eth0
17 - name: eth1
Ales Komarek6d9bc2c2014-09-21 17:25:05 +020018 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 kaufman90c61142016-02-15 15:43:32 +010026 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 Komarek63c2db52014-09-15 09:26:22 +020034
35## Read more
36
jan kaufman90c61142016-02-15 15:43:32 +010037* http://chschneider.eu/linux/server/tftpd-hpa.shtml