Howtos - Installing ISC DHCP
Overview
In ClarkConnect 3.1, the ISC DHCP server was replaced with the Dnsmasq DHCP server. This howto describes how to install and use the ISC DHCP server.
Install ISC DHCP
First, you need to install a modified Dnsmasq RPM. You can download this RPM here and install using the following command:
rpm -Uvh http://download1.clarkconnect.com/3.1/other/dnsmasq-2.22-10.cc.i386.rpm
The filename in the above command might have a different version. Check the download site for the latest release.
Disable Dnsmasq DHCP
Make sure the DHCP server configuration in the Dnsmasq software is disabled. Remove the following line (if it exists) from /etc/dnsmasq.conf:
conf-file=/etc/dnsmasq/dhcp.conf
Restart the Dnsmasq if you made any changes:
/sbin/service dnsmasq restart
Configure the ISC DHCP Server
To configure the ISC DHCP server, you need to create the configuration file (/etc/dhcpd.conf) for your network. If you have upgraded from an 3.0 (or older) ClarkConnect version, your old configuration file will be called /etc/dhcpd.old. If you need to create a new configuration file, use the sample below as a starting point.
ddns-update-style none;
default-lease-time 2592000;
max-lease-time 5184000;
option domain-name "lan";
option domain-name-servers 192.168.44.1;
subnet 192.168.44.0 netmask 255.255.255.0 {
range 192.168.44.100 192.168.44.254;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.44.255;
option routers 192.168.44.1;
}
|