我试图在Debian 6.0.3 Squeeze机器上设置pxe引导服务器,该机器提供PLoP Linux的图像。我正在关注本教程。
当我尝试从软件包dhcp3-server启动dhcpd时,得到以下信息:
No subnet declaration for eth0 (10.0.0.0).
**Ignoring requests on eth0. If this is not what
you want, please write a subnet delclaration
in your dhcpd.conf file for the network segment
to which interface eth0 is attached. **
Not configured to listen on any interfaces!
我/etc/dhcpd.conf
的与本教程相同,只是作了一些更改:
host testpc {
hardware ethernet 00:0C:6E:A6:1A:E6;
fixed-address 10.0.0.250;
}
相反
host tablet {
hardware ethernet 00:02:3F:FB:E2:6F;
fixed-address 10.0.0.249;
}
我的/etc/network/interfaces
是:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.0.0.0
netmask 255.255.255.0
这是我的/etc/default/isc-dhcp-server
:
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/isc-dhcp-server by the maintainer scripts
#
# This is a POSIX shell fragment
#
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth0"
我也将其复制到/etc/default/dhcp3-server
其中,不确定会检查哪个。
我也尝试将ip设置/etc/network/interfaces
为10.0.0.1和10.0.0.2,但结果相同。