summaryrefslogtreecommitdiff
path: root/keama/tests/optdatagrouppool4.in4
blob: 999abea223acbf251e1caf4f2283f2516cb4b985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# embedded option-data in DHCPv4 pool config

# empty configs are not accepted by Kea
default-lease-time 1800;

# subnet declaration
subnet 10.5.5.0 netmask 255.255.255.224 {
    # pool declaration
    pool {
        # avoid empty pool
        range 10.5.5.5 10.5.5.10;
        # for a silly reason option-data is not allowed in DHCPv4 pools
	# try to fool this rule using a group
	group fool {
            option domain-search "example.com", "example.org";
        }
    }
}