Dhcpd

De gacq wiki

DHCP Server

Install the package:

apt-get install dhcp3-server

Replace /etc/dhcp3/dhcpd.conf with:

default-lease-time 86400;
max-lease-time 172800;
option domain-name-servers 216.244.192.2;

subnet 192.168.0.0 netmask 255.255.255.0 {
        range 192.168.0.100 192.168.0.199;
        option subnet-mask 255.255.255.0;
        option broadcast-address 192.168.0.255;
        option routers 192.168.0.20;
}

Start the daemon:

/etc/init.d/dhcp3-server start
Herramientas personales