leco2612
(usa Debian)
Enviado em 27/10/2010 - 11:38h
olha o que deu agora
root@ewave:/etc/dhcp3# vim dhcpd.conf
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
authoritative;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.20 192.168.0.50;
option routers 192.168.0.10;
option domain-name-servers 200.255.255.65;
option broadcast-address 192.168.0.255;
host Roteador wireless {
hardware ethernet 00:16:b6:2d:2f:70;
fixed-address 192.168.0.50;
}
~
~
~
~
~
~
~
~
"dhcpd.conf" 15L, 367C gravado(s)
root@ewave:/etc/dhcp3# /etc/init.d/dhcp3-server restart
dhcpd self-test failed. Please fix the config file.
The error was:
Internet Systems Consortium DHCP Server V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit
https://www.isc.org/software/dhcp/
WARNING: Host declarations are global. They are not limited to the scope you declared them in.
/etc/dhcp3/dhcpd.conf line 11: expecting left brace.
host Roteador wireless
^
/etc/dhcp3/dhcpd.conf line 14: unexpected end of file
^
Configuration file errors encountered -- exiting