1{ 2 # ------------------------- 3 # dhcpd.conf 4 # 5 # Sample configuration file for ISC dhcpd 6 # 7 # option definitions common to all supported networks... 8 /// This configuration declares some subnets but has no interfaces-config 9 /// Reference Kea #245 10 "Dhcp4": { 11 "option-data": [ 12 { 13 "space": "dhcp4", 14 "name": "domain-name", 15 "code": 15, 16 "data": "example.org" 17 } 18 ], 19 "valid-lifetime": 1800, 20 "max-valid-lifetime": 7200, 21 # We're going to be authoritative for the network we've 22 # just created. 23 "authoritative": true, 24 "subnet4": [ 25 # No service will be given on this subnet, but we're telling 26 # the DHCP server about it so it understands it's there and 27 # not to hand out leases for it. 28 { 29 "id": 1, 30 "subnet": "10.14.8.195/24" 31 }, 32 # But we do want to hand out leases for the 192.168.1.0/24 33 # network for purposes of this test.. 34 { 35 "id": 2, 36 "subnet": "192.168.1.0/24", 37 "pools": [ 38 { 39 "pool": "192.168.1.100 - 192.168.1.150" 40 } 41 ], 42 "option-data": [ 43 { 44 "space": "dhcp4", 45 "name": "routers", 46 "code": 3, 47 "data": "192.168.1.1" 48 } 49 ] 50 } 51 ] 52 } 53} 54