Project

General

Profile

Regression #13629 » dhcpd.conf

Louis B, 11/10/2022 03:15 AM

 
1

    
2
option domain-name "lan";
3
option ldap-server code 95 = text;
4
option domain-search-list code 119 = text;
5
option arch code 93 = unsigned integer 16; # RFC4578
6
option custom-opt16-0 code 60 = text;
7
option custom-opt16-1 code 28 = ip-address;
8

    
9
default-lease-time 7200;
10
max-lease-time 86400;
11
log-facility local7;
12
one-lease-per-client true;
13
deny duplicates;
14
update-conflict-detection false;
15
authoritative;
16
class "s_lan" {
17
	match pick-first-value (option dhcp-client-identifier, hardware);
18
}
19
subnet 192.168.1.0 netmask 255.255.255.0 {
20
	pool {
21

    
22
		range 192.168.1.128 192.168.1.253;
23
	}
24

    
25
	option routers 192.168.1.1;
26
	option domain-name "pc.lan";
27
	option domain-name-servers 192.168.1.1;
28
	ping-check true;
29

    
30
}
31
host s_lan_0 {
32
	hardware ethernet 44:4e:6d:fe:6d:91;
33
	option dhcp-client-identifier "FritzBox7590";
34
	fixed-address 192.168.1.2;
35
	option host-name "FritzBox7590";
36

    
37
}
38
subclass "s_lan" 1:44:4e:6d:fe:6d:91;
39
subclass "s_lan" "FritzBox7590";
40
host s_lan_1 {
41
	hardware ethernet c8:0e:14:05:31:85;
42
	option dhcp-client-identifier "FritzBox7490";
43
	fixed-address 192.168.1.3;
44
	option host-name "FritzBox7490";
45

    
46
}
47
subclass "s_lan" 1:c8:0e:14:05:31:85;
48
subclass "s_lan" "FritzBox7490";
49
host s_lan_2 {
50
	hardware ethernet d8:9d:67:d6:cb:80;
51
	option dhcp-client-identifier "LAN_Printer";
52
	fixed-address 192.168.1.16;
53
	option host-name "Printer";
54

    
55
}
56
subclass "s_lan" 1:d8:9d:67:d6:cb:80;
57
subclass "s_lan" "LAN_Printer";
58
host s_lan_3 {
59
	hardware ethernet d8:9d:67:e3:c4:82;
60
	option dhcp-client-identifier "PrinterWIFI";
61
	fixed-address 192.168.1.17;
62
	option host-name "PrinterWIFI";
63

    
64
}
65
subclass "s_lan" 1:d8:9d:67:e3:c4:82;
66
subclass "s_lan" "PrinterWIFI";
67
host s_lan_4 {
68
	hardware ethernet 68:ec:c5:be:eb:97;
69
	option dhcp-client-identifier "MAIN_WIFI";
70
	fixed-address 192.168.1.32;
71
	option host-name "MAIN";
72

    
73
}
74
subclass "s_lan" 1:68:ec:c5:be:eb:97;
75
subclass "s_lan" "MAIN_WIFI";
76
host s_lan_5 {
77
	hardware ethernet 68:ec:c5:be:eb:96;
78
	option dhcp-client-identifier "MAIN via WIFI";
79
	fixed-address 192.168.1.33;
80
	option host-name "MAIN";
81

    
82
}
83
subclass "s_lan" 1:68:ec:c5:be:eb:96;
84
subclass "s_lan" "MAIN via WIFI";
85
host s_lan_6 {
86
	hardware ethernet 6c:b3:11:13:29:74;
87
	option dhcp-client-identifier "MAIN_1G";
88
	fixed-address 192.168.1.34;
89
	option host-name "MAIN";
90

    
91
}
92
subclass "s_lan" 1:6c:b3:11:13:29:74;
93
subclass "s_lan" "MAIN_1G";
94
host s_lan_7 {
95
	hardware ethernet 88:c9:b3:bf:71:4f;
96
	option dhcp-client-identifier "Senior";
97
	fixed-address 192.168.1.35;
98
	option host-name "Senior";
99

    
100
}
101
subclass "s_lan" 1:88:c9:b3:bf:71:4f;
102
subclass "s_lan" "Senior";
103
host s_lan_8 {
104
	hardware ethernet 00:05:cd:e1:b9:90;
105
	option dhcp-client-identifier "Marantz-SR7011";
106
	fixed-address 192.168.1.36;
107
	option host-name "Marantz-SR7011";
108

    
109
}
110
subclass "s_lan" 1:00:05:cd:e1:b9:90;
111
subclass "s_lan" "Marantz-SR7011";
112
host s_lan_9 {
113
	hardware ethernet 34:38:b7:23:cc:b1;
114
	option dhcp-client-identifier "HumaxWK";
115
	fixed-address 192.168.1.37;
116
	option host-name "HumaxWK";
117

    
118
}
119
subclass "s_lan" 1:34:38:b7:23:cc:b1;
120
subclass "s_lan" "HumaxWK";
121
host s_lan_10 {
122
	hardware ethernet 00:05:cd:83:19:ad;
123
	option dhcp-client-identifier "Denon-AVR-X1500H";
124
	fixed-address 192.168.1.42;
125
	option host-name "Denon-AVR-X1500H";
126

    
127
}
128
subclass "s_lan" 1:00:05:cd:83:19:ad;
129
subclass "s_lan" "Denon-AVR-X1500H";
130
host s_lan_11 {
131
	hardware ethernet 00:05:cd:36:dd:5c;
132
	option dhcp-client-identifier "DenonAVRX1000";
133
	fixed-address 192.168.1.43;
134
	option host-name "DenonAVRX1000";
135

    
136
}
137
subclass "s_lan" 1:00:05:cd:36:dd:5c;
138
subclass "s_lan" "DenonAVRX1000";
139
host s_lan_12 {
140
	hardware ethernet 28:32:c5:f3:87:74;
141
	option dhcp-client-identifier "HumaxSLK";
142
	fixed-address 192.168.1.44;
143
	option host-name "HumaxSLK";
144

    
145
}
146
subclass "s_lan" 1:28:32:c5:f3:87:74;
147
subclass "s_lan" "HumaxSLK";
148
host s_lan_13 {
149
	hardware ethernet c0:41:f6:1c:a8:58;
150
	option dhcp-client-identifier "TV-SLK";
151
	fixed-address 192.168.1.45;
152
	option host-name "TV-SLK";
153

    
154
}
155
subclass "s_lan" 1:c0:41:f6:1c:a8:58;
156
subclass "s_lan" "TV-SLK";
157
host s_lan_14 {
158
	hardware ethernet 3c:bd:d8:56:7b:41;
159
	option dhcp-client-identifier "BlueRaySLK";
160
	fixed-address 192.168.1.46;
161
	option host-name "BlueRaySLK";
162

    
163
}
164
subclass "s_lan" 1:3c:bd:d8:56:7b:41;
165
subclass "s_lan" "BlueRaySLK";
166
host s_lan_15 {
167
	hardware ethernet 74:5e:1c:4e:18:73;
168
	option dhcp-client-identifier "PIONEER VSX-S510";
169
	fixed-address 192.168.1.47;
170
	option host-name "745E1C4E1873";
171

    
172
}
173
subclass "s_lan" 1:74:5e:1c:4e:18:73;
174
subclass "s_lan" "PIONEER VSX-S510";
175
host s_lan_16 {
176
	hardware ethernet 8c:83:e1:c6:b5:ea;
177
	option dhcp-client-identifier "Samsung Tablet S4";
178
	fixed-address 192.168.1.50;
179
	option host-name "SamsungTabS4";
180

    
181
}
182
subclass "s_lan" 1:8c:83:e1:c6:b5:ea;
183
subclass "s_lan" "Samsung Tablet S4";
184
class "s_opt1" {
185
	match pick-first-value (option dhcp-client-identifier, hardware);
186
}
187
subnet 192.168.2.0 netmask 255.255.255.0 {
188
	pool {
189

    
190
		range 192.168.2.128 192.168.2.253;
191
	}
192

    
193
	option routers 192.168.2.1;
194
	option domain-name "guests.lan";
195
	option domain-name-servers 192.168.2.1;
196
	ping-check true;
197

    
198
}
199
host s_opt1_0 {
200
	hardware ethernet d2:ce:1e:2f:7c:99;
201
	option dhcp-client-identifier "FritzGuestAP";
202
	fixed-address 192.168.2.2;
203
	option host-name "GuestWifiAP";
204

    
205
}
206
subclass "s_opt1" 1:d2:ce:1e:2f:7c:99;
207
subclass "s_opt1" "FritzGuestAP";
208
class "s_opt3" {
209
	match pick-first-value (option dhcp-client-identifier, hardware);
210
}
211
subnet 192.168.10.0 netmask 255.255.255.0 {
212
	pool {
213

    
214
		range 192.168.10.128 192.168.10.253;
215
	}
216

    
217
	option routers 192.168.10.1;
218
	option domain-name "mngt.lan";
219
	option domain-name-servers 192.168.10.1;
220
	ping-check true;
221

    
222
}
223
host s_opt3_0 {
224
	hardware ethernet cc:2d:e0:a3:91:54;
225
	option dhcp-client-identifier "CRS317";
226
	fixed-address 192.168.10.11;
227
	option host-name "CRS-SWOS";
228

    
229
}
230
subclass "s_opt3" 1:cc:2d:e0:a3:91:54;
231
subclass "s_opt3" "CRS317";
232
host s_opt3_1 {
233
	hardware ethernet 3a:aa:18:03:aa:a9;
234
	option dhcp-client-identifier "XOAnew";
235
	fixed-address 192.168.10.51;
236

    
237
}
238
subclass "s_opt3" 1:3a:aa:18:03:aa:a9;
239
subclass "s_opt3" "XOAnew";
240
class "s_opt6" {
241
	match pick-first-value (option dhcp-client-identifier, hardware);
242
}
243
subnet 192.168.13.0 netmask 255.255.255.0 {
244
	pool {
245

    
246
		range 192.168.13.128 192.168.13.253;
247
	}
248

    
249
	option routers 192.168.13.1;
250
	option domain-name "iot.lan";
251
	option domain-name-servers 192.168.13.1;
252
	ping-check true;
253

    
254
}
255
host s_opt6_0 {
256
	hardware ethernet d0:50:99:74:9b:a7;
257
	option dhcp-client-identifier "Ukkie";
258
	fixed-address 192.168.13.64;
259
	option host-name "Ukkie";
260

    
261
}
262
subclass "s_opt6" 1:d0:50:99:74:9b:a7;
263
subclass "s_opt6" "Ukkie";
264
class "s_opt4" {
265
	match pick-first-value (option dhcp-client-identifier, hardware);
266
}
267
subnet 192.168.18.0 netmask 255.255.255.0 {
268
	pool {
269

    
270
		range 192.168.18.128 192.168.18.253;
271
	}
272

    
273
	option routers 192.168.18.1;
274
	option domain-name "gz.lan";
275
	option domain-name-servers 192.168.18.1;
276
	ping-check true;
277

    
278
}
279
host s_opt4_0 {
280
	hardware ethernet 6c:b3:11:4d:0a:3a;
281
	fixed-address 192.168.18.18;
282
	option host-name "Panda";
283

    
284
}
285
subclass "s_opt4" 1:6c:b3:11:4d:0a:3a;
286
host s_opt4_1 {
287
	hardware ethernet a6:b3:fb:01:d9:40;
288
	option dhcp-client-identifier "TrueNasScale";
289
	fixed-address 192.168.18.61;
290

    
291
}
292
subclass "s_opt4" 1:a6:b3:fb:01:d9:40;
293
subclass "s_opt4" "TrueNasScale";
294
class "s_opt10" {
295
	match pick-first-value (option dhcp-client-identifier, hardware);
296
}
297
subnet 192.168.17.0 netmask 255.255.255.0 {
298
	pool {
299

    
300
		range 192.168.17.128 192.168.17.253;
301
	}
302

    
303
	option routers 192.168.17.1;
304
	option domain-name "pc10g.lan";
305
	option domain-name-servers 192.168.17.1;
306
	ping-check true;
307

    
308
}
309
host s_opt10_0 {
310
	hardware ethernet 6c:b3:11:13:29:76;
311
	option dhcp-client-identifier "MAIN_10G";
312
	fixed-address 192.168.17.34;
313
	option host-name "MAIN";
314

    
315
}
316
subclass "s_opt10" 1:6c:b3:11:13:29:76;
317
subclass "s_opt10" "MAIN_10G";
318
class "s_opt7" {
319
	match pick-first-value (option dhcp-client-identifier, hardware);
320
}
321
subnet 192.168.88.0 netmask 255.255.255.0 {
322
	pool {
323

    
324
		range 192.168.88.128 192.168.88.253;
325
	}
326

    
327
	option routers 192.168.88.3;
328
	option domain-name "88.lan";
329
	option domain-name-servers 192.168.88.3;
330
	ping-check true;
331

    
332
}
333
host s_opt7_0 {
334
	hardware ethernet cc:2d:e0:a3:91:64;
335
	fixed-address 192.168.88.2;
336
	option host-name "CRS317";
337

    
338
}
339
subclass "s_opt7" 1:cc:2d:e0:a3:91:64;
340
class "s_opt9" {
341
	match pick-first-value (option dhcp-client-identifier, hardware);
342
}
343
subnet 192.168.111.0 netmask 255.255.255.0 {
344
	pool {
345

    
346
		range 192.168.111.128 192.168.111.253;
347
	}
348

    
349
	option routers 192.168.111.1;
350
	option domain-name-servers 192.168.111.1;
351
	ping-check true;
352

    
353
}
354
class "s_opt8" {
355
	match pick-first-value (option dhcp-client-identifier, hardware);
356
}
357
subnet 192.168.100.0 netmask 255.255.255.0 {
358
	pool {
359

    
360
		range 192.168.100.128 192.168.100.253;
361
	}
362

    
363
	option routers 192.168.100.1;
364
	option domain-name "vm.lan";
365
	option domain-name-servers 192.168.100.1;
366
	ping-check true;
367

    
368
}
369
host s_opt8_0 {
370
	hardware ethernet 52:5b:ab:84:7f:a3;
371
	option dhcp-client-identifier "Debian";
372
	fixed-address 192.168.100.20;
373

    
374
}
375
subclass "s_opt8" 1:52:5b:ab:84:7f:a3;
376
subclass "s_opt8" "Debian";
377
host s_opt8_1 {
378
	hardware ethernet a6:74:2d:7b:bb:e7;
379
	option dhcp-client-identifier "Ubuntu";
380
	fixed-address 192.168.100.30;
381

    
382
}
383
subclass "s_opt8" 1:a6:74:2d:7b:bb:e7;
384
subclass "s_opt8" "Ubuntu";
385
host s_opt8_2 {
386
	hardware ethernet 16:7a:c3:80:cb:cc;
387
	option dhcp-client-identifier "FreeBSD13";
388
	fixed-address 192.168.100.40;
389

    
390
}
391
subclass "s_opt8" 1:16:7a:c3:80:cb:cc;
392
subclass "s_opt8" "FreeBSD13";
393
class "s_opt11" {
394
	match pick-first-value (option dhcp-client-identifier, hardware);
395
}
396
subnet 192.168.120.0 netmask 255.255.255.0 {
397
	pool {
398

    
399
		range 192.168.120.128 192.168.120.253;
400
	}
401

    
402
	option routers 192.168.120.1;
403
	option domain-name-servers 192.168.120.1;
404
	ping-check true;
405

    
406
}
407
class "s_opt13" {
408
	match pick-first-value (option dhcp-client-identifier, hardware);
409
}
410
subnet 192.168.11.0 netmask 255.255.255.0 {
411
	pool {
412

    
413
		range 192.168.11.128 192.168.11.253;
414
	}
415

    
416
	option routers 192.168.11.1;
417
	option domain-name "pcplus.lan";
418
	option domain-name-servers 192.168.11.1;
419
	ping-check true;
420

    
421
}
422
host s_opt13_0 {
423
	hardware ethernet 6c:b3:11:13:29:76;
424
	option dhcp-client-identifier "MAIN";
425
	fixed-address 192.168.11.34;
426

    
427
}
428
subclass "s_opt13" 1:6c:b3:11:13:29:76;
429
subclass "s_opt13" "MAIN";
430
class "s_opt16" {
431
	match pick-first-value (option dhcp-client-identifier, hardware);
432
}
433
subnet 192.168.5.0 netmask 255.255.255.0 {
434
	pool {
435

    
436
		range 192.168.5.100 192.168.5.200;
437
	}
438

    
439
	option routers 192.168.5.1;
440
	option domain-name-servers 192.168.5.1;
441
	ping-check true;
442

    
443
	option custom-opt16-0 "IPTV_RG";
444
	option custom-opt16-1 192.168.5.255;
445
}
446
class "s_opt17" {
447
	match pick-first-value (option dhcp-client-identifier, hardware);
448
}
449
subnet 192.168.9.0 netmask 255.255.255.0 {
450
	pool {
451

    
452
		range 192.168.9.128 192.168.9.253;
453
	}
454

    
455
	option routers 192.168.9.1;
456
	option domain-name-servers 192.168.9.1;
457
	ping-check true;
458

    
459
}
(4-4/5)