From owner-freebsd-questions@FreeBSD.ORG Tue Apr 5 12:50:01 2011 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 30117106566B for ; Tue, 5 Apr 2011 12:50:01 +0000 (UTC) (envelope-from kevin.wilcox@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id E5C578FC0A for ; Tue, 5 Apr 2011 12:50:00 +0000 (UTC) Received: by iyj12 with SMTP id 12so387834iyj.13 for ; Tue, 05 Apr 2011 05:50:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0z4Ur5qAE7vNvw+vu9Lya3l+KLENjecikbCZ2t7bFYc=; b=NAhuy95poLIx8ncoYK2lonPY5oOYUCW+CATAzQsCLQmtKcK9s16VFGKt+aIN+42VDR 7UGCSJ/nSvuEs6V7m+My8J33Qk8KCqjVO8lLpd5WwLwhkVne0KI5NxppAqq+23SEzq9U 4Lc5yAxE0bBn/51orw18+fAsmsVIQuutVyxl0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jSu/HYNcPkfv/HIF1JbKnxdBo76QCFloK+VGckvSEUySBQyBLd9bzpAtzd5x21rkdB HzBB4vpO14mh+KIaiRaRl5B+4jIwcYW4J2LnaEZAuqNE8NRkOmsbZcZ7KBUArDZDi6ye B/8rCqJr7StaexRR9jwUHjvObKbLeVPCOpWVk= MIME-Version: 1.0 Received: by 10.231.95.195 with SMTP id e3mr8128543ibn.122.1302007800240; Tue, 05 Apr 2011 05:50:00 -0700 (PDT) Received: by 10.231.192.72 with HTTP; Tue, 5 Apr 2011 05:50:00 -0700 (PDT) In-Reply-To: References: Date: Tue, 5 Apr 2011 08:50:00 -0400 Message-ID: From: Kevin Wilcox To: xinyou yan Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Free BSD Questions list Subject: Re: dhcpd in vmware 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: Tue, 05 Apr 2011 12:50:01 -0000 On Tue, Apr 5, 2011 at 08:29, xinyou yan wrote: > the dhcpd can't start in vmware : > > Here is my /usr/local/etc/hpcdd.conf Is the file named hpcdd.conf or is that a typo? > subnet 192.168.0.0 netmask 255.255.255.0 { > range 192.168.4.129 192.168.4.254; > option routers 192.168.4.1; > } That *should* throw an error due to the netmask. If you're just using the 192.168.4.129 - 254 addresses I would change it to subnet 192.168.4.0 netmask 255.255.255.0 Otherwise the netmask of 255.255.255.0 will lead dhcpd to think it should be offering for 192.168.0.1 - 192.168.0.254. > when i use =C2=A0/usr/local/etc/isc-dhcpd start > > it shows : > =C2=A0 Please do not under any circumstances send requests for > =C2=A0 failed to start dhcpd Does it give any other errors? kmw