From owner-freebsd-questions@FreeBSD.ORG Sat Nov 15 16:38:32 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67ADC16A4CF for ; Sat, 15 Nov 2003 16:38:32 -0800 (PST) Received: from zim.0x7e.net (zim.0x7e.net [203.38.184.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 435F743FB1 for ; Sat, 15 Nov 2003 16:38:31 -0800 (PST) (envelope-from listone@deathbeforedecaf.net) Received: from goo.0x7e.net ([203.38.184.164] helo=goo) by zim.0x7e.net with smtp (Exim 3.36 #1) id 1ALAvq-000DiN-00; Sun, 16 Nov 2003 11:08:26 +1030 Message-ID: <029d01c3abd9$f2bcfab0$a4b826cb@goo> From: "Rob" To: "Gerard Samuel" , References: <200311151417.14480.fbsd-questions@trini0.org> Date: Sun, 16 Nov 2003 11:08:25 +1030 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Subject: Re: DHCP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 00:38:32 -0000 A couple of things: The range statement is for unknown clients - they will be given a lease in this range by the server. It doesn't control the host definition, which will use the address in the fixed-address statement. The host definition would normally go inside the subnet definition - at the moment, it's not going to get the netmask or router options. Any errors in the dhcpd.conf will be mentioned in /var/log/messages when the service starts up. Hope that helps.... ----- Original Message ----- From: "Gerard Samuel" To: Sent: Sunday, November 16, 2003 5:47 AM Subject: DHCP > A bit off topic, but any help would be appreciated. > Im trying to setup DHCP for the first time. > I set winXP to auto configure itself in the network section, but it > still remains on the IP address that it was previously set at, and not > obeying, the range of IP Addresses listed in dhcp.conf. > The connection works, I can use the network, but looking to see if there are > any errors in dhcp.conf file. > > Also, is there a way to not specify the MAC address, and have DHCP still work. > For example, say a family member comes over with their laptop, can they just > plug in and go?? > > Thanks for any pointers... > > dhcp.conf > ----- > # dhcpd.conf > # > # Sample configuration file for ISC dhcpd > # > > # option definitions common to all supported networks... > option domain-name "trini0.org"; > option domain-name-servers 192.168.0.2; > > default-lease-time 600; > max-lease-time 7200; > > # ad-hoc DNS update scheme - set to "none" to disable dynamic DNS updates. > ddns-update-style none; > > subnet 192.168.0.0 netmask 255.255.255.0 { > range 192.168.0.100 192.168.0.254; > option routers 192.168.0.1; > } > > #laptop > host laptop { > hardware ethernet 00:50:BA:7A:F0:A3; > fixed-address laptop.trini0.org; > } > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >