From owner-freebsd-questions Tue Jun 20 0: 2:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from chickenbean.com (ci1000971-d.sptnbrg1.sc.home.com [24.4.115.200]) by hub.freebsd.org (Postfix) with ESMTP id A7DB437BBAD for ; Tue, 20 Jun 2000 00:02:45 -0700 (PDT) (envelope-from support@tecpro.com) Received: from dfdfs (ci1000971-e.sptnbrg1.sc.home.com [24.4.115.202]) by chickenbean.com (8.9.3/8.9.3) with ESMTP id CAA44151; Tue, 20 Jun 2000 02:05:18 -0500 (EST) (envelope-from support@tecpro.com) From: "Charles Peters - Tech Support" To: Chris Fedde , questions@freebsd.org, iSC Mailing List Manager Date: Tue, 20 Jun 2000 03:01:16 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: New dhcp-server installatioin on FreeBSD 4.0 - Help with initial configuration Reply-To: support@tecpro.com Message-ID: <394EDE7C.2396.204A88@localhost> In-reply-to: <200006200646.e5K6kk196525@fedde.littleton.co.us> References: <394ED49D.10178.D29BBE@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks Chris, You must be working the night shift! I will set up my /etc/dhcpd.conf, /etc/rc.network and rc.conf files using yours as examples. Please see the notes below. Thanks again for your assistance! Charles On 20 Jun 2000, at 0:46, Chris Fedde wrote: > 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 ******* I would imagine that the above snippit of code should be placed immediately after the: case ${sshd_enable} in ... blah blah blah esac and immediately before the echo '.' network_pass3_done=YES lines of code in the rc.network file. ******* This is the first time that I can recall editing this file... > > And put this in rc.conf > > dhcpd_enable="YES" > dhcpd_flags="de0" > ***** Is "de0" referring to your internal or external network adapter (nic)? ***** > 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 > Charles Peters mailto:support@tecpro.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message