From owner-freebsd-questions@FreeBSD.ORG Thu Apr 19 02:43:38 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7570816A402 for ; Thu, 19 Apr 2007 02:43:38 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8B913C468 for ; Thu, 19 Apr 2007 02:43:38 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id B4E43216A68; Wed, 18 Apr 2007 22:43:39 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 18 Apr 2007 22:43:38 -0400 X-Sasl-enc: iJD1a1Byzuk2pWbIB4RZkqwOEPhdxfWToF+IAx4pXOIR 1176950618 Received: from [10.1.10.136] (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTP id 40B9A1396E; Wed, 18 Apr 2007 22:43:38 -0400 (EDT) In-Reply-To: <1176949451.7739.15.camel@joe.realss.com> References: <1176949451.7739.15.camel@joe.realss.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <625B8AEB-6D1E-4B5C-BA14-A021F92427E6@goldmark.org> Content-Transfer-Encoding: 7bit From: Jeffrey Goldberg Date: Wed, 18 Apr 2007 21:43:35 -0500 To: Zhang Weiwu X-Mailer: Apple Mail (2.752.2) Cc: freebsd-questions@freebsd.org Subject: Re: dhcpd assign duplicated IP address 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, 19 Apr 2007 02:43:38 -0000 On Apr 18, 2007, at 9:24 PM, Zhang Weiwu wrote: > I am not sure if I understood DHCP correctly. I have this > configuration > in my /usr/local/etc/dhcpd.conf (Using FreeBSD 6.1): > > subnet 218.193.55.192 netmask 255.255.255.192 { > range 218.193.55.194 218.193.55.254; > option routers 218.193.55.193; > } > > [snip] > > host sappho.realss.com { > hardware ethernet 80:00:20:B0:99:31; > fixed-address 218.193.55.196; > option routers 218.193.55.193; > } > > And I think this means the DHCP server should not assign IP address > 218.193.55.196 to any hosts that do not have MAC address of > "80:00:20:B0:99:31". No, it doesn't mean that. You have configured dhcpd to have two ways of assigning the address 218.193.55.196. One is through the dynamic mechanism and the other is through the fixed address. You should set your fixed address to be outside of your dynamic pool range. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/