XUbuntu 8.04 i386。装了dhcp3-server。
使用 sudo /etc/init.d/dhcp3-server start 出错:Apr 30 14:24:03 s dhcpd: Wrote 0 leases to leases file.Apr 30 14:24:03 s dhcpd: Apr 30 14:24:03 s dhcpd: No subnet declaration for eth0 (192.168.0.1).Apr 30 14:24:03 s dhcpd: ** Ignoring requests on eth0. If this is not whatApr 30 14:24:03 s dhcpd: you want, please write a subnet declarationApr 30 14:24:03 s dhcpd: in your dhcpd.conf file for the network segmentApr 30 14:24:03 s dhcpd: to which interface eth0 is attached. **Apr 30 14:24:03 s dhcpd: Apr 30 14:24:03 s dhcpd: Apr 30 14:24:03 s dhcpd: Not configured to listen on any interfaces!系统的 eth0 连接内网inet 地址:192.168.0.1 广播:192.168.0.255 掩码:255.255.255.0系统的 eth1 连接外网/etc/dhcpd.conf 内容为option subnet-mask 255.255.255.000;default-lease-time 600;max-lease-time 7200;log-facility local7;subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.101 192.168.0.200;option routers 192.168.0.1;option broadcast-address 192.168.0.255;option ip-forwarding off;}