dhcp 不能启动 !!!急!~~~~~~~~~~~~~~~~~~~~~~~

发布于 2022-10-03 07:31:52 字数 2389 浏览 19 评论 0

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文