- 论坛徽章:
- 0
|
系统: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 {}
 |
|