File: stateless.json

package info (click to toggle)
isc-kea 3.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 62,036 kB
  • sloc: cpp: 594,791; sh: 26,896; lex: 8,540; yacc: 8,424; python: 1,065; xml: 149; makefile: 39
file content (29 lines) | stat: -rw-r--r-- 849 bytes parent folder | download | duplicates (3)
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
// A very simply stateless configuration that provides information about DNS
// servers to all clients, regardless of their point of attachment.
//
// It is also possible to specify options on a per subnet basis
// in the same way as in stateful mode.
//

{
"Dhcp6": {
    "interfaces-config": {
        "interfaces": [ "eth0" ]
    },

// This is the list of options that will be granted to all clients that ask.
    "option-data": [ {
        "name": "dns-servers",
        "data": "2001:db8::1, 2001:db8::2"
    } ],

// Kea 0.9.1 requires lease-database to be specified, even it is not used.
// In stateless mode, only options are granted, not addresses or
// prefixes, so there will be no leases (unless stateless and stateful
// mode is used together).
    "lease-database": {
        "type": "memfile",
        "lfc-interval": 3600
    }
}
}