<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi all,<br><br>I posted already this question for previous version of DHCP and the response was to upgrade to newer version. <br><br>I was able to perform the tests in a newer version but still same problem (tested in version 4.2.2).<br><br>When i check a IP and MAC of a existing lease i receive status 2 (if just one lease is on dhcp.leases) or sometimes errors like key conflict or more than one lease match to the key (when in the server are two leases for the same IP/MAC, showed in dhcp.leases)<br><br>My problem is that if i test same IP but with other MAC i still receive the error key conflict. Can someone tell me why? This should be a bug right? if the IP/MAC doesn't exist the error should be not found, right?<br><br>Example:<br><br><b>> set ip-address=194.210.201.141</b><br>obj: lease<br>ip-address = c2:d2:c9:8d<br><b>> set hardware-address=04:1e:64:f3:b5:f9</b><br>obj: lease<br>ip-address = c2:d2:c9:8d<br>hardware-address = 04:1e:64:f3:b5:f9<br>> open<br>obj: lease<br>ip-address = c2:d2:c9:8d<br>hardware-address = 04:1e:64:f3:b5:f9<br><b>state = 00:00:00:02</b><br>dhcp-client-identifier = 01:04:1e:64:f3:b5:f9<br>subnet = 00:00:00:66<br>pool = 00:00:00:67<br>hardware-type = 00:00:00:01<br>ends = 4e:a0:4d:4d<br>starts = 4e:a0:3f:3d<br>tstp = 4e:9e:66:d1<br>tsfp = 4e:a0:b6:c5<br>atsfp = 4e:a0:b6:c5<br>cltt = 4e:9d:85:cf<br>flags = 00<br><br><br><b>> set ip-address=194.210.201.141</b><br>obj: lease<br>ip-address = c2:d2:c9:8d<br><b>> set hardware-address=04:1e:64:f3:00:00</b><br>obj: lease<br>ip-address = c2:d2:c9:8d<br>hardware-address = 04:1e:64:f3:00:00<br>> open<br><b>can't open object: key conflict</b><br>obj: lease<br>ip-address = c2:d2:c9:8d<br>hardware-address = 04:1e:64:f3:00:00<br><br><br>Can someone help?<br><br>Thanks,<br>Carlos<br><br> </div></body>
</html>