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

Sébastien CRAMATTE s.cramatte at wanadoo.fr
Wed Jul 30 23:06:24 UTC 2008


I've enable it on the equipment  but I  haven't specify the option 82 in 
the dhcpd.conf ...

This what I have in my  dhcpd.leases file

lease XX.XX.XX.XX {
  starts 3 2008/07/30 18:22:14;
  ends 4 2008/07/31 18:22:14;
  cltt 3 2008/07/30 18:22:14;
  binding state active;
  next binding state free;
  hardware ethernet 00:0c:76:91:c8:3a;
  uid "\001\000\014v\221\310:";
  option agent.circuit-id 0:0:0:28;
  option agent.remote-id 0:90:64:ce:c1:ae;
  client-hostname "host1";
}

What should I had in dhcpd.conf ?


Austin Gabel escribió:
> 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 <mailto: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 <http://10.0.0.8>;
>     port 519;
>     peer address 10.0.0.9 <http://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 <http://10.0.0.0> netmask 255.254.0.0
>     <http://255.254.0.0> {
>     }
>
>     subnet 10.8.0.0 <http://10.8.0.0> netmask 255.255.0.0
>     <http://255.255.0.0> {
>     deny unknown-clients;
>     server-identifier 10.8.0.1 <http://10.8.0.1>;
>     option broadcast-address 10.8.255.255 <http://10.8.255.255>;
>     option routers 10.8.0.1 <http://10.8.0.1>;
>     pool {
>     range 10.8.0.2 <http://10.8.0.2> 10.8.127.255 <http://10.8.127.255>;
>     max-lease-time 86400;
>     default-lease-time 86400;
>     failover peer "failover1";
>     }
>     }
>
>     subnet 10.9.0.0 <http://10.9.0.0> netmask 255.255.0.0
>     <http://255.255.0.0> {
>     deny unknown-clients;
>     server-identifier 10.9.0.1 <http://10.9.0.1>;
>     option broadcast-address 10.9.255.255 <http://10.9.255.255>;
>     option routers 10.9.0.1 <http://10.9.0.1>;
>     pool {
>     range 10.9.0.2 <http://10.9.0.2> 10.9.255.255 <http://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 <http://10.0.0.9>;
>     port 519;
>     peer address 10.0.0.8 <http://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 <http://10.0.0.0> netmask 255.254.0.0
>     <http://255.254.0.0> {
>     }
>
>     subnet 10.8.0.0 <http://10.8.0.0> netmask 255.255.0.0
>     <http://255.255.0.0> {
>     deny unknown-clients;
>     server-identifier 10.8.0.1 <http://10.8.0.1>;
>     option broadcast-address 10.8.255.255 <http://10.8.255.255>;
>     option routers 10.8.0.1 <http://10.8.0.1>;
>     pool {
>     range 10.8.0.2 <http://10.8.0.2> 10.8.127.255 <http://10.8.127.255>;
>     max-lease-time 86400;
>     default-lease-time 86400;
>     failover peer "failover1";
>     }
>     }
>
>     subnet 10.9.0.0 <http://10.9.0.0> netmask 255.255.0.0
>     <http://255.255.0.0> {
>     deny unknown-clients;
>     server-identifier 10.9.0.1 <http://10.9.0.1>;
>     option broadcast-address 10.9.255.255 <http://10.9.255.255>;
>     option routers 10.9.0.1 <http://10.9.0.1>;
>     pool {
>     range 10.9.0.2 <http://10.9.0.2> 10.9.255.255 <http://10.9.255.255>;
>     max-lease-time 86400;
>     default-lease-time 86400;
>     failover peer "failover1";
>     }
>     }
>
>
>     Thank you for you help
>
>
>



More information about the dhcp-users mailing list