summaryrefslogtreecommitdiff
path: root/keama/tests/pool42.in4
blob: e2ce953b3e9795e635332569e17fbc07ea8b4d0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# DHCPv4 pool with 2 ranges config

# authoritative is mandatory
authoritative;

# subnet declaration
subnet 10.5.5.0 netmask 255.255.255.224 {
    # pool declaration
    pool {
	option domain-search "example.com", "example.org";
	default-lease-time 1800;
	range 10.5.5.5 10.5.5.10;
	# add a second range
	range 10.5.5.11 10.5.5.12;
    }
    # interface
    interface "foo";
}