
hedtec
(usa CentOS)
Enviado em 03/04/2017 - 14:16h
Pessoal, boa tarde. Estou com o mesmo erro, podem me ajudar?
# dhcpd -d
Internet Systems Consortium DHCP Server 4.2.5
Copyright 2004-2013 Internet Systems Consortium.
All rights reserved.
For info, please visit
https://www.isc.org/software/dhcp/
/etc/dhcp/dhcpd.conf line 26: semicolon expected.
subnet
^
Configuration file errors encountered -- exiting
This version of ISC DHCP is based on the release available
on ftp.isc.org. Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.
Please report for this software via the CentOS Bugs Database:
http://bugs.centos.org/
exiting.
Configuração do DHCPD.CONF:
3 ### ARQUIVO DE CONFIGURAÇÃO DHCP
4
5 # INTEGRAR OU NÃO COM DNS -- DDNS
6 ddns-update-style none;
7
8 # BLOQUEAR CLIENTES QUE NÃO ESTEJAM CADASTRADOS COM MAC ADDRESS
9 #deny unknown-clients;
10
11 # DEFININDO A FACILITY DO SYSLOG QUE IRA ARMAZENAR OS LAGOS DO DHCP (SERVIDOR DE LOG)
12 log-facility local7;
13
14 # DEFINIR COMO SERVIDOR AUTORITATIVO
15 authoritative; #RESPONSAVEL PELO POOL DE ENDEREÇO
16
17 # TEMPO PADRÃO
18 default-lease-time 600;
19 max-lease-time 7200;
20
21 # CONFIGURAÇÕES DA REDE
22
23 option domain-name "hedtec.security"
24 #option domain-name-servers 192.168.150.10,8.8.8.8;
25
26 subnet 192.168.150.0 netmask 255.255.255.0 {
27 range 192.168.150.100 192.168.150.254;
28 server-identifier hedtec.security;
29 option routers 192.168.150.1;
30 option broadcast-address 192.168.150.255;
31 }
Obrigado!!