1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
# DHCPv4 one-subnet shared-network declaration config
# authoritative is mandatory
"Dhcp4": {
"interfaces-config": {
"interfaces": [
"en0"
]
},
"subnet4": [
# subnet declaration
{
"subnet": "10.5.5.0/27",
"valid-lifetime": 3600,
"option-data": [
# another option
{
"space": "dhcp4",
"name": "ip-forwarding",
"code": 19,
"data": "true"
},
# interface
{
"space": "dhcp4",
"name": "domain-search",
"code": 119,
// "original-data": "\"example.com\", \"example.org\"",
"data": "example.com, example.org"
}
],
"interface": "en0",
"pools": [
# pool (must be after the subnet)
{
"pool": "10.5.5.5 - 10.5.5.10"
}
]
}
]
}
}
|