免费注册 查看新帖 |

Chinaunix

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

dhcp错误 哪位大大帮忙看下 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-29 09:47 |只看该作者 |倒序浏览
Non-authoritative version of DHCP server
The version 3 DHCP server is now non-authoritative by default.
This means that if a client requests an address that the server knows
nothing about and the address is incorrect for that network segment,
the server will _not_ send a DHCPNAK (which tells the client it should
stop using the address.) If you want to change this behavior, you must
explicitly state in dhcpd.conf what network segments your server is
authoritative for using the 'authoritative' statement.

我在虚拟机安装的debian4.0 安装DHCP出错这个错误提示, /etc/init.d/dhcp3-server start报错


debian:~#  /etc/init.d/dhcp3-server start
Starting DHCP server: dhcpd3 failed to start - check syslog for diagnostics.

我看下log


Apr 29 05:46:20 debian dhcpd: Internet Systems Consortium DHCP Server V3.0.4
Apr 29 05:46:20 debian dhcpd: Copyright 2004-2006 Internet Systems Consortium.
Apr 29 05:46:20 debian dhcpd: All rights reserved.
Apr 29 05:46:20 debian dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Apr 29 05:46:20 debian dhcpd: Internet Systems Consortium DHCP Server V3.0.4
Apr 29 05:46:20 debian dhcpd: Copyright 2004-2006 Internet Systems Consortium.
Apr 29 05:46:20 debian dhcpd: All rights reserved.
Apr 29 05:46:20 debian dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Apr 29 05:46:20 debian dhcpd: Wrote 0 leases to leases file.


也没什么提示


在线=答案  谢谢了

论坛徽章:
0
2 [报告]
发表于 2009-04-29 16:06 |只看该作者
check syslog for diagnostics.

论坛徽章:
0
3 [报告]
发表于 2009-04-29 22:01 |只看该作者
安装dhcp的同时还生成了一个模板文件 /usr/share/doc/dhcp-3.0.1/dhcp.conf.sample

必须使用cp  /usr/share/doc/dhcp-3.0.1/dhcp.conf.sample  /etc/dhcpd.conf 命令,将该文件复制到/etc/下作为dhcp服务器的主配置文件

论坛徽章:
0
4 [报告]
发表于 2009-04-30 07:35 |只看该作者

回复 #3 xiaolong0 的帖子

这个没必要吧?可以自己去写dhcpd.conf。

lz贴下配置文件吧。

论坛徽章:
0
5 [报告]
发表于 2009-05-01 16:51 |只看该作者
安装时候就报错误信息? 那怎么能起服务成功啊。
1.安装=ok
2.配置文件=ok
start
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP