3

DHCP won't start - expecting a parameter or declaration

view full story
linux-howto

http://forums.fedoraforum.org – So I'm trying to get DHCP set up and started, and it's hanging on one line, the very last line. Fedora 11 DHCP ver 4.1.0p1 Here's my config from /etc/dhcp/dhcp.conf: ddns-update-style interim ignore client-updates subnet 172.31.0.0 netmask 255.255.240.0 { range 172.31.15.100 172.31.15.250; option domain-name-servers 172.31.1.17, 172.22.0.41; option domain-name "mppd.org"; option routers 172.31.0.1; option broadcast-address 172.31.15.255; default-lease-time 600; max-lease-time 7200; } And here's what I'm getting when I try to invoke it: [root@fedora ~]# /usr/sbin/dhcpd Internet Systems Consortium DHCP Server 4.1.0p1 Copyright 2004-2009 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ /etc/dhcp/dhcpd.conf line 7: semicolon expected. ignore ^ /etc/dhcp/dhcpd.conf line 17: expecting a parameter or declaration } ^ Configuration file errors encountered -- exiting This version of ISC DHCP is based on the release available on ftp.isc.org. Features have been added and other changes have been made to the base software release in order to make it work better with this distribution. Please report for this software via the Red Hat Bugzilla site: http://bugzilla.redhat.com exiting. [root@fedora ~]# Sooooo.... Line 17 is the final bracket. What am I not doing right? Help, anyone?? -Timm (HowTos)