DHCP   threaded view
Last edited by: Fran
Topic: (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 dhcpsudo vi /etc/default/dhcpINTERFACES="eth0"sudo vi /etc/dhcpd.confoption 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 startContinue with the rest of the detailed Step-by-Step Installation Guide