Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2000 00:46:46 -0600
From:      Chris Fedde <chris@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 
Message-ID:  <200006200646.e5K6kk196525@fedde.littleton.co.us>
In-Reply-To: <394ED49D.10178.D29BBE@localhost> 

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




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