From owner-freebsd-questions@FreeBSD.ORG Tue Dec 3 13:31:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CEBDFF1D for ; Tue, 3 Dec 2013 13:31:14 +0000 (UTC) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8208A12A8 for ; Tue, 3 Dec 2013 13:31:14 +0000 (UTC) Received: from [192.168.1.35] (host86-161-161-3.range86-161.btcentralplus.com [86.161.161.3]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id rB3DF5rm066703 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 3 Dec 2013 13:15:05 GMT (envelope-from frank2@fjl.co.uk) Message-ID: <529DD95A.50103@fjl.co.uk> Date: Tue, 03 Dec 2013 13:15:06 +0000 From: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: dhcpd static binding problem Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Dec 2013 13:31:15 -0000 Below I've got a dhcpd.conf file, with only symbolic names changed and comments removed. It generally works just fine, until today when I added the static binding for WINDOWSVISTA-PC. Previously it was on the dynamically allocated .160. Whenever its lease expires it requests and receives an ACK for .160. I've got the user to run "ipconfig /release" on the interface - they say they did it (and they're supposed to be a computer "engineer"). The lease has expired many times. I can run dhcpd in debug mode and watch it happening live. Is it me or is it Windoze? And why doesn't dhcpd refuse the renewal? If its the order in the file, why does it work on WINDOWSXP-PC? Thanks, Frank. option domain-name "test.junk.foo"; option domain-name-servers 192.168.1.205, 192.168.1.206; default-lease-time 600; max-lease-time 7200; ddns-update-style none; log-facility local7; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.145 192.168.1.192; option routers 192.168.1.210; authoritative; } host WINDOWSXP-PC { hardware ethernet 00:19:21:10:83:13; fixed-address 192.169.1.194; } host WINDOWSVISTA-PC { hardware ethernet 00:21:97:02:b2:3e; fixed-address 192.169.1.229; }