No Failover works, Failover does not work

Shlomo Dubrowin shlomo at dubrowin.org
Wed May 17 17:51:13 UTC 2006


I'm am trying to implement a failover solution for dhcp to replace a current
NT solution which does not support failover.  I have upgraded to the 3.0.4,
but when the systems are configured for failover, I get no leases, when the
systems are not configured for failover each server works as expected.  We
are using cisco routers and the helper-addresses are configured correctly,
and work without the failover configured.
Primary Config:
-----------------------
failover peer "dhcp-failover" {
        primary; # declare this to be the primary server
        address 10.153.100.26;
        port 520;
        peer address 10.153.100.27;
        peer port 520;
        max-response-delay 30;
        max-unacked-updates 30;
        load balance max seconds 3;
        mclt 1800;
        split 128;
}

include "/etc/dhcpd.pools";


Secondary Config:
----------------------------
failover peer "dhcp-failover" {
        Secondary; # declare this to be the secondary server
        address 10.153.100.27;
        port 520;
        peer address 10.153.100.26;
        peer port 520;
        max-response-delay 30;
        max-unacked-updates 30;
        load balance max seconds 3;
        mclt 1800;
}

include "/etc/dhcpd.pools";


The common pool file:
---------------------------------
authoritative;
ddns-update-style none;
option domain-name "corp.idt.net";
option domain-name-servers 172.16.202.100, 172.16.202.101;
option netbios-name-servers 10.153.100.17, 169.132.10.4;
option ntp-servers 10.153.100.17;
option Call_Server_Information code 128 = text;
option VLAN_Information code 191 = text;

subnet 10.153.100.0 netmask 255.255.255.0 {
# this is the subnet the machines actually sits on
}

# 2nd Floor VLAN
subnet 10.153.22.0 netmask 255.255.255.0 {
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.153.22.255;
        option routers 10.153.22.1;
        pool {
                failover peer "dhcp-failover";
                deny dynamic bootp clients;
                max-lease-time 28800; # 30 minutes
                range 10.153.22.3 10.153.22.229;
        }
}


I cannot find any relevant failure messages in the log and the lease file
doesn't show any leases.
Anyone see a mistake in my config?  Thank you.

  Shlomo
-- 
-----------------------------------------------------------------------
  ,-~~-.___.    ._.
/ |  '     \   | |"""""""""|           Shlomo Dubrowin
(  )         0  | |         |             (Sheldon)
\_/-, ,----'   | |         |
    ====        !_!--v---v--"
    /  \-'~;      |""""""""|            shlomo at dubrowin.org
   /  __/~| ._-""||        |          http://www.dubrowin.org
=(  _____|_|____||________|
-----------------------------------------------------------------------



More information about the dhcp-users mailing list