blob: 678104e1018b4284181000a49106c25773a26371 [file] [log] [blame]
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
jan kaufmanc45ddb42016-02-17 20:08:37 +01009.. code-block:: yaml
10
Ales Komarek63c2db52014-09-15 09:26:22 +020011 isc_dhcp:
12 server:
13 enabled: true
Ales Komarek6d9bc2c2014-09-21 17:25:05 +020014 omapi_port: 7911
jan kaufman90c61142016-02-15 15:43:32 +010015 omapi_key: iFdQ0kvpUo+3gzXGJTpjk7/dl9DI5SuDqMzasDUhBRGEg6VfNYUX+MAU14WoJJZDQbrvC4Pgsdfdsfdsfdsdf==
Ales Komarek6d9bc2c2014-09-21 17:25:05 +020016 authoritative: true
Ales Komarek63c2db52014-09-15 09:26:22 +020017 interfaces:
18 - name: eth0
19 - name: eth1
Ales Komarek6d9bc2c2014-09-21 17:25:05 +020020 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 kaufman90c61142016-02-15 15:43:32 +010028 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 Komarek63c2db52014-09-15 09:26:22 +020035## Read more
36
jan kaufman90c61142016-02-15 15:43:32 +010037* http://chschneider.eu/linux/server/tftpd-hpa.shtml