Click to See Complete Forum and Search --> : DHCP Server Config


0be1
01-22-2001, 09:23 AM
Here's my problem: I have a old 486 box (yeah go ahead and laugh, I did) that I am configuring to be a DHCP, file / print server for 5 users. It is running RH 6.2 I have all of my i's dotted and t's crossed, but when I try to start the server I get the following message towards the end of my dhcpd.conf file.

etc/dhcpd.conf line 13 : semi colon expected

Here are the last line of my config file

subnet xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx {
Range xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx;
}

These lines are set according to the DHCP mini- HOWTO. As always any hep is greatly appreciated.

TIA,

0be1

------------------
Linux, is there really any other OS worth using?

jumpedintothefire
01-22-2001, 10:43 AM
There is a syntax error on line 13, what does the line say and is there a ; at the end of it? What does the whole file look like?

0be1
01-22-2001, 11:02 AM
You are seeing the last lines in my orginal post. Those are lines 13-15. The actual error on the screen is showing that it wants the ; in front of the whole line which would definately(sp) be incorrect as that would rem it out.

Thanks.

bleg26
01-22-2001, 11:20 AM
It is possible there is a syntax error somewhere else in the file. A {, }, or ; out of place or not there. A full posting will help.

0be1
01-22-2001, 03:57 PM
I got the first part figured out it was a missing ; three lines up. (why the error points to a complete different line is beyond me.) Now it says no subnet declaration for eth0 (xxx.xxx.xxx.xxx). Please write a declaration for the network segment to which interface eth0 is attached.

TIA

------------------
Linux, is there really any other OS worth using?