> subnet *192.168.1.0* netmask 255.255.255.0 { > options routers *192.168.0.1*;
There is your problem.
Greg Swallow wrote:
Ok, configure dhcpd et al. Started from command line and got ip on workstation. Setup forwarding to firewall for DNS Made a hole through iptables. Reboot and dhcpd will not start,
says I do not have a subnet for eth1 in /etc/dhcpd.conf?
dhcpd.conf is:
ddns-update-style interim;
subnet 192.168.1.0 netmask 255.255.255.0 { options routers 192.168.0.1; option subnet-mask 255.255.255.0; option broadcast-address 192.168.1.255;
option domain-name-servers 192.168.1.1; range 192.168.1.100 192.168.1.199;
default-lease-time 21600; max-lease-time 43200; }
Have dhcpd eth1 line at the bottom of my /etc/rc.d/rc.local file. When ran from
command line it started and gave ip, et al.
iptables on/off can not start dhcpd now after reboot.
Thanks for your support.
GregS <><