LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to make DHCP server in Redhat 7----------- (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-make-dhcp-server-in-redhat-7-a-329423/)

pal 06-01-2005 11:49 PM

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.

DavidPhillips 06-02-2005 10:50 AM

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



pal 06-03-2005 02:10 AM

thanks for help sir,
My problem got solved with your suggestions

thanks

DavidPhillips 06-03-2005 10:33 PM

cool


All times are GMT -5. The time now is 05:33 PM.