Subject: Re: dhcp server setup
To: Chan Yiu Wah <>
From: Rene Hexel <>
List: current-users
Date: 12/01/1999 09:00:06
Chan Yiu Wah wrote:

> I would like to konw if anyone had successfully setup the dhcp server that
> can allow Win98 to use.  I had checked the FAQ and didn't find document on
> the setup of dhcp server.  Can you help ?  Thanks.

  It's quite easy to set up a dhcp server.  Just create an
/etc/dhcpd.conf like the following one.  Then change 'dhcpd=NO' to
'dhcpd=YES' in your /etc/rc.conf and reboot, that's it.  Here is an
example dhcpd.conf for 192.168.x.x adresses:

# option definitions common to all supported networks...
option domain-name "";
option domain-name-servers,;
option subnet-mask;

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

# give all hosts dynamic addresses
subnet netmask {
  range dynamic-bootp;
  option broadcast-address;
  option routers;

# set the printer to a fixed address
host printer01 {
  hardware ethernet 08:00:09:64:2f:e1;
  option routers;

  Hope this helps.