From owner-freebsd-questions Mon Jun 19 23:46:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fedde.littleton.co.us (fedde.littleton.co.us [216.17.174.44]) by hub.freebsd.org (Postfix) with ESMTP id 4C07337B85F for ; Mon, 19 Jun 2000 23:46:49 -0700 (PDT) (envelope-from cfedde@fedde.littleton.co.us) Received: from fedde.littleton.co.us (localhost [127.0.0.1]) by fedde.littleton.co.us (8.10.0/8.10.0) with ESMTP id e5K6kk196525; Tue, 20 Jun 2000 00:46:46 -0600 (MDT) Message-Id: <200006200646.e5K6kk196525@fedde.littleton.co.us> To: support@tecpro.com Cc: questions@FreeBSD.ORG Subject: Re: New dhcp-server installatioin on FreeBSD 4.0 - Help with initial configuration In-Reply-To: <394ED49D.10178.D29BBE@localhost> From: Chris Fedde Date: Tue, 20 Jun 2000 00:46:46 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 20 Jun 2000 02:19:09 -0400 "Charles Peters - Tech Support" wrote: +------------------ | I have just installed isc-dhcp-2.0 on my freebsd 4.0 router / | gateway. This router / gateway provides internet access to my lan | via a cable modem. The internal net is configured as 192.168.0.. | | I used the port to install the isc-dhcp-2.0 software, but I have not | been able to find adequate documentation to get the dhcp server | configured. | | Any assistance in getting this server software up and running would | be greatly appreciated. | | Thanks, | | Charles +------------------ My /etc/dhcpd.conf file contains the following # # $Id: dhcpd.conf,v 1.1 2000/06/15 14:57:32 root Exp $ # subnet 192.168.1.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.1.150 192.168.1.200; option routers 192.168.1.1; option domain-name-servers 192.168.1.1; option domain-name "inside.domain.com"; option static-routes 0.0.0.0 192.168.1.1; option subnet-mask 255.255.255.0; } I've added the following in network_pass3 in /etc/rc.netowork case ${dhcpd_enable} in [Yy][Ee][Ss]) echo -n ' dhcpd' /usr/sbin/dhcpd ${dhcpd_flags} ;; esac And put this in rc.conf dhcpd_enable="YES" dhcpd_flags="de0" I don't recall if i ran into problems installing from the ports. I did my install from the ftp.isc.org sources directly. I found dhcpd(8) and dhcpd.conf(5) most enlightening reading on the topic of configuring and installing this software. good luck chris -- Chris Fedde 303 773 9134 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message