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? |
In my version of dhcpd, the config file is "/etc/dhcp/dhcpd.conf". The man page for dhcpd should tell you for sure.
|
Thank you
My real dhcpd.conf was in /etc/dhcp3/. Anyone else with this problem can use "find / -name dhcpd.conf" to find it. Thank you.
|
All times are GMT -5. The time now is 09:36 AM. |