summaryrefslogtreecommitdiff
path: root/keama/tests/permitknown4.out
blob: 1a27d5a94618c6974c7d0653a1c905d10bba7400 (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
{
  # DHCPv4 permit known client config
  # empty configs are not accepted by Kea
  /// This configuration declares some subnets but has no interfaces-config
  /// Reference Kea #245
  "Dhcp4": {
    "valid-lifetime": 1800,
    "subnet4": [
      # subnet declaration
      {
        "id": 1,
        "subnet": "10.5.5.0/27",
        "pools": [
          # pool declaration
          {
            # avoid empty pool
            "pool": "10.5.5.5 - 10.5.5.10",
            /// From:
            ///   allow known clients
            "client-class": "KNOWN"
          }
        ]
      }
    ]
  }
}