On Sat, Jun 10, 2000 at 07:59:14PM -0500, Gary Tsai wrote:
> I was reading the howtos and i couldn't find one on DHCP server.  I found
> DNS, but I'd like to be able to use ipchains/ip masq to set aside a small
> subset of IPs (like 192.168.x.x) and let users connect ethernet cables to a
> hub and dynamically get IPs for their hostnames.  presently i only do this
> w/static IPs...
> 
> any ideas?  has anybody done this before?

this is very possible, I'm doing it at home right now.

get dhcpd, (not dhcpcd), either as the preferred package for your
distribution or as source (it's trivial to build).

There are, if I recall, example configuration files that are trivial to
modify to suit your network with the source package, you will be at the
mercy of the package maintainer for documentation if you go that route.

basically something like this:

option domain-name "mynet.com";
option domain-name-servers 192.168.11.1;
option routers 192.168.11.1;

max-lease-time 86400;
default-lease-time 86400;

subnet 192.168.11.0 netmask 255.255.255.0 {
        range 192.168.11.100 192.16811.250;
}


--
_____________________   _                    _   _________________________
         Michael Rice  |_|    Collective    |_|  http://www.colltech.com
   [EMAIL PROTECTED]    |_  Technologies  _|    8009464646/1415141 pager 
           Consultant      []            []      "The Power Of Many Minds"   
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to