|
不知道从什么时候开始,每次启动DHCPD都会在/tmp目录下出现这样的文件。
-rw-r--r-- 1 root root 163 May 17 16:01 /tmp/dhcpd3566.err
-rw-r--r-- 1 root root 163 May 16 14:04 /tmp/dhcpd6372.err
-rw-r--r-- 1 root root 163 May 16 14:04 /tmp/dhcpd6388.err
-rw-r--r-- 1 root root 163 May 16 15:48 /tmp/dhcpd7260.err
而且每个文件内容都是一样
如下:
Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
而DHCP可以正常启动
May 17 16:05:47 ez08 dhcpd: Copyright 2004 Internet Systems Consortium.
May 17 16:05:47 ez08 dhcpd: All rights reserved.
May 17 16:05:47 ez08 dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
May 17 16:05:47 ez08 dhcpd: Wrote 0 deleted host decls to leases file.
May 17 16:05:47 ez08 dhcpd: Wrote 0 new dynamic host decls to leases file.
May 17 16:05:47 ez08 dhcpd: Wrote 0 leases to leases file.
May 17 16:05:47 ez08 dhcpd: Listening on LPF/eth0/00:e0:4c:8a:37:54/192.168.8.0/24
May 17 16:05:47 ez08 dhcpd: Sending on LPF/eth0/00:e0:4c:8a:37:54/192.168.8.0/24
May 17 16:05:47 ez08 dhcpd: Sending on Socket/fallback/fallback-net
May 17 16:05:47 ez08 dhcpd: dhcpd startup succeeded
我的dhcpd的配置文件如下
ddns-update-style interim;
ignore client-updates;
####################boot
allow booting;
allow bootp;
class "pxeclients" {
match if substring(option vendor-class-identifier, 0, 9) = "XEClient";
next-server 192.168.8.19;
filename "linux-install/pxelinux.0";
}
###################
subnet 192.168.8.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.8.11;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.8.11,192.168.8.10;
option time-offset -18000;
# Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
range dynamic-bootp 192.168.8.190 192.168.8.200;
host u2 {
hardware ethernet 00:118:58:6D:F8;
fixed-address 192.168.8.199;
filename "linux-install/pxelinux.0";
}
}
目前情况:
虽然DHCP 可以正常启动,并且对硬盘的PC可以正确分配地址,但对于无盘的,却无法得到DHCP相应提示错误如下
PXE-E61: Media test failure, check cable
PXE-M0F: Exiting PXE ROM
可以肯定的是网卡是可以上网的,因为我连过硬盘,可以上。
不知道谁可以解救我?! |
|