From owner-freebsd-questions Wed Apr 4 13:13:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ra.upan.org (ra.upan.org [204.107.76.19]) by hub.freebsd.org (Postfix) with ESMTP id C511537B727 for ; Wed, 4 Apr 2001 13:13:21 -0700 (PDT) (envelope-from mikel@ocsinternet.com) Received: from ocsinternet.com (thoth.upan.org [204.107.76.16]) by ra.upan.org (8.11.1/8.11.1) with ESMTP id f34KD1Z21556; Wed, 4 Apr 2001 16:13:01 -0400 (EDT) (envelope-from mikel@ocsinternet.com) Message-ID: <3ACB8224.A25D4AD@ocsinternet.com> Date: Wed, 04 Apr 2001 16:20:52 -0400 From: Mikel X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en,it MIME-Version: 1.0 To: "Lee, Jaeho" Cc: "Freebsd-Questions (E-mail)" Subject: Re: How can I make FreeBSD as DHCP server? References: <857F15D7E3D8D3118D290008C7CF058602C975F1@mail-naeast1.brooks.com> Content-Type: multipart/mixed; boundary="------------F22E6C20C699C8F4631B8B60" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------F22E6C20C699C8F4631B8B60 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Simply install the dhcp port, I personally recommend isc-dhcp-2.0.5, and then place the attached shell script in /usr/local/etc/rc.d and the rc.dhcpd in /etc. Cheers, Mikel "Lee, Jaeho" wrote: > Hello,I think that FreeBSD definitely can be DHCP server. Even > Windows can do that.I can not find how. I tried to find it in Complete > FreeBSD. But it does not say anything about that.Could somebody let me > know how?Thanks,/Jaeho --------------F22E6C20C699C8F4631B8B60 Content-Type: application/x-sh; name="dhcpd.sh" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dhcpd.sh" #!/bin/sh # # # ANUBIS dhcpd startup script rev 1.x # # by: Mikel King # Email: mikel@ocsinternet.com # # DHCPD=`which dhcpd` CFG="/etc/rc.dhcpd" iif="rl0" ${DHCPD} -cf ${CFG} ${iif} --------------F22E6C20C699C8F4631B8B60 Content-Type: text/plain; charset=us-ascii; name="rc.dhcpd" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rc.dhcpd" subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.5 192.168.1.240; option subnet-mask 255.255.255.0; option routers 192.168.1.1; option domain-name-servers YOUR_NAME_SERVER, OTHER_NAME_SERVER; } --------------F22E6C20C699C8F4631B8B60-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message