summaryrefslogtreecommitdiff
path: root/keama/samples/simple.json
blob: 5b6625b37976bfbe9fe34ee6b34eebd91b42e5b3 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
  "Dhcp4": {
    "option-data": [
      # -------------------------
      # dhcpd.conf
      #
      # Sample configuration file for ISC dhcpd
      #
      # option definitions common to all supported networks...
      {
        "space": "dhcp4",
        "name": "domain-name",
        "code": 15,
        "data": "example.org"
      }
    ],
    "valid-lifetime": 1800,
//  "config": [
//    /// max-lease-time is not supported
//    /// use default-lease-time instead
//    /// Reference Kea #5219
//    {
//      "name": "max-lease-time",
//      "code": 2,
//      "value": 7200
//    }
//  ],
    "subnet4": [
      # We're going to be authoritative for the network we've
      # just created.
      # No service will be given on this subnet, but we're telling
      # the DHCP server about it so it understands it's there and
      # not to hand out leases for it.
      {
        "subnet": "10.14.8.195/24"
      },
      # But we do want to hand out leases for the 192.168.1.0/24
      # network for purposes of this test..
      {
        "subnet": "192.168.1.0/24",
        "pools": [
          {
            "pool": "192.168.1.100 - 192.168.1.150"
          }
        ],
        "option-data": [
          {
            "space": "dhcp4",
            "name": "routers",
            "code": 3,
            "data": "192.168.1.1"
          }
        ]
      }
    ]
  }
}