免费注册 查看新帖 |

Chinaunix

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

求助各位大哥,客户机有时无法从dhcp服务器获得IP问题. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-07-12 18:28 |只看该作者 |倒序浏览
系统:red hat 9.0
安装dhcp  rpm包:dhcp-3.0pl1-23
有时客户机无法获得IP,有时又可以,得不到IP时日志如下:
Jul 12 15:57:32 epnp dhcpd: DHCPDISCOVER from 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:32 epnp dhcpd: DHCPOFFER on 10.10.11.210 to 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:32 epnp dhcpd: DHCPREQUEST for 10.10.11.210 (10.10.10.33) from 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:32 epnp dhcpd: DHCPACK on 10.10.11.210 to 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:33 epnp dhcpd: DHCPDISCOVER from 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:33 epnp dhcpd: DHCPOFFER on 10.10.11.210 to 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:33 epnp dhcpd: DHCPREQUEST for 10.10.11.210 (10.10.10.33) from 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:33 epnp dhcpd: DHCPACK on 10.10.11.210 to 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:34 epnp dhcpd: DHCPDISCOVER from 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:34 epnp dhcpd: DHCPOFFER on 10.10.11.210 to 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:34 epnp dhcpd: DHCPREQUEST for 10.10.11.210 (10.10.10.33) from 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:34 epnp dhcpd: DHCPACK on 10.10.11.210 to 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:35 epnp dhcpd: DHCPDISCOVER from 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:35 epnp dhcpd: DHCPOFFER on 10.10.11.210 to 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:35 epnp dhcpd: DHCPREQUEST for 10.10.11.210 (10.10.10.33) from 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:35 epnp dhcpd: DHCPACK on 10.10.11.210 to 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:36 epnp dhcpd: DHCPDISCOVER from 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:36 epnp dhcpd: DHCPOFFER on 10.10.11.210 to 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:36 epnp dhcpd: DHCPREQUEST for 10.10.11.210 (10.10.10.33) from 00:06:1b:cd:16:ec (Christophe) via eth1
Jul 12 15:57:36 epnp dhcpd: DHCPACK on 10.10.11.210 to 00:06:1b:cd:16:ec (Christophe) via eth1
........

一直不断重复dhcp的四个过程,按理DHCPACK后dhcp会话已经结束,客户机应该获得IP地址,但为什么服务器又发现了客户机的DHCPDISCOVER,服务器和客户机之间又重新开始dhcp会话了呢,望高手指点.

配置文件如下:
#ddns-update-style interim;
#ddns-update-style ad-hoc;
ddns-update-style none;
#ignore client-updates;
default-lease-time 1200;
max-lease-time 3600;
option subnet-mask 255.255.254.0;
#option domain-name-servers 219.237.16.66;
option domain-name-servers 10.10.10.33;
option routers 10.10.10.254;

subnet 10.10.10.0 netmask 255.255.254.0 {
        range  10.10.10.34 10.10.10.250;
        range  10.10.11.1 10.10.11.250;
}
#subnet 219.239.14.128 netmask 255.255.255.224 {}
#subnet 172.16.0.0 netmask 255.255.255.224 {}

论坛徽章:
0
2 [报告]
发表于 2004-07-13 17:29 |只看该作者

求助各位大哥,客户机有时无法从dhcp服务器获得IP问题.

没人帮我吗,我又查了些资料,客户机可以拒绝服务器分配的IP地址,但如果客户机拒绝这个地址会发送DHCPDECLINE包(日志中没有),然后才重发DHCPDISCOVER包.谁能帮帮我啊,     
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP