Running DHCP server on Slackware 14 is quite trivial. Just run
pkgtool from the command line and enable the
dnsmasq service. Dnsmasq is in the services to start on start-up category. What is not very clear is the configuration file for this service. You will find
/etc/dhcpd.conf file in Slackware but
this is not the configuration file used by dnsmasq. Dnsmasq uses
/etc/dnsmasq.conf as configuration file. You only need to uncomment
one line in this file to enable the DHCP server, i.e. the line that contains
dhcp-range option, for example:
dhcp-range=192.168.137.2,192.168.137.10,48h
The configuration above assumes the DHCP client are given address between the two IP addresses shown and a lease of 48 hours. If you have Windows computers running as client, you might want to uncomment this line too:
dhcp-option=vendor:MSFT,2,1i
This tells Windows to release the DHCP lease when it shuts down. Well, now you can restart dnsmasq and see the result.