From owner-freebsd-questions@FreeBSD.ORG Tue Dec 3 14:32: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 0D190C19 for ; Tue, 3 Dec 2013 14:32: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 88447175F for ; Tue, 3 Dec 2013 14:32:13 +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 rB3EWAJ6088917 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 3 Dec 2013 14:32:11 GMT (envelope-from frank2@fjl.co.uk) Message-ID: <529DEB6B.5000000@fjl.co.uk> Date: Tue, 03 Dec 2013 14:32:11 +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: Re: dhcpd static binding problem References: <529DD95A.50103@fjl.co.uk> <529DE822.7060204@dat.pl> In-Reply-To: <529DE822.7060204@dat.pl> 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 14:32:14 -0000 On 03/12/2013 14:18, Maciej Milewski wrote: > On 03.12.2013 14:15, Frank Leonhardt wrote: >> 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; >> } >> > Why are you binding Class C, non private IP to your Windows PC? There is > 192.16_9_ and it should be 192.168 > And that's the reason for not setting correct IP for your host. I wasn't! It was a typo and it was cut/pasted so subsequent entries, so thanks for spotting it as it's been driving me crazy. Next questions (assuming it now works): How come WINDOWXP-PC did get the address 192.168.1.194? Very weird. How come dhcpd didn't complain; even when I ran it with the -t option to check the config file, and the -d option to explain exactly what it was doing. Of course I didn't want to assign 192.16*9*.1.229, but I can't see why it didn't just do what I asked OR complain it was illegal? Just silently ignoring it wasn't very helpful. Regards, Frank.