Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-16-2004, 05:56 PM   #1
LQ Newbie
Registered: May 2004
Distribution: Redhat 9.0
Posts: 11

Rep: Reputation: 0
Dhcp Issue

Hi :
i'm new REDHAT 9.0 user . i'm interested in linux networking . i worked on DNS and SAMBA and NFS servers . but i still don't know how to deal with the DHCP . i read the REDHAT manuals : it said that to configuer the DHCP service you should edit /etc/dhcp.conf . but i couldn't find the file in that location . i addition , there is nothing refering to DHCP service the services manager .... please help me guys and i will really appriciate it .

Old 07-16-2004, 06:38 PM   #2
The Bad Penny
Registered: Jul 2003
Location: Glasgow, Scotland
Distribution: Slackware 10
Posts: 78

Rep: Reputation: 15
Is it to request an IP number from a dhcp source?
cos I have to use the command dhcpcd ethx to get one, Others I have noticed have to use dhclient to do so.

Idont suppose you have tried the whereis command as root to locate it?

Sorry if im not helping as Im fairly new to Linux networking myself and thought I would try to help as best I could.


Old 07-16-2004, 06:53 PM   #3
LQ Newbie
Registered: May 2004
Distribution: Redhat 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
i will try

thanks a lot . yes it's for issuing IPs on the network . i will try what you told me about . i installed a package DCHP SERVER from redhat network but i still can't find the file., the most important issue that this should be managed as a service . since the DHCP not listed in the service manager consol , i don't that the service installed at all . thanks a lot again and i will try to find the file by your command ....

Old 07-16-2004, 10:59 PM   #4
Registered: Jul 2004
Location: Rio de Janeiro - Brazil
Distribution: Conectiva 10 - Conectiva 8 - Slackware 9 - starting with LFS
Posts: 519

Rep: Reputation: 34
Here is an example of "/etc/dhcpd.conf"
# dhcpd.conf
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')

ddns-update-style               none;
default-lease-time              21600;
max-lease-time                  21600;

server-name                     "your-server";
option subnet-mask    ;
option domain-name              "your-domain";

shared-network WORKSTATIONS {
        subnet netmask {
        option broadcast-address;
        option routers        ;
        option domain-name-servers;
        pool {
In this example, our net is "", mask is "", the server has address "" and it is the gateway and also the local dns server. It is leasing addresses in the range of to
All you have to edit is your server name and your domain. This dhcpd.conf is working on my gateway machine.

I hope this helps. May be, you have to replace all the occurrences of "10.0.0" with "192.168.0" which is the preferred default configuration for many distros.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcp server issue dshafi Linux - Networking 2 09-02-2005 11:37 PM
DHCP Handout Issue KevinGuy Linux - Networking 1 06-17-2005 03:17 PM
DHCP Renew Issue Mandrake 10 moismoje Linux - Wireless Networking 2 08-29-2004 11:51 PM
Strange Wireless DHCP issue Fozzle Linux - Wireless Networking 3 08-10-2004 12:14 PM
DHCP Spoofing ... Linux issue painkiller Linux - Networking 2 02-23-2004 03:28 PM

All times are GMT -5. The time now is 10:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration