Duplicated leases, same IP and same MAC

carlos jorge carlosd2002 at hotmail.com
Tue Sep 20 17:01:12 UTC 2011


Hi Arun,

Thanks for you reply!

Right now i m not able to do those operations but..
I don't know if i got your thought but in case of problems with RAS (that raise the creation of duplication of leases) why did the duplicated lease disappeared? 

if the end time is on both leases are:
     ends 2 2011/09/20 22:57:21;

and after a while (1h after creation, and a lease time of 8h) 1 of the 2 got away..


  starts 2 2011/09/20 14:57:21; --> lease creation

around 16h   -->1 of the leases is gone (i m not complaining about this :) )


  ends 2 2011/09/20 22:57:21; --> lease end time


Do you have any thought  for this behavior?

Thanks,
Carlos

Subject: RE: Duplicated leases, same IP and same MAC
Date: Tue, 20 Sep 2011 21:44:39 +0530
From: arun.sasi1 at wipro.com
To: dhcp-users at lists.isc.org; carlosd2002 at hotmail.com
















Carlos,

 

Could you check Windows machine with RAS (Remote Access Service)
enabled or not… if it is enabled, disable it from DHCP server or stop the
service and renew the IP..

 

 



Thanks,

-Arun



 





From:
dhcp-users-bounces+arun.sasi1=wipro.com at lists.isc.org
[mailto:dhcp-users-bounces+arun.sasi1=wipro.com at lists.isc.org] On Behalf Of carlos
jorge

Sent: Tuesday, September 20, 2011 9:35 PM

To: dhcp-users at lists.isc.org

Subject: Duplicated leases, same IP and same MAC





 



Hi
all,





Today i was looking into the lease file and found something that i think that
should not happen.

In the lease file i found 2 leases with the same IP and MAC, to one par IP MAC
there should exist just one lease right? 





lease 10.43.11.92 {

  starts 2 2011/09/20 14:57:21;

  ends 2 2011/09/20 22:57:21;

  tstp 3 2011/09/21 02:57:21;

  tsfp 2 2011/09/20 22:57:22;

  cltt 2 2011/09/20 14:57:21;

  binding state active;

  next binding state expired;

  hardware ethernet 00:40:ca:a4:3f:be;

  set ddns-txt = "0097558cd8aa1f47ff41f956ea212c89b8";

  set ddns-fwd-name = "00:40:ca:a4:3f:be.teste.t";

  client-hostname "T5413";

}





lease 10.43.11.92 {

  starts 2 2011/09/20 14:57:21;

  ends 2 2011/09/20 22:57:21;

  tstp 3 2011/09/21 02:57:21;

  tsfp 3 2011/09/21 02:57:21;

  atsfp 3 2011/09/21 02:57:21;

  cltt 2 2011/09/20 14:57:21;

  binding state active;

  next binding state expired;

  hardware ethernet 00:40:ca:a4:3f:be;

  set ddns-txt = "0097558cd8aa1f47ff41f956ea212c89b8";

  set ddns-fwd-name = "00:40:ca:a4:3f:be.teste.t";

  client-hostname "T5413";

}





After some minutes the file only had one.



i tested with omshell and i saw the error:

can't open object: more than one object matches key



Witch means that in memory structure in DHCPd there are more 2 leases 



The version that i m running is  3.1.3, is this the normal behavior? or
its a bug? it's corrected in newer versions?



Thanks,

Carlos Abrantes





 Please do not print this email unless it is absolutely necessary. 


 The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110920/82556538/attachment.html>


More information about the dhcp-users mailing list