dhcp server + failover : peer holds all free leases/load balance0 ...

Austin Gabel austin at gilroycal.com
Wed Jul 30 14:29:31 UTC 2008


If the equipment requesting an IP does not match up with your option 82
information then it will give you this error.  Run a tcpdump and see what
option 82 data is being sent and see if it matches anything you have in your
config.



On Tue, Jul 29, 2008 at 6:14 PM, Sébastien CRAMATTE
<s.cramatte at wanadoo.fr>wrote:

> Hello,
>
> I've just setup 2 dhcp server  to use  failover. I'm running debian lenny
> with dhcpd 3.1.1
> 2 servers seems to be synchronised but won't  ACK leases
>
> On the slave I can see this message in syslog  :  'peer holds all free
> leases/load balance0'
>
> I found some post about this but nothing that help to solve me this issue.
>
> On my network I've got various dhcp relay () on diferent network segment)
>  that point to  these main servers.
> I never use directly these servers. Main dhcp servers receive only unicast
> petition from port 67 to 67.
>
> If I disable failover it works as a charm. Might be due to dhcp relay mode
> ?
>
>
> ---------- master configuration ---------
> failover peer "failover1" {
> primary;
> address 10.0.0.8;
> port 519;
> peer address 10.0.0.9;
> peer port 519;
> max-response-delay 60;
> max-unacked-updates 10;
> load balance max seconds 3;
> split 128;
> mclt 3600;
> }
>
> default-lease-time 86400;
> max-lease-time 604800;
> ddns-update-style interim;
> one-lease-per-client on;
> deny duplicates;
> ignore declines;
> authoritative;
> use-host-decl-names on;
> ignore client-updates;
>
> subnet 10.0.0.0 netmask 255.254.0.0 {
> }
>
> subnet 10.8.0.0 netmask 255.255.0.0 {
> deny unknown-clients;
> server-identifier 10.8.0.1;
> option broadcast-address 10.8.255.255;
> option routers 10.8.0.1;
> pool {
> range 10.8.0.2 10.8.127.255;
> max-lease-time 86400;
> default-lease-time 86400;
> failover peer "failover1";
> }
> }
>
> subnet 10.9.0.0 netmask 255.255.0.0 {
> deny unknown-clients;
> server-identifier 10.9.0.1;
> option broadcast-address 10.9.255.255;
> option routers 10.9.0.1;
> pool {
> range 10.9.0.2 10.9.255.255;
> max-lease-time 86400;
> default-lease-time 86400;
> failover peer "failover1";
> }
> }
>
> ---- slave configuration -----
> failover peer "failover1" {
> secondary;
> address 10.0.0.9;
> port 519;
> peer address 10.0.0.8;
> peer port 519;
> max-response-delay 60;
> max-unacked-updates 10;
> load balance max seconds 3; }
>
> default-lease-time 86400;
> max-lease-time 604800;
> one-lease-per-client on;
> deny duplicates;
> ignore declines;
> authoritative;
> use-host-decl-names on;
> ignore client-updates;
>
> subnet 10.0.0.0 netmask 255.254.0.0 {
> }
>
> subnet 10.8.0.0 netmask 255.255.0.0 {
> deny unknown-clients;
> server-identifier 10.8.0.1;
> option broadcast-address 10.8.255.255;
> option routers 10.8.0.1;
> pool {
> range 10.8.0.2 10.8.127.255;
> max-lease-time 86400;
> default-lease-time 86400;
> failover peer "failover1";
> }
> }
>
> subnet 10.9.0.0 netmask 255.255.0.0 {
> deny unknown-clients;
> server-identifier 10.9.0.1;
> option broadcast-address 10.9.255.255;
> option routers 10.9.0.1;
> pool {
> range 10.9.0.2 10.9.255.255;
> max-lease-time 86400;
> default-lease-time 86400;
> failover peer "failover1";
> }
> }
>
>
> Thank you for you help
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20080730/82cfe9a1/attachment.html>


More information about the dhcp-users mailing list