dhcpd in failover not reusing expired leases
Robert Blayzor
rblayzor.bulk at inoc.net
Tue Oct 14 09:35:11 UTC 2008
Providing a bit more info on this.... (sorry)
Primary .conf:
server-identifier 64.x.x.x;
server-name "foo";
failover peer "dhcp-failover" {
primary;
address x.x.x.x;
port 520;
peer address y.y.y.y;
peer port 520;
max-response-delay 30;
max-unacked-updates 10;
load balance max seconds 3;
mclt 600;
split 128;
}
include "/etc/dhcpd/include/common.conf";
Secondary .conf:
server-identifier y.y.y.y;
server-name "bar";
failover peer "dhcp-failover" {
secondary;
address y.y.y.y;
port 520;
peer address x.x.x.x;
peer port 520;
max-response-delay 30;
max-unacked-updates 10;
load balance max seconds 3;
}
include "/etc/dhcpd/include/common.conf";
and common is just our pool information, pretty basic:
subnet 64.x.x.x netmask 255.255.255.0 {
option domain-name-servers x.x.x.x, y.y.y.y;
option domain-name "foo.bar";
option routers x.x.x.x;
default-lease-time 7200;
max-lease-time 7200;
pool {
deny dynamic bootp clients;
failover peer "dhcp-failover";
range 64.x.x.x 64.x.x.x;
}
}
--
Robert Blayzor, BOFH
INOC, LLC
rblayzor at inoc.net
http://www.inoc.net/~rblayzor/
More information about the dhcp-users
mailing list