The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: DHCP Problem
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 03-19-2008
jess_t03 jess_t03 is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 59
DHCP Problem

OS RHEL 5.1
After edit config file, daemon dhcpd does not run ((

/etc/dhcpd.conf:
Code:
ddns-update-style none;
option domain-name "whitehouse.gov";
option domain-name-servers 10.0.0.1;
option ntp-servers 10.0.0.2;
default-lease-time 21600;
max-lease-time 43200;
subnet 10.0.0.0 netmask 255.255.252.0

{
option routers 10.0.0.254;
option subnet-mask 255.255.252.0;
range dynamic-bootp 10.0.0.5 10.0.0.253

host president {
hardware ethernet 00:02:B3:D8:24:47;
fixed-address 10.0.0.99;
}
}
Code:
# touch /var/lib/dhcpd/dhcpd.leases
# /etc/init.d/dhcpd start
Starting dhcpd:                            [FAILED]
# tail -n 26 /var/log/messages
Mar 19 11:23:25 rhce dhcpd: Internet Systems Consortium DHCP Server V3.0.5-RedHat
Mar 19 11:23:25 rhce dhcpd: Copyright 2004-2006 Internet Systems Consortium.
Mar 19 11:23:25 rhce dhcpd: All rights reserved.
Mar 19 11:23:25 rhce dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Mar 19 11:23:25 rhce dhcpd: /etc/dhcpd.conf line 14: semicolon expected.
Mar 19 11:23:25 rhce dhcpd: host
Mar 19 11:23:25 rhce dhcpd: ^
Mar 19 11:23:25 rhce dhcpd: Configuration file errors encountered -- exiting
...
...
Mar 19 11:23:26 rhce dhcpd: exiting.
Mar 19 11:23:26 rhce dhcpd: dhcpd startup failed
Help me please solve this problem : (