Date: Tue, 20 Jun 2000 03:01:16 -0400 From: "Charles Peters - Tech Support" <support@tecpro.com> To: Chris Fedde <chris@fedde.littleton.co.us>, questions@freebsd.org, iSC Mailing List Manager <listar@isc.org> Subject: Re: New dhcp-server installatioin on FreeBSD 4.0 - Help with initial configuration Message-ID: <394EDE7C.2396.204A88@localhost> In-Reply-To: <200006200646.e5K6kk196525@fedde.littleton.co.us> References: <394ED49D.10178.D29BBE@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?394EDE7C.2396.204A88>
