De Wiki Tarrafa.org - Documentação Colaborativa e Livre
apt-get install dhcp3-server
nano /etc/default/dhcp3-server
INTERFACES="eth1"
nano /etc/dhcp3/dhcpd.conf
ddns-update-style none;
- option definitions common to all supported networks...
option domain-name "JaJa"; option domain-name-servers 200.169.118.22, 200.169.119.22;
default-lease-time 600; max-lease-time 7200;
- If this DHCP server is the official DHCP server for the local
- network, the authoritative directive should be uncommented.
authoritative;
- have to hack syslog.conf to complete the redirection).
log-facility local7;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.40 192.168.0.50; option routers 192.168.0.1;
}
invoke-rc.d dhcp3-server start