dhcp 不能启动 !!!急!~~~~~~~~~~~~~~~~~~~~~~~
dhcpd.conf:
###########################################################################
# $Id: dhcpd.conf,v 1.2 2002/10/12 02:08:09 kirk Exp $
###########################################################################
# You can put comments anywhere you want to. They are effective forthe
# rest of the line.
# this is in the format of <name>; = <value>;. Whitespace atthebeginning
# and end of the lines is removed. Whitespace before and after thesign
# is removed. Everything is case *insensitive*.
# Yes = True = On = 1
# No = False = Off = 0Title = "dhcpd"
# Which logfile group...
LogFile = messages
# Only give lines pertaining to the dhcpd service...
*OnlyService = dhcpd
*RemoveHeaders
########################################################
# This was written and is maintained by:
# Kirk Bauer <kirk@kaybee.org>;
## Please send all comments, suggestions, bug reports,
# etc,tokirk@kaybee.org.
########################################################
ddns-update-style interim;
ignore client-updates;
subnet 192.168.0.0 netmask 255.255.255.0
{#range 192.168.0.100 192.168.0.253;
option nis-domain "linux.com";
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.10;
option domain-name-servers 192.168.0.10;
option domain-name "linux.com";
range dynamic-bootp 192.168.0.128 192.168.0.254;
default-lease-time 21600;
max-lease-time 43200;
# we want the nameserver to appear at a fixed address
host ns {
hardware ethernet 00:e0:4c:a4:9e:1d;
fixed-address 192.168.0.10;}
}
group{allow unknown-clients;}
启动 日志报错:
/etc/dhcpd.conf line 18(就是logfile那行) :semicolon expected .
LogFile
Configuration file errors encountered -exiting
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论