From owner-freebsd-questions@FreeBSD.ORG Thu Jul 29 00:46:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A522F106566B for ; Thu, 29 Jul 2010 00:46:37 +0000 (UTC) (envelope-from rbyrnes@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2D9F78FC16 for ; Thu, 29 Jul 2010 00:46:36 +0000 (UTC) Received: by ewy26 with SMTP id 26so2240527ewy.13 for ; Wed, 28 Jul 2010 17:46:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=qdjVRvtSz79pOaDhbgzRuLZ6CgpoEDbsROB39MuXphg=; b=wPFLDd8/rK+mY5W+zATJu3eRHJOZPhKvCMXr5exXDeG1O84MTh6rM1npvTbmNgsgP4 TGnNdziUyyX3S6ssD3i4RiaSYyLe4NqLid2ALmkljs53Yig1Vcjl6OUekCO51nZKDPT8 hXv8IRFcPJ6wTIc6K/ou/ia9c9I5doC4yQORk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=YoMiaA076sfagjNsZNutu/+tmxfTbchGAuyRu/FHILO+EOJIh850xisLFtvYctuzfc 12u+78OIWSq6spam8KiRWn/7C8zhmE1Sxnt003zdD+3J2aOJrDSid2dCRqCXmW+ynOz1 ElBjJkyC3bRu+H4/zPuriNyBB4VLt0njwolMY= Received: by 10.213.27.68 with SMTP id h4mr6540451ebc.98.1280362829407; Wed, 28 Jul 2010 17:20:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.29.67 with HTTP; Wed, 28 Jul 2010 17:20:09 -0700 (PDT) In-Reply-To: References: From: Rob Byrnes Date: Thu, 29 Jul 2010 10:20:09 +1000 Message-ID: To: claudiu vasadi Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: isc-dhcp leasing wrong IP's X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2010 00:46:37 -0000 On 29 July 2010 07:32, claudiu vasadi wrote: > Hello guys, > > I have a F-BSD 8.0 box running isc-dhcp with the following simple config: > > > authoritative; > > option domain-name-servers 192.168.0.1; > option subnet-mask 255.255.255.0; > > default-lease-time 3600; > max-lease-time 86400; > ddns-update-style none; > > subnet 192.168.0.0 netmask 255.255.255.0 { > range 192.168.0.10 192.168.0.150; > option routers 192.168.0.1; > } > > > > as you can see, the lease range is between 192.168.0.10 and 192.168.0.150 > but for some reason, another BSD box always gets 192.168.0.8. > > I can't explain this since this is the only DHCP server on the network and I > see no error logs. > > The other BSD box says: > > Jul 29 00:25:04 mainserver2 dhclient[1292]: DHCPREQUEST on sk0 to > 255.255.255.255 port 67 > Jul 29 00:25:04 mainserver2 dhclient[1292]: DHCPACK from 192.168.0.5 > Jul 29 00:25:04 mainserver2 dhclient: New IP Address (sk0): 192.168.0.8 > Jul 29 00:25:04 mainserver2 dhclient: New Subnet Mask (sk0): 255.255.255.0 > Jul 29 00:25:04 mainserver2 dhclient: New Broadcast Address (sk0): > 192.168.0.255 > Jul 29 00:25:04 mainserver2 dhclient: New Routers (sk0): 192.168.0.1 > Jul 29 00:25:05 mainserver2 dhclient[1292]: bound to 192.168.0.8 -- renewal > in 43200 seconds. > > It looks legit but still .. why is isc-dhcp handing out IP's ouside the > lease range ? Had the other box received a lease from your DHCP server prior to implementing the range parameter? cheers, Rob