summaryrefslogtreecommitdiff
path: root/keama/tests/subnet6multi.out
blob: bccaf4dbcf68ff9d31f0b9e5865349052aa4b61e (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
{
  # DHCPv6 subnet declaration config
  # authoritative is mandatory
  /// This configuration declares some subnets but has no interfaces-config
  /// Reference Kea #5256
  "Dhcp6": {
    "valid-lifetime": 1800,
    "subnet6": [
      # DHCPv4 subnet declaration
      {
        "subnet": "2001::/64",
        "pd-pools": [
          {
            "prefix": "2001:0:0:10::",
            "delegated-len": 64,
            "prefix-len": 60
          },
          # at least one pool is required
          {
            "prefix": "2001:0:0:80::",
            "delegated-len": 64,
            "prefix-len": 57
          }
        ],
        "pools": [
          {
            # the pool is shared between addresses and prefixes
            "pool": "2001::100 - 2001::200"
          },
          # at least one pool is required
          {
            "pool": "2001::1000 - 2001::2000"
          }
        ],
        "option-data": [
          {
            "space": "dhcp6",
            "name": "domain-search",
            "code": 24,
            "data": "example.com, example.org"
          }
        ],
        "valid-lifetime": 3600
      }
    ]
  }
}