xref: /netbsd-src/external/mpl/dhcp/dist/keama/tests/subnet4auth.out (revision f9d8f0dfa6389bc58fe4c9622365c3a57155f0b7)
1{
2  # DHCPv4 subnet declaration config
3  # parameter which will be changed in subnet
4  /// This configuration declares some subnets but has no interfaces-config
5  /// Reference Kea #245
6  "Dhcp4": {
7    "valid-lifetime": 1800,
8    "subnet4": [
9      # DHCPv4 subnet declaration
10      {
11        "id": 1,
12        "subnet": "10.5.5.0/27",
13        "pools": [
14          # at least one pool is required
15          {
16            "pool": "10.5.5.5 - 10.5.5.10"
17          }
18        ],
19        # authorize here
20        "authoritative": true,
21        "option-data": [
22          {
23            "space": "dhcp4",
24            "name": "domain-search",
25            "code": 119,
26//          "original-data": "\"example.com\", \"example.org\"",
27            "data": "example.com, example.org"
28          }
29        ],
30        "valid-lifetime": 3600,
31        "match-client-id": true
32      }
33    ]
34  }
35}
36