Postado originalmente por
heldernl
Olá estou tentar reservar os Ip's dos terminais burro no arquivo /etc/ltsp/dhcpd.conf . Mas nao estou conseguindo. Ajuda, por favor!!
Fiz algumas configurações no dhcpd.conf , quando coloquei as configurações para deixar os endereços estáticos, o serviço DHCP não inicia
Comando: service isc-dhcp-server restart
Erro:stop: Unknown instance:
start: Job failed to start
segue a copia do /etc/ltsp/dhcpd.conf
#
# Default LTSP dhcpd.conf config file.
#
authoritative;
subnet 10.0.0.0 netmask 255.255.255.0 {
range 10.0.0.101 10.0.0.105;
option domain-name "js.local";
option domain-name-servers 10.0.0.1;
option broadcast-address 10.0.0.255;
option routers 10.0.0.1;
# next-server 10.0.0.1;
# get-lease-hostnames true;
option subnet-mask 255.255.255.0;
option root-path "/opt/ltsp/i386";
if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
filename "/ltsp/i386/pxelinux.0";
} else {
filename "/ltsp/images/i386.img";
}
}
{
host-01 {
hardware ethernet 11:11:11:11:11:11;
fixed-address 10.0.0.101;
}
host-02 {
hardware ethernet 22:22:22:22:22:22;
fixed-address 10.0.0.102;
}
host-03 {
hardware ethernet 33:33:33:33:33:33;
fixed-address 10.0.0.103;
}
host-04 {
hardware ethernet 44:44:44:44:44:44;
fixed-address 10.0.0.104;
}
host-05 {
hardware ethernet 55:55:55:55:55:55;
fixed-address 10.0.0.105;
}
}