
wgalvaoc
(usa Outra)
Enviado em 25/02/2014 - 16:14h
Não consegui fazer, creio que estou pecando em algum caractere, segue o meu conf
#######
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
###
authoritative;
# ##
subnet 10.9.176.0 netmask 255.255.255.0 {
option tftp-server-name "10.9.193.11";
option option-150 code 150 = "10.9.193.11";
default-lease-time 7200;
option domain-name-servers 10.9.192.2 , 10.9.192.4;
range 10.9.176.50 10.9.176.254;
option routers 10.9.176.1;
option broadcast-address 10.9.176.255;
deny unknown-clients;
host cam-wgalvao-wifi {
hardware ethernet 84:4b:f5:34:db:2e;
}
olha onde acontece o erro...
root@cam-proxy:~# /etc/init.d/isc-dhcp-server restart
dhcpd self-test failed. Please fix /etc/dhcp/dhcpd.conf.
The error was:
Internet Systems Consortium DHCP Server 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit
https://www.isc.org/software/dhcp/
/etc/dhcp/dhcpd.conf line 11: option definitions may not be scoped.
option option-150 code
^
WARNING: Host declarations are global. They are not limited to the scope you declared them in.
Configuration file errors encountered -- exiting