cannot change ip address in pool (fixed question)

Glenn Satchell glenn.satchell at uniq.com.au
Wed Sep 12 11:46:02 UTC 2012


Is there anything logged?

My guess is that the lease hasn't expired, and there is a limit of one, so
the request for a different IP gets dropped/ignored by the dhcp server. I
think there might be a log message "no free leases".

What was the version of dhcpd when running under lenny? Might be a case of
seeing what defaults changed between versions. Check for "authoritative"
statement in dhcpd.conf.

On a different note this can be re-written without the binary-to-ascii:

match if binary-to-ascii(16, 8, ":", option agent.remote-id) =
"0:a:73:f9:e6:3a";

note no quotes around the string, making it a list of hex characters:

match if option agent.remote-id) = 0:a:73:f9:e6:3a;

regards,
-glenn

On Wed, September 12, 2012 9:18 pm, Jan nowak wrote:
> Hello,
> I've got weird problem with isc-dhcp-server (4.1.1-P1-15+squeeze6).
> I work in Cable TV and i am responsible of maintaining docsis layer.
>
> ##############################
> ############################################################
> host m69 { hardware ethernet 00:0a:73:f9:e6:3a; fixed-address
> 172.16.10.69;
> filename "file.cm <http://plik.cm>";}
> 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;}
> pool { allow members of "M069"; range 172.16.20.69; }
> ############################################################################################
>
> In this code i defined IP addresses of modem and CPE. First line
> corresponds to modem access layer ( MAC + IP) and second and third lines
> of
> code corresponds to CPE access layer. Problem occurs when i need to change
> CPE device (from router to PC).
> When I changed CPE device and restarted both: isc dhcp server and CPE,
> then
> CPE doesn't get ip address. It's like isc dhcp server remembers last CPE
> device and doesn't allow to assing ip address to another device. Few
> months
> ago i used debian lenny and then everthing was good. Now i moved to Debian
> squeeze and something goes wrong.
>
> Please help.
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users




More information about the dhcp-users mailing list