LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-02-2005, 12:49 AM   #1
pal
Member
 
Registered: Dec 2004
Location: india
Posts: 60

Rep: Reputation: 15
How to make DHCP server in Redhat 7-----------


hello sir,
We are trying to make DHCP server on Redhat 7 machine.
In Redhat 9 ,I dont have any problem as it is easy to make from /etc/dhcpd.conf using the sample file.
But in Redhat 7, I could not find the dhcpd file in the same format as in Redhat 9,
even it is not in the same format in /usr/share/doc/dhcpd---/dhcpd---.sample.

The DHCP package is installed. Also in Redhat 7 the command-- service dhcpd restart-- is not working.
 
Old 06-02-2005, 11:50 AM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
First thing to do is to upgrade the dhcpd package as the default one is outdated. The old one works if you just want to use it go ahead. Then just use the same format of file as you have done before, or the format in the documentation. There are several options there and they may not be needed for your server.

When you start the server you can check your log file and see if there is an error.
If you have an error and need help post the dhcpd.conf file, error messages, discription of your network, output of ifconfig, and output of rpm -q dhcpd.


You will probably need to create the dhcpd.leases file, I don't think it is in the rpm. This is the main problem I have seen. Your log file will indicate this problem.


service dhcpd restart; tail -f /var/log/messages



Last edited by DavidPhillips; 06-02-2005 at 11:55 AM.
 
Old 06-03-2005, 03:10 AM   #3
pal
Member
 
Registered: Dec 2004
Location: india
Posts: 60

Original Poster
Rep: Reputation: 15
thanks for help sir,
My problem got solved with your suggestions

thanks
 
Old 06-03-2005, 11:33 PM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
cool
 
  


Reply


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
Redhat 9, VMware and DHCP Server triplem Linux - Networking 26 07-28-2005 11:14 AM
How do I setup a DHCP server on RedHat 9 xsabre Linux - Newbie 1 06-23-2004 05:48 PM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 12:24 PM
Redhat Linux server not getting ip comcast dhcp server munisp Linux - Networking 1 03-24-2003 01:26 PM
How do you make the ip masquerade server/dhcp server broadcast dns to lan cmisip Linux - Networking 6 01-25-2003 11:43 PM


All times are GMT -5. The time now is 05:16 AM.

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