DHCP server on F12 wont to start, recieving "semicolon expected." errors everytime
have to start in on eth0 alias
my /etc/dhcp/dhcpd.conf
============================
DHCPARGS="eth0:0"
ddns-update-style interim;
ignore client-updates;
authoritative;
subnet 192.168.235.0 netmask 255.255.255.0 {
range 192.168.235.100 192.168.235.200;
option domain-name "123.net";
option domain-name-servers 192.168.235.1;
option broadcast-address 192.168.235.255;
option subnet-mask 255.255.255.0;
option routers 192.168.235.1;
option ip-forwarding off;
default-lease-time 32400;
max-lease-time 194400;
}
============================
and message log
Feb 5 01:24:14 asd dhcpd: Internet Systems Consortium DHCP Server 4.1.0p1
Feb 5 01:24:14 asd dhcpd: Copyright 2004-2009 Internet Systems Consortium.
Feb 5 01:24:14 asd dhcpd: All rights reserved.
Feb 5 01:24:14 asd dhcpd: For info, please visit
http://www.isc.org/sw/dhcp/
Feb 5 01:24:14 asd dhcpd: /etc/dhcp/dhcpd.conf line 2: semicolon expected.
Feb 5 01:24:14 asd dhcpd: ddns-update-style
Feb 5 01:24:14 asd dhcpd: ^
Feb 5 01:24:14 asd dhcpd: /etc/dhcp/dhcpd.conf line 8: range declaration not allowed here.
Feb 5 01:24:14 asd dhcpd: range
Feb 5 01:24:14 asd dhcpd: ^
Feb 5 01:24:14 asd dhcpd: /etc/dhcp/dhcpd.conf line 16: expecting a declaration
Feb 5 01:24:14 asd dhcpd: max-lease-time 194400;
Feb 5 01:24:14 asd dhcpd: ^
Feb 5 01:24:14 asd dhcpd: Configuration file errors encountered -- exiting
Feb 5 01:24:14 asd dhcpd:
Feb 5 01:24:14 asd dhcpd: This version of ISC DHCP is based on the release available
Feb 5 01:24:14 asd dhcpd: on ftp.isc.org. Features have been added and other changes
Feb 5 01:24:14 asd dhcpd: have been made to the base software release in order to make
Feb 5 01:24:14 asd dhcpd: it work better with this distribution.
Feb 5 01:24:14 asd dhcpd:
Feb 5 01:24:14 asd dhcpd: Please report for this software via the Red Hat Bugzilla site:
Feb 5 01:24:14 asd dhcpd:
http://bugzilla.redhat.com
Feb 5 01:24:14 asd dhcpd:
Feb 5 01:24:14 asd dhcpd: exiting.
if i comment firts 3 lines, than semicolon expected." errors will point again from next uncomented line.
is it a bug or i`m doing something wrong