max-lease-time not respected

stephane.purnelle at corman.be stephane.purnelle at corman.be
Mon Jul 2 14:59:08 UTC 2007


Hi all,
I have two dhcp server in failover mode.
Some computers must have fixed-address and work fine.

But I have a little problem about lease-time.

my max-lease-time (same as default-lease-time) = 604800 (7 days).

These pareameter is correctly applied to special machine with 
fixed-address, but not for other machine.

INCORRECT : 

lease x.x.x.x {
  starts 1 2007/07/02 14:27:43;
  ends 1 2007/07/02 14:37:43;
  tstp 1 2007/07/09 14:32:43;
  cltt 1 2007/07/02 14:27:43;
  binding state active;
  next binding state expired;
  hardware ethernet 00:17:9a:79:34:76;
  uid "\001\000\027\232y4v";
}

Correct for a fixed-address :

lease x.x.x.x {
  starts 1 2007/07/02 14:27:43;
  ends 1 2007/07/09 14:37:43;
  tstp 1 2007/07/09 14:32:43;
  cltt 1 2007/07/02 14:27:43;
  binding state active;
  next binding state expired;
  hardware ethernet 00:17:9a:79:34:76;
  uid "\001\000\027\232y4v";
}

I think that for a strange raison that the max-lease-time is counted in 
milli-seconde for fully-dhcp client and in seconde for a fixed-address 
client.

Could you help me ? 

thanks

        Stéphane Purnelle


-----------------------------------
Stéphane PURNELLE                         stephane.purnelle at corman.be
Service Informatique       Corman S.A.           Tel : 00 32 087/342467


More information about the dhcp-users mailing list