mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
This makes 'range6 123::/45' style cidr notation to be understood as address range. Earlier ranges that used cidr failed to parse completely. Reported-by: Jeff Bailey <jeffrey.bailey@bt.com> 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.0/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/28;
|
|
}
|
|
}
|
|
subnet 10.3.0.0 netmask 255.255.255.0 {
|
|
pool {
|
|
range 10.3.0.1/29;
|
|
}
|
|
}
|
|
}
|
|
|
|
subnet 10.4.0.0 netmask 255.255.255.0 {
|
|
pool {
|
|
range 10.4.0.1/32;
|
|
}
|
|
}
|