论坛风格切换切换到宽版
  • 711阅读
  • 2回复

[问题求助]dhcp无法启动 [复制链接]

上一主题 下一主题
离线free51.
 
发帖
2027
C币
3574
威望
381
贡献值
1
银元
-4
铜钱
4639
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
[root@localhost ~]# vi /etc/dh.cpd.co.nf                .

allow booting;
allow bootp;
class "pxeclients". {.
match if substri.ng(option vendor-class-identifier, 0, 9) = "PXEClient.";.
next-server ;
filen.ame "pxelinux.0";[成人用品]
}



[root@local.host tftpboot].# service dhcpd start.
Starting dhcpd:                                       .     [FAI.LED]虚拟主机


[root@localhost ~]# tail /var./log/message.s -f
Nov 1.8 23:36:04 localhost dhcpd: Internet Systems C.onsortium DHCP Serve.r V3.0.5-RedHat.
Nov 18 23:36:04 localhost dhc.pd: Copyright 2004-2006 Internet S..ystems Consortium..
Nov 18 23:36:0.4 localhost dhcpd: All rights re.served.           女人
Nov 18 23:36:04 localhost dhcpd: For info, please visit http://www.isc.org/sw/dhcp/电脑
Nov 18 23:36:04 localhost dhcpd: /.etc/dhcpd.conf line. 6: semicolo.n expected.电脑
Nov 18 23:36:0.4 localhost d.hcpd: filename (广告)
Nov 18 .23:36:04 localho.st dhcpd: ^投资
Nov 18 23:36:04 localhost dhcp.d: /etc/dhcpd.conf line 6: expecting a pa.rameter. or declaration投资
Nov 18 23:36.:04 localh.ost dhcpd: filename "pxelinux.0";             汽车
Nov 18 23:36:04 localhost d.hcpd.:                      ^.
Nov 18 23:36:04 localhost dhc.pd: /etc/dhcpd.conf line 7: unexpected e..nd of file           建材
Nov 18 23:36:04 loca.lhost .dhcpd: }.
N.ov 18 23:36:04 localhost dhcpd: .^    美容
Nov. 18 23:36:04 localhost .dhcpd: Configuration file error.s encountered -- exiting(        游戏          )
Nov 18 23:36.:04 localhost dhcp.d: [成人用品]
Nov 18 23:36:04 localhost dhcpd: If you. did not get this softwa.re from ftp.isc..org, please          婚庆
Nov 18 23:36:04. localhost dhcpd: .get the latest. from ftp.isc.org and install that before           建材
Nov 18 23:36:04 localhost dhcpd: .requesting help..健康
Nov 18 23:36:04 localhost d.hc.pd:             杀毒
Nov 18 23:36:04 localhost dhcpd:. If you did .get th.is software from ftp.isc.org and have not--- 印刷
Nov 18. 23:36:04 lo.c.alhost dhcpd: yet read the README, please read it before requesting help.    美容
Nov 18 23:36:04 localh..ost dhcpd: If you intend to req.uest help from the server@isc.org[/email](广告)
No.v 18 23:36:04 localhost .dhcpd: mailing list, please rea.d the section on the README about--- 印刷
Nov 18 2.3:36:04 localhost dhcpd: submitting bug. reports and requests for hel.p..
Nov 18 .23:36:0.4 localhost dhcpd:            女人
Nov 18 23:36:04 localhost dhcpd: Please do n.ot under any .circumstances sen.d requests for.
Nov 18 23:36:04 localhost .dhcpd: help directly to t.he aut.hors of this software - please    美容
Nov 18 23:36:04 localhost dhc.pd: send them to the a.ppropriate mailing list as described i.n教育
Nov 18 23:36:0.4 localhost dhcpd: th.e README file.投资
Nov 18 23:36:04 local.host .dhcpd: 域名
Nov 18 23:36:04 localh.ost dhcpd: .exiting.              乙肝


评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线ft16.
发帖
2054
C币
-198567
威望
421
贡献值
2
银元
0
铜钱
4653
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-14


QUOTE:原帖由 chao008 於 2008-11-18 23:37 發表
[root@localhost ~]# vi /etc/dhcpd.conf                

allow booting;
allow bootp;
class "pxeclients" {
match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
next-server  ...


next-server 後面的 tftp server ip 呢 ?

next-server ip;
复制代码

若你的 tftp server 與 dhcp 這同機器,就該行省略即可

离线jguzhou.
发帖
2015
C币
-235266
威望
407
贡献值
1
银元
-4
铜钱
4616
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-14
配置文件第六行有错误
/etc/dhcpd.conf line 6: semicolon expected
参考修改如下
#       next-server 172.16.100.245;
#       filename "/tftpboot/pxelinux.0"; #注:启动映象文件
快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个