免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 847 | 回复: 0
打印 上一主题 下一主题

dhcp 不能启动 !!!急!~~~~~~~~~~~~~~~~~~~~~~~ [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-06-06 13:34 |只看该作者 |倒序浏览
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

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP