OnWorks Linux and Windows Online WorkStations


Free Hosting Online for WorkStations

< Previous | Contents | Next >

3.2. Configuration

The error message the installation ends with might be a little confusing, but the following steps will help you configure the service:

Most commonly, what you want to do is assign an IP address randomly. This can be done with settings as follows:

# minimal sample /etc/dhcp/dhcpd.conf default-lease-time 600;

max-lease-time 7200;

subnet netmask {


option routers;

option domain-name-servers,; option domain-name "mydomain.example";


This will result in the DHCP server giving clients an IP address from the range It will lease an IP address for 600 seconds if the client doesn't ask for a specific time frame. Otherwise the

maximum (allowed) lease will be 7200 seconds. The server will also "advise" the client to use as the default-gateway and and as its DNS servers.

After changing the config file you have to restart the dhcpd:

sudo systemctl restart isc-dhcp-server.service

Top OS Cloud Computing at OnWorks: