summaryrefslogtreecommitdiff
path: root/keama/tests/subnet4auth.out
blob: ad6057792c0deb614ae0f83d1f32841b30a13142 (plain)
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
{
  # DHCPv4 subnet declaration config
  # parameter which will be changed in subnet
  /// This configuration declares some subnets but has no interfaces-config
  /// Reference Kea #245
  "Dhcp4": {
    "valid-lifetime": 1800,
    "subnet4": [
      # DHCPv4 subnet declaration
      {
        "id": 1,
        "subnet": "10.5.5.0/27",
        "pools": [
          # at least one pool is required
          {
            "pool": "10.5.5.5 - 10.5.5.10"
          }
        ],
        # authorize here
        "authoritative": true,
        "option-data": [
          {
            "space": "dhcp4",
            "name": "domain-search",
            "code": 119,
//          "original-data": "\"example.com\", \"example.org\"",
            "data": "example.com, example.org"
          }
        ],
        "valid-lifetime": 3600,
        "match-client-id": true
      }
    ]
  }
}