Quote:
Originally Posted by ncsuapex
I believe your line:
subnet 10.2.3.1 netmask 255.0.0.0 {
should be:
subnet 10.2.3.0 netmask 255.0.0.0 {
Assuming your netmask is correct for your network
And I believe you need to uncomment this line:
#option routers 10.2.1.1;
Making sure 10.2.1.1 is your router... Which should be something like 10.2.3.1 maybe.
And you probably need to uncomment this line:
#option subnet-mask 255.0.0.0;
Also you need to check out /var/log/messages. But since you didn't provide anything about your network its going to be hard to help you.
|
Thank you so much for your quick response. I commented that line with the option router out because I do not have a router. I only have a dummy switch. Will that make any type of difference? I tried the recommended changes and my dhcpd service still fails.
A copy of my /var/log/messages
[code]
Jan 21 06:59:34 CenOServer dhcpd: /etc/dhcpd.conf line 4: subnet 10.7.8.0 netmask 255.0.0.0: bad subnet number/mask combination.
Jan 21 06:59:34 CenOServer dhcpd: subnet 10.2.1.0 netmask 255.0.0.0
Jan 21 06:59:34 CenOServer dhcpd: ^
Jan 21 06:59:34 CenOServer dhcpd: /etc/dhcpd.conf line 30: expecting a declaration
Jan 21 06:59:34 CenOServer dhcpd: }
Jan 21 06:59:34 CenOServer dhcpd: ^
Jan 21 06:59:34 CenOServer dhcpd: Configuration file errors encountered -- exiting
Jan 21 06:59:34 CenOServer dhcpd:
Jan 21 06:59:34 CenOServer dhcpd: If you did not get this software from ftp.isc.org, please
Jan 21 06:59:34 CenOServer dhcpd: get the latest from ftp.isc.org and install that before
Jan 21 06:59:34 CenOServer dhcpd: requesting help.
[code]