Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Apr 2001 16:20:52 -0400
From:      Mikel <mikel@ocsinternet.com>
To:        "Lee, Jaeho" <Jaeho.Lee@brooks.com>
Cc:        "Freebsd-Questions (E-mail)" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: How can I make FreeBSD as DHCP server?
Message-ID:  <3ACB8224.A25D4AD@ocsinternet.com>
References:  <857F15D7E3D8D3118D290008C7CF058602C975F1@mail-naeast1.brooks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ACB8224.A25D4AD>