1[
2 {"type":"Comment","value":"# dhcpd.conf\n#\n# Sample configuration file for ISC dhcpd\n#\n# Attention: If /etc/ltsp/dhcpd.conf exists, that will be used as\n# configuration file instead of this file.\n#\n"},
3 {"type":"Text","value":"\n"},
4 {"type":"Comment","value":"# option definitions common to all supported networks...\n"},
5 {"type":"Keyword","value":"option"},
6 {"type":"Text","value":" "},
7 {"type":"NameVariable","value":"domain-name"},
8 {"type":"Text","value":" "},
9 {"type":"LiteralString","value":"\"example.org\""},
10 {"type":"Punctuation","value":";"},
11 {"type":"Text","value":"\n"},
12 {"type":"Keyword","value":"option"},
13 {"type":"Text","value":" "},
14 {"type":"NameVariable","value":"domain-name-servers"},
15 {"type":"Text","value":" "},
16 {"type":"NameVariable","value":"ns1.example.org"},
17 {"type":"Punctuation","value":","},
18 {"type":"Text","value":" "},
19 {"type":"NameVariable","value":"ns2.example.org"},
20 {"type":"Punctuation","value":";"},
21 {"type":"Text","value":"\n\n"},
22 {"type":"NameVariable","value":"default-lease-time"},
23 {"type":"Text","value":" "},
24 {"type":"NameVariable","value":"600"},
25 {"type":"Punctuation","value":";"},
26 {"type":"Text","value":"\n"},
27 {"type":"Keyword","value":"max-lease-time"},
28 {"type":"Text","value":" "},
29 {"type":"NameVariable","value":"7200"},
30 {"type":"Punctuation","value":";"},
31 {"type":"Text","value":"\n\n"},
32 {"type":"NameVariable","value":"ddns-update-style"},
33 {"type":"Text","value":" "},
34 {"type":"KeywordConstant","value":"none"},
35 {"type":"Punctuation","value":";"},
36 {"type":"Text","value":"\n\n"},
37 {"type":"NameVariable","value":"authoritative"},
38 {"type":"Punctuation","value":";"},
39 {"type":"Text","value":"\n\n"},
40 {"type":"NameVariable","value":"log-facility"},
41 {"type":"Text","value":" "},
42 {"type":"NameVariable","value":"local7"},
43 {"type":"Punctuation","value":";"},
44 {"type":"Text","value":"\n\n"},
45 {"type":"Comment","value":"# This is a very basic subnet declaration.\n"},
46 {"type":"Text","value":"\n"},
47 {"type":"KeywordType","value":"subnet"},
48 {"type":"Text","value":" "},
49 {"type":"LiteralNumberFloat","value":"10.254.239.0"},
50 {"type":"Text","value":" "},
51 {"type":"KeywordType","value":"netmask"},
52 {"type":"Text","value":" "},
53 {"type":"LiteralNumberFloat","value":"255.255.255.224"},
54 {"type":"Text","value":" "},
55 {"type":"Punctuation","value":"{"},
56 {"type":"Text","value":"\n "},
57 {"type":"KeywordType","value":"range"},
58 {"type":"Text","value":" "},
59 {"type":"LiteralNumberFloat","value":"10.254.239.10"},
60 {"type":"Text","value":" "},
61 {"type":"LiteralNumberFloat","value":"10.254.239.20"},
62 {"type":"Punctuation","value":";"},
63 {"type":"Text","value":"\n "},
64 {"type":"Keyword","value":"option"},
65 {"type":"Text","value":" "},
66 {"type":"NameVariable","value":"routers"},
67 {"type":"Text","value":" "},
68 {"type":"NameVariable","value":"rtr-239-0-1.example.org"},
69 {"type":"Punctuation","value":","},
70 {"type":"Text","value":" "},
71 {"type":"NameVariable","value":"rtr-239-0-2.example.org"},
72 {"type":"Punctuation","value":";"},
73 {"type":"Text","value":"\n"},
74 {"type":"Punctuation","value":"}"},
75 {"type":"Text","value":"\n\n"},
76 {"type":"KeywordType","value":"subnet"},
77 {"type":"Text","value":" "},
78 {"type":"LiteralNumberFloat","value":"10.254.239.32"},
79 {"type":"Text","value":" "},
80 {"type":"KeywordType","value":"netmask"},
81 {"type":"Text","value":" "},
82 {"type":"LiteralNumberFloat","value":"255.255.255.224"},
83 {"type":"Text","value":" "},
84 {"type":"Punctuation","value":"{"},
85 {"type":"Text","value":"\n "},
86 {"type":"KeywordType","value":"range"},
87 {"type":"Text","value":" "},
88 {"type":"NameVariable","value":"dynamic-bootp"},
89 {"type":"Text","value":" "},
90 {"type":"LiteralNumberFloat","value":"10.254.239.40"},
91 {"type":"Text","value":" "},
92 {"type":"LiteralNumberFloat","value":"10.254.239.60"},
93 {"type":"Punctuation","value":";"},
94 {"type":"Text","value":"\n "},
95 {"type":"Keyword","value":"option"},
96 {"type":"Text","value":" "},
97 {"type":"NameVariable","value":"broadcast-address"},
98 {"type":"Text","value":" "},
99 {"type":"LiteralNumberFloat","value":"10.254.239.31"},
100 {"type":"Punctuation","value":";"},
101 {"type":"Text","value":"\n "},
102 {"type":"Keyword","value":"option"},
103 {"type":"Text","value":" "},
104 {"type":"NameVariable","value":"routers"},
105 {"type":"Text","value":" "},
106 {"type":"NameVariable","value":"rtr-239-32-1.example.org"},
107 {"type":"Punctuation","value":";"},
108 {"type":"Text","value":"\n"},
109 {"type":"Punctuation","value":"}"},
110 {"type":"Text","value":"\n\n\n"},
111 {"type":"Comment","value":"# A slightly different configuration for an internal subnet.\n"},
112 {"type":"KeywordType","value":"subnet"},
113 {"type":"Text","value":" "},
114 {"type":"LiteralNumberFloat","value":"10.5.5.0"},
115 {"type":"Text","value":" "},
116 {"type":"KeywordType","value":"netmask"},
117 {"type":"Text","value":" "},
118 {"type":"LiteralNumberFloat","value":"255.255.255.224"},
119 {"type":"Text","value":" "},
120 {"type":"Punctuation","value":"{"},
121 {"type":"Text","value":"\n "},
122 {"type":"KeywordType","value":"range"},
123 {"type":"Text","value":" "},
124 {"type":"LiteralNumberFloat","value":"10.5.5.26"},
125 {"type":"Text","value":" "},
126 {"type":"LiteralNumberFloat","value":"10.5.5.30"},
127 {"type":"Punctuation","value":";"},
128 {"type":"Text","value":"\n "},
129 {"type":"Keyword","value":"option"},
130 {"type":"Text","value":" "},
131 {"type":"NameVariable","value":"domain-name-servers"},
132 {"type":"Text","value":" "},
133 {"type":"NameVariable","value":"ns1.internal.example.org"},
134 {"type":"Punctuation","value":";"},
135 {"type":"Text","value":"\n "},
136 {"type":"Keyword","value":"option"},
137 {"type":"Text","value":" "},
138 {"type":"NameVariable","value":"domain-name"},
139 {"type":"Text","value":" "},
140 {"type":"LiteralString","value":"\"internal.example.org\""},
141 {"type":"Punctuation","value":";"},
142 {"type":"Text","value":"\n "},
143 {"type":"Keyword","value":"option"},
144 {"type":"Text","value":" "},
145 {"type":"KeywordType","value":"subnet"},
146 {"type":"NameVariable","value":"-mask"},
147 {"type":"Text","value":" "},
148 {"type":"LiteralNumberFloat","value":"255.255.255.224"},
149 {"type":"Punctuation","value":";"},
150 {"type":"Text","value":"\n "},
151 {"type":"Keyword","value":"option"},
152 {"type":"Text","value":" "},
153 {"type":"NameVariable","value":"routers"},
154 {"type":"Text","value":" "},
155 {"type":"LiteralNumberFloat","value":"10.5.5.1"},
156 {"type":"Punctuation","value":";"},
157 {"type":"Text","value":"\n "},
158 {"type":"Keyword","value":"option"},
159 {"type":"Text","value":" "},
160 {"type":"NameVariable","value":"broadcast-address"},
161 {"type":"Text","value":" "},
162 {"type":"LiteralNumberFloat","value":"10.5.5.31"},
163 {"type":"Punctuation","value":";"},
164 {"type":"Text","value":"\n "},
165 {"type":"NameVariable","value":"default-lease-time"},
166 {"type":"Text","value":" "},
167 {"type":"NameVariable","value":"600"},
168 {"type":"Punctuation","value":";"},
169 {"type":"Text","value":"\n "},
170 {"type":"Keyword","value":"max-lease-time"},
171 {"type":"Text","value":" "},
172 {"type":"NameVariable","value":"7200"},
173 {"type":"Punctuation","value":";"},
174 {"type":"Text","value":"\n"},
175 {"type":"Punctuation","value":"}"},
176 {"type":"Text","value":"\n\n"},
177 {"type":"KeywordType","value":"host"},
178 {"type":"Text","value":" "},
179 {"type":"NameVariable","value":"passacaglia"},
180 {"type":"Text","value":" "},
181 {"type":"Punctuation","value":"{"},
182 {"type":"Text","value":"\n "},
183 {"type":"Keyword","value":"hardware"},
184 {"type":"Text","value":" "},
185 {"type":"NameVariable","value":"ethernet"},
186 {"type":"Text","value":" "},
187 {"type":"LiteralNumberHex","value":"0:0:c0:5d:bd:95"},
188 {"type":"Punctuation","value":";"},
189 {"type":"Text","value":"\n "},
190 {"type":"Keyword","value":"filename"},
191 {"type":"Text","value":" "},
192 {"type":"LiteralString","value":"\"vmunix.passacaglia\""},
193 {"type":"Punctuation","value":";"},
194 {"type":"Text","value":"\n "},
195 {"type":"NameVariable","value":"server-name"},
196 {"type":"Text","value":" "},
197 {"type":"LiteralString","value":"\"toccata.example.com\""},
198 {"type":"Punctuation","value":";"},
199 {"type":"Text","value":"\n"},
200 {"type":"Punctuation","value":"}"},
201 {"type":"Text","value":"\n\n"},
202 {"type":"KeywordType","value":"host"},
203 {"type":"Text","value":" "},
204 {"type":"NameVariable","value":"fantasia"},
205 {"type":"Text","value":" "},
206 {"type":"Punctuation","value":"{"},
207 {"type":"Text","value":"\n "},
208 {"type":"Keyword","value":"hardware"},
209 {"type":"Text","value":" "},
210 {"type":"NameVariable","value":"ethernet"},
211 {"type":"Text","value":" "},
212 {"type":"LiteralNumberHex","value":"08:00:07:26:c0:a5"},
213 {"type":"Punctuation","value":";"},
214 {"type":"Text","value":"\n "},
215 {"type":"NameVariable","value":"fixed-address"},
216 {"type":"Text","value":" "},
217 {"type":"NameVariable","value":"fantasia.example.com"},
218 {"type":"Punctuation","value":";"},
219 {"type":"Text","value":"\n"},
220 {"type":"Punctuation","value":"}"},
221 {"type":"Text","value":"\n\n"},
222 {"type":"KeywordType","value":"class"},
223 {"type":"Text","value":" "},
224 {"type":"LiteralString","value":"\"foo\""},
225 {"type":"Text","value":" "},
226 {"type":"Punctuation","value":"{"},
227 {"type":"Text","value":"\n "},
228 {"type":"Keyword","value":"match"},
229 {"type":"Text","value":" "},
230 {"type":"Keyword","value":"if"},
231 {"type":"Text","value":" "},
232 {"type":"NameFunction","value":"substring"},
233 {"type":"Text","value":" "},
234 {"type":"Punctuation","value":"("},
235 {"type":"Keyword","value":"option"},
236 {"type":"Text","value":" "},
237 {"type":"NameVariable","value":"vendor-class-identifier"},
238 {"type":"Punctuation","value":","},
239 {"type":"Text","value":" "},
240 {"type":"NameVariable","value":"0"},
241 {"type":"Punctuation","value":","},
242 {"type":"Text","value":" "},
243 {"type":"NameVariable","value":"4"},
244 {"type":"Punctuation","value":")"},
245 {"type":"Text","value":" "},
246 {"type":"Operator","value":"="},
247 {"type":"Text","value":" "},
248 {"type":"LiteralString","value":"\"S"},
249 {"type":"LiteralStringEscape","value":"\\\""},
250 {"type":"LiteralString","value":"UNW\""},
251 {"type":"Punctuation","value":";"},
252 {"type":"Text","value":"\n "},
253 {"type":"NameFunction","value":"log"},
254 {"type":"Punctuation","value":"("},
255 {"type":"NameVariable","value":"info"},
256 {"type":"Punctuation","value":","},
257 {"type":"NameFunction","value":"concat"},
258 {"type":"Punctuation","value":"("},
259 {"type":"LiteralString","value":"\"SUN request from \""},
260 {"type":"Punctuation","value":","},
261 {"type":"Keyword","value":"host-decl-name"},
262 {"type":"Punctuation","value":"));"},
263 {"type":"Text","value":"\n"},
264 {"type":"Punctuation","value":"}"},
265 {"type":"Text","value":"\n\n"},
266 {"type":"KeywordType","value":"shared-network"},
267 {"type":"Text","value":" "},
268 {"type":"NameVariable","value":"224-29"},
269 {"type":"Text","value":" "},
270 {"type":"Punctuation","value":"{"},
271 {"type":"Text","value":"\n "},
272 {"type":"KeywordType","value":"subnet"},
273 {"type":"Text","value":" "},
274 {"type":"LiteralNumberFloat","value":"10.17.224.0"},
275 {"type":"Text","value":" "},
276 {"type":"KeywordType","value":"netmask"},
277 {"type":"Text","value":" "},
278 {"type":"LiteralNumberFloat","value":"255.255.255.0"},
279 {"type":"Text","value":" "},
280 {"type":"Punctuation","value":"{"},
281 {"type":"Text","value":"\n "},
282 {"type":"Keyword","value":"option"},
283 {"type":"Text","value":" "},
284 {"type":"NameVariable","value":"routers"},
285 {"type":"Text","value":" "},
286 {"type":"NameVariable","value":"rtr-224.example.org"},
287 {"type":"Punctuation","value":";"},
288 {"type":"Text","value":"\n "},
289 {"type":"Punctuation","value":"}"},
290 {"type":"Text","value":"\n "},
291 {"type":"KeywordType","value":"subnet"},
292 {"type":"Text","value":" "},
293 {"type":"LiteralNumberFloat","value":"10.0.29.0"},
294 {"type":"Text","value":" "},
295 {"type":"KeywordType","value":"netmask"},
296 {"type":"Text","value":" "},
297 {"type":"LiteralNumberFloat","value":"255.255.255.0"},
298 {"type":"Text","value":" "},
299 {"type":"Punctuation","value":"{"},
300 {"type":"Text","value":"\n "},
301 {"type":"Keyword","value":"option"},
302 {"type":"Text","value":" "},
303 {"type":"NameVariable","value":"routers"},
304 {"type":"Text","value":" "},
305 {"type":"NameVariable","value":"rtr-29.example.org"},
306 {"type":"Punctuation","value":";"},
307 {"type":"Text","value":"\n "},
308 {"type":"Punctuation","value":"}"},
309 {"type":"Text","value":"\n "},
310 {"type":"KeywordType","value":"pool"},
311 {"type":"Text","value":" "},
312 {"type":"Punctuation","value":"{"},
313 {"type":"Text","value":"\n "},
314 {"type":"Keyword","value":"allow"},
315 {"type":"Text","value":" "},
316 {"type":"NameVariable","value":"members"},
317 {"type":"Text","value":" "},
318 {"type":"NameVariable","value":"of"},
319 {"type":"Text","value":" "},
320 {"type":"LiteralString","value":"\"foo\""},
321 {"type":"Punctuation","value":";"},
322 {"type":"Text","value":"\n "},
323 {"type":"KeywordType","value":"range"},
324 {"type":"Text","value":" "},
325 {"type":"LiteralNumberFloat","value":"10.17.224.10"},
326 {"type":"Text","value":" "},
327 {"type":"LiteralNumberFloat","value":"10.17.224.250"},
328 {"type":"Punctuation","value":";"},
329 {"type":"Text","value":"\n "},
330 {"type":"Punctuation","value":"}"},
331 {"type":"Text","value":"\n "},
332 {"type":"KeywordType","value":"pool"},
333 {"type":"Text","value":" "},
334 {"type":"Punctuation","value":"{"},
335 {"type":"Text","value":"\n "},
336 {"type":"Keyword","value":"deny"},
337 {"type":"Text","value":" "},
338 {"type":"NameVariable","value":"members"},
339 {"type":"Text","value":" "},
340 {"type":"NameVariable","value":"of"},
341 {"type":"Text","value":" "},
342 {"type":"LiteralString","value":"\"foo\""},
343 {"type":"Punctuation","value":";"},
344 {"type":"Text","value":"\n "},
345 {"type":"KeywordType","value":"range"},
346 {"type":"Text","value":" "},
347 {"type":"LiteralNumberFloat","value":"10.0.29.10"},
348 {"type":"Text","value":" "},
349 {"type":"LiteralNumberFloat","value":"10.0.29.230"},
350 {"type":"Punctuation","value":";"},
351 {"type":"Text","value":"\n "},
352 {"type":"Punctuation","value":"}"},
353 {"type":"Text","value":"\n"},
354 {"type":"Punctuation","value":"}"},
355 {"type":"Text","value":"\n"}
356]
View as plain text