i pasted few lines of log with word "lease" and dhcpd configuration file. Just like you said there is something with lease. Do you know how to fix it ? I can't find what version od dhcpd server i have in Lenny.<br>
<br>Sep 13 07:32:35 debian dhcpd: ICMP Echo reply while lease 172.16.20.203 valid.<br>
Sep 13 07:32:35 debian dhcpd: ICMP Echo reply while lease 172.16.20.203 valid.<br>Sep 13 07:32:35 debian dhcpd: ICMP Echo reply while lease 172.16.20.203 valid.<br>Sep 13 07:32:35 debian dhcpd: ICMP Echo reply while lease 172.16.20.203 valid.<br>

Sep 13 07:32:37 debian dhcpd: Reclaiming abandoned lease 172.16.20.203.<br>Sep 13 07:32:37 debian dhcpd: Reclaiming abandoned lease 172.16.20.203.<br>Sep 13 07:32:37 debian dhcpd: Reclaiming abandoned lease 172.16.20.203.<br>

Sep 13 07:32:37 debian dhcpd: Reclaiming abandoned lease 172.16.20.203.<br>Sep 13 07:32:41 debian dhcpd: data: "leased-address" configuration directive: there is no lease associated with this client.<br>Sep 13 07:32:41 debian dhcpd: data: "leased-address" configuration directive: there is no lease associated with this client.<br>

Sep 13 07:32:41 debian dhcpd: data: "leased-address" configuration directive: there is no lease associated with this client.<br>Sep 13 07:32:41 debian dhcpd: data: "leased-address" configuration directive: there is no lease associated with this client.<br>

Sep 13 07:32:52 debian dhcpd: DHCPREQUEST for 172.16.13.90 from e4:48:c7:b3:bf:7a via eth0: unknown lease 172.16.13.90.<br>Sep 13 07:32:52 debian dhcpd: DHCPREQUEST for 172.16.13.90 from e4:48:c7:b3:bf:7a via eth0: unknown lease 172.16.13.90.<br>

Sep 13 07:32:52 debian dhcpd: DHCPREQUEST for 172.16.13.90 from e4:48:c7:b3:bf:7a via eth0: unknown lease 172.16.13.90.<br>Sep 13 07:32:58 debian dhcpd: DHCPDISCOVER from 00:14:5e:7f:35:3c via eth0: network xxx: no free leases<br>

Sep 13 07:32:58 debian dhcpd: DHCPDISCOVER from 00:14:5e:7f:35:3c via eth0: network xxx: no free leases<br>Sep 13 07:32:58 debian dhcpd: DHCPDISCOVER from 00:14:5e:7f:35:3c via eth0: network xxx: no free leases<br>Sep 13 07:32:58 debian dhcpd: DHCPDISCOVER from 00:14:5e:7f:35:3c via eth0: network xxx: no free leases<br>

Sep 13 07:33:05 debian dhcpd: DHCPDISCOVER from 00:14:5e:7f:35:3c via eth0: network xxx: no free leases<br>Sep 13 07:33:05 debian dhcpd: DHCPDISCOVER from 00:14:5e:7f:35:3c via eth0: network xxx: no free leases<br>Sep 13 07:33:05 debian dhcpd: DHCPDISCOVER from 00:14:5e:7f:35:3c via eth0: network xxx: no free leases<br>

Sep 13 07:33:05 debian dhcpd: DHCPDISCOVER from 00:14:5e:7f:35:3c via eth0: network xxx: no free leases<br>Sep 13 07:33:09 debian dhcpd: DHCPREQUEST for 172.16.13.135 from e4:48:c7:b5:40:d4 via eth0: unknown lease 172.16.13.135.<br>

Sep 13 07:33:09 debian dhcpd: DHCPREQUEST for 172.16.13.135 from e4:48:c7:b5:40:d4 via eth0: unknown lease 172.16.13.135.<br>Sep 13 07:33:09 debian dhcpd: DHCPREQUEST for 172.16.13.135 from e4:48:c7:b5:40:d4 via eth0: unknown lease 172.16.13.135.<br>

Sep 13 07:33:18 debian dhcpd: DHCPREQUEST for 78.10.45.44 from 00:1d:0f:e4:4e:87 via <a href="http://172.16.0.1" target="_blank">172.16.0.1</a>: unknown lease 78.10.45.44.<br>Sep 13 07:33:18 debian dhcpd: DHCPREQUEST for 78.10.45.44 from 00:1d:0f:e4:4e:87 via <a href="http://172.16.0.1" target="_blank">172.16.0.1</a>: unknown lease 78.10.45.44.<br>

Sep 13 07:33:18 debian dhcpd: DHCPREQUEST for 78.10.45.44 from 00:1d:0f:e4:4e:87 via <a href="http://172.16.0.1" target="_blank">172.16.0.1</a>: unknown lease 78.10.45.44.<br>Sep 13 07:33:19 debian dhcpd: DHCPDISCOVER from 00:14:5e:7f:35:3c via eth0: network xxx: no free leases<br>

Sep 13 07:33:19 debian dhcpd: DHCPDISCOVER from 00:14:5e:7f:35:3c via eth0: network xxx: no free leases<br>Sep 13 07:33:19 debian dhcpd: DHCPDISCOVER from 00:14:5e:7f:35:3c via eth0: network xxx: no free leases<br>Sep 13 07:33:19 debian dhcpd: DHCPDISCOVER from 00:14:5e:7f:35:3c via eth0: network xxx: no free leases<br>

<br><br>########################################################################<br>#dhcpd.conf<br><br>authoritative;<br>default-lease-time 1200;<br>max-lease-time 12000;<br>log-facility local4;<br>option time-servers 192.168.1.1;<br>

<br>option multicast-accp code 131 = { ip-address, unsigned integer 16, unsigned integer 8 };<br>option multicast-accp 225.1.59.150 60000 10;<br><br>#allow leasequery;<br><br>if exists agent.remote-id {<br> log ( error, concat("RemA: ", "offer ", binary-to-ascii (10, 8, ".", leased-address ), " to " ,binary-to-ascii (16, 8, ":", substring( hardware, 1, 6)), " from ", binary-to-ascii(16, 8, ":", option agent.remote-id))  );<br>

}<br><br>#option bootfile-name "<a href="http://256.cm" target="_blank">256.cm</a>";<br><br>shared-network xxx{<br><br>subnet 172.16.0.0 netmask 255.255.0.0 {<br>next-server 192.168.0.1;<br>option domain-name-servers 217.30.129.149, 217.30.137.200;<br>

option routers 172.16.0.1;<br>option subnet-mask 255.255.0.0;<br>option broadcast-address 172.16.255.255;<br>}<br><br>subnet 78.10.44.0 netmask 255.255.255.0 {<br>next-server 192.168.0.1;<br>option domain-name-servers 217.30.129.149, 217.30.137.200;<br>

option routers 78.10.44.1;<br>option subnet-mask 255.255.255.0;<br>option broadcast-address 78.10.44.255;<br>}<br><br>subnet 78.10.45.0 netmask 255.255.255.0 {<br>next-server 192.168.0.1;<br>option domain-name-servers 217.30.129.149, 217.30.137.200;<br>

option routers 78.10.45.1;<br>option subnet-mask 255.255.255.0;<br>option broadcast-address 78.10.45.255;<br>}<br><br>subnet 78.10.46.0 netmask 255.255.255.0 {<br>next-server 192.168.0.1;<br>option domain-name-servers 217.30.129.149, 217.30.137.200;<br>

option routers 78.10.46.1;<br>option subnet-mask 255.255.255.0;<br>option broadcast-address 78.10.46.255;<br>}<br><br>subnet 78.10.47.0 netmask 255.255.255.128 {<br>next-server 192.168.0.1;<br>option domain-name-servers 217.30.129.149, 217.30.137.200;<br>

option routers 78.10.47.1;<br>option subnet-mask 255.255.255.128;<br>option broadcast-address 78.10.47.127;<br>}<br><br>subnet 192.168.0.1 netmask 255.255.255.255 { }<br>subnet 192.168.1.1 netmask 255.255.255.255 { }<br>
<br>
<br>#########################################<br>host m69 { hardware ethernet 00:0a:73:f9:e6:3a; fixed-address 172.16.10.69; filename "<a href="http://plik.cm">plik.cm</a>";}<br>class "M069" { match if binary-to-ascii(16, 8, ":", option agent.remote-id) = "0:a:73:f9:e6:3a"; spawn with option agent.remote-id; lease limit 1;}<br>

pool { allow members of "M069"; range 172.16.20.69; }<br>##############################################<br>}<br><br><br><br><div class="gmail_quote">2012/9/12 Glenn Satchell <span dir="ltr"><<a href="mailto:glenn.satchell@uniq.com.au" target="_blank">glenn.satchell@uniq.com.au</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there anything logged?<br>
<br>
My guess is that the lease hasn't expired, and there is a limit of one, so<br>
the request for a different IP gets dropped/ignored by the dhcp server. I<br>
think there might be a log message "no free leases".<br>
<br>
What was the version of dhcpd when running under lenny? Might be a case of<br>
seeing what defaults changed between versions. Check for "authoritative"<br>
statement in dhcpd.conf.<br>
<br>
On a different note this can be re-written without the binary-to-ascii:<br>
<div><br>
match if binary-to-ascii(16, 8, ":", option agent.remote-id) =<br>
"0:a:73:f9:e6:3a";<br>
<br>
</div>note no quotes around the string, making it a list of hex characters:<br>
<br>
match if option agent.remote-id) = 0:a:73:f9:e6:3a;<br>
<br>
regards,<br>
-glenn<br>
<div><br>
On Wed, September 12, 2012 9:18 pm, Jan nowak wrote:<br>
> Hello,<br>
> I've got weird problem with isc-dhcp-server (4.1.1-P1-15+squeeze6).<br>
> I work in Cable TV and i am responsible of maintaining docsis layer.<br>
><br>
> ##############################<br>
> ############################################################<br>
> host m69 { hardware ethernet 00:0a:73:f9:e6:3a; fixed-address<br>
> 172.16.10.69;<br>
</div>> filename "<a href="http://file.cm" target="_blank">file.cm</a> <<a href="http://plik.cm" target="_blank">http://plik.cm</a>>";}<br>
<div>> class "M069" { match if binary-to-ascii(16, 8, ":", option<br>
> agent.remote-id)<br>
> = "0:a:73:f9:e6:3a"; spawn with option agent.remote-id; lease limit 1;}<br>
> pool { allow members of "M069"; range 172.16.20.69; }<br>
> ############################################################################################<br>
><br>
> In this code i defined IP addresses of modem and CPE. First line<br>
> corresponds to modem access layer ( MAC + IP) and second and third lines<br>
> of<br>
> code corresponds to CPE access layer. Problem occurs when i need to change<br>
> CPE device (from router to PC).<br>
> When I changed CPE device and restarted both: isc dhcp server and CPE,<br>
> then<br>
> CPE doesn't get ip address. It's like isc dhcp server remembers last CPE<br>
> device and doesn't allow to assing ip address to another device. Few<br>
> months<br>
> ago i used debian lenny and then everthing was good. Now i moved to Debian<br>
> squeeze and something goes wrong.<br>
><br>
> Please help.<br>
</div>> _______________________________________________<br>
> dhcp-users mailing list<br>
> <a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
> <a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
<br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div><br>