G'day all,
                I'm just starting to get to know dhcp and have got stuck very 
early on
with the dhcp parser rejecting dhcpd.conf as shown below:

Feb 17 16:46:36 dell dhcpd: /etc/dhcpd.conf line 4: expecting a
parameter or declaration
Feb 17 16:46:36 dell dhcpd: default-lease-time 600;
Feb 17 16:46:36 dell dhcpd:                        ^

The dhcpd.conf file is very basic to begin with:

[r...@dell network-scripts]# cat /etc/dhcpd.conf
#Sample /etc/dhcpd.conf
# (add your comments here)
ddns-update-style none;
default-lease-time 600;
max−lease−time 7200;
#option subnet−mask 255.255.255.0;
#option broadcast−address 192.168.1.255;
option routers 192.168.1.254;
#option domain−name−servers 192.168.1.1, 192.168.1.2;
#option domain−name "mydomain.org";
authoritative;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.199;
}
[r...@dell network-scripts]#

        All the examples I can find have a similar line for default lease time
(line 4 here), but the parser seems to want more.  There is nothing
after the ";" so what do I need?
 
-- 
Regards,
Simon Slater
Registered Linux User #463789. Be counted at: http://counter.li.org/

-- 
fedora-list mailing list
[email protected]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to