DHCP   view as chat

(Part of the detailed Step-by-Step Installation Guide for setting up the Server)

Whilst we could use dnsmasq to provide DHCP & DNS caching, this doesn't allow us to add aliases, so we use the full daemon:

sudo apt-get install dhcp
sudo vi /etc/default/dhcp

INTERFACES="eth0"

sudo vi /etc/dhcpd.conf

option domain-name "asiasource2";
option domain-name-servers 192.168.1.1;
option subnet-mask 255.255.255.0;
default-lease-time 36000;
max-lease-time 36000;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.11 192.168.1.211;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
}

sudo /etc/init.d/dhcp start

Continue with the rest of the detailed Step-by-Step Installation Guide

Last edited by: Fran