DHCP Problem


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers DHCP Problem
# 1  
Old 03-19-2008
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 : (
# 2  
Old 03-20-2008
Quote:
Originally Posted by jess_t03
[cut]
/etc/dhcpd.conf:
Code:
# [cut]
range dynamic-bootp 10.0.0.5 10.0.0.253
#                             ^^^^^^^^^^^^^^
host president {
# [cut]

Code:
Mar 19 11:23:25 rhce dhcpd: /etc/dhcpd.conf line 14: semicolon expected.

Help me please solve this problem : (
You have to type semicolon ";" at the end of following line
Code:
range dynamic-bootp 10.0.0.5 10.0.0.253

 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

Get DHCP relay interfaces IP address using DHCP

Hi All , please view the set up below: ------------------------------------------------------------------- | DHCP Server |-----------| ROUTER & |-----------| Clients | | 192.168.99.1 | - -<eth1>| DHCP-RELAY|<eth2>-- | 192.168.88.X | ... (2 Replies)
Discussion started by: gdangoor
2 Replies

2. IP Networking

Can't get DHCP IP

Dear Experts, I have a TI DM8148 EVM board REV C, the EZSDK5.05 SW package, and DVRRDK1.09 SW package. EZSDK5.05, DVRRDK1.09 both use Linux2.6.37, however, there are some modifications between these two kernels. When I use uImage of DVRRDK1.09 to boot up EVM board, this board can be given a... (0 Replies)
Discussion started by: oobin168
0 Replies

3. Red Hat

DHCP lease problem

Hi frnds I am testing DHCP server on vmware.I have two REDHAT 9 vmware machine.DHCP is installed on one machine and second machine is using as a client .I have configured DHCP with Ip Address ,Mask and Gateway.But client machine is not getting ip address.When i type ifconfig command on client it... (6 Replies)
Discussion started by: Vaibhav.T
6 Replies

4. IP Networking

Problem with script execution from a DHCP event

Hi, I'm installing a DHCPD Server with the packages from a distro SLES11 SP1 (dhcp-server-3.1.1-7.12). And a DNS Server with PowerDNS: pdns-recursor-3.3-1 pdns-static-3.0-1 The DHCP update de DNS Server, but PowerDNS is not RFC 2135 compliant, and I have to update the MySQL register... (5 Replies)
Discussion started by: bypper
5 Replies

5. UNIX for Dummies Questions & Answers

Help on DHCP

Hi All, I am trying to configure dhcp server on a linux host with eth0:1 which is using 192.168.1.10 I also want to restrict my DHCP client to just one Host adcnew222. DHCP Server Host name - adcnew111 DHCP client name - adcnew222 My conf file is as follows on dhcp server : ... (2 Replies)
Discussion started by: sriram003
2 Replies

6. UNIX for Dummies Questions & Answers

DHCP problem and eth1 problem

At work I am trying to get this one Linux machine (let's call it ctesgm07) to behave like another Linux machine that we have (let's call it test007). test007 returns the following version info: cat /etc/debian_version: lenny/sid uname -a: Linux test007 2.6.27-7-generic #1 SMP Tue Nov 4... (0 Replies)
Discussion started by: sllinux
0 Replies

7. Red Hat

RHEL5 Kickstart NFS & DHCP Problem

I just finished setting up a Kickstart Server for our RHEL 5 installs. It's configured to use the PXE boot and NFS for the installation. Everything works fine when I just build one machine at a time. The installation works from begining to end. But when I try the install three machines at... (5 Replies)
Discussion started by: apfistler
5 Replies

8. IP Networking

Solaris Virtual Interface Problem in DHCP

Hi all, I am experiencing a problem with dhcp broadcast packages. these broadcast packages are seen on bge1 and bge1:1 interfaces but somehow they are not seen at bge771001 interface which is second virtual interface on the bge1 interface. I have a server on which I configured it as working... (2 Replies)
Discussion started by: ironoxide
2 Replies

9. UNIX for Dummies Questions & Answers

DHCP Problem

I just installed Mandrake (Caldera) Verion 7.0 on my PC. The problem is I can not grab the and IP from my Router (running DHCP Server). I went to the root# and type linuxconf and it pops up for me the GUI, I have select "Enable" and "DHCP" but when I in Root#, type "ifconfig" it shows me the IP... (5 Replies)
Discussion started by: tony3101
5 Replies

10. IP Networking

Dhcp

Hello all, I have this Intel Pentium 233/128 running Solaris 8. I also have a dhcp/router/dns running SuSElinux 7.2.(Sorry if it is out of topic here) My problem is that the Solaris box when it tries to configure the interface (elxl0) via dhcp it fails. It appears, according to the... (1 Reply)
Discussion started by: jdevarie
1 Replies
Login or Register to Ask a Question