mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
Add error condition checks. Add lease file binding states. Check all output formats. Check leases file that is in mad order, cse all sorting methods when checking this. Use json output to check status classfications. Add cidr range checks. Add conf include and comment parsing input checks. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
31 lines
453 B
Text
31 lines
453 B
Text
shared-network example1 {
|
|
subnet 10.0.0.0 netmask 255.255.255.0 {
|
|
pool {
|
|
range 10.0.0.1/27;
|
|
}
|
|
}
|
|
subnet 10.1.0.0 netmask 255.255.255.0 {
|
|
pool {
|
|
range 10.1.0.1/27;
|
|
}
|
|
}
|
|
}
|
|
|
|
shared-network example2 {
|
|
subnet 10.2.0.0 netmask 255.255.255.0 {
|
|
pool {
|
|
range 10.2.0.1/27;
|
|
}
|
|
}
|
|
subnet 10.3.0.0 netmask 255.255.255.0 {
|
|
pool {
|
|
range 10.3.0.1/27;
|
|
}
|
|
}
|
|
}
|
|
|
|
subnet 10.4.0.0 netmask 255.255.255.0 {
|
|
pool {
|
|
range 10.4.0.1/28;
|
|
}
|
|
}
|