|
dhcpd3: no subnet declarations for eth0
Running on Debian Lenny, installed dhcpd with apt-get install dhcp3-server.
Machine has two NICs: 192.168.1.1/24 and 10.100.1.17/24.
My /etc/dhcpd.conf:
DHCPDARGS=eth0
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.200;
option routers 192.168.1.1;
default-lease-time 86400;
max-lease-time 86400;
}
subnet 10.100.1.0 netmask 255.255.255.0 {
}
Trying to start dhcpd reports "no subnet declaration for eth0 (192.168.1.1)" and "no subnet declaration for eth1 (10.100.1.17)".
Is dhcpd using /etc/dhcpd.conf, or do I have the wrong config file? If it's right, why is this failing?
|